xtaci / kcp-go

A Crypto-Secure Reliable-UDP Library for golang with FEC
MIT License
4.12k stars 737 forks source link

可以提供一个,支持go1.9+的版本吗 #177

Closed fwhezfwhez closed 4 years ago

fwhezfwhez commented 4 years ago

最新版里,import了github.com/klauspost/reedsolomon

这个作者说,不再支持go1.11以下了,导致我有一个框架,因为集成了这里的kcp,也不能支持go1.11以下了。

所以,方便打一个支持1.9+的kcp版本吗,或者是 github.com/klauspost/reedsolomon 这个包能不能找一个替换的。

我的框架是: github.com/fwhezfwhez/tcpx ,集成了kcp,在开了module以后,会通过你的包,间接使用reedsolomon.

travis-ci

# github.com/klauspost/reedsolomon
../../klauspost/reedsolomon/galoisAvx512_amd64.s:35: unrecognized instruction "VMOVDQU64"
../../klauspost/reedsolomon/galoisAvx512_amd64.s:36: unrecognized instruction "VMOVDQU64"
../../klauspost/reedsolomon/galoisAvx512_amd64.s:37: unrecognized instruction "VMOVDQU64"
../../klauspost/reedsolomon/galoisAvx512_amd64.s:38: unrecognized instruction "VMOVDQU64"
../../klauspost/reedsolomon/galoisAvx512_amd64.s:41: unrecognized instruction "VSHUFI64X2"
../../klauspost/reedsolomon/galoisAvx512_amd64.s:42: unrecognized instruction "VSHUFI64X2"
../../klauspost/reedsolomon/galoisAvx512_amd64.s:43: unrecognized instruction "VSHUFI64X2"
../../klauspost/reedsolomon/galoisAvx512_amd64.s:44: unrecognized instruction "VSHUFI64X2"
../../klauspost/reedsolomon/galoisAvx512_amd64.s:46: unrecognized instruction "VSHUFI64X2"
../../klauspost/reedsolomon/galoisAvx512_amd64.s:47: unrecognized instruction "VSHUFI64X2"
../../klauspost/reedsolomon/galoisAvx512_amd64.s:48: unrecognized instruction "VSHUFI64X2"
xtaci commented 4 years ago

这个没办法,我也用到了1.9+的特性,而且也不敢保证未来不加入新的特性

fwhezfwhez commented 4 years ago

好吧