src/crypto/curve25519-x86_64.h:1319: Error: no such instruction while compiling in centos 6
karthik kumar
kumarkarthikn at gmail.com
Mon Jun 25 04:53:18 CEST 2018
Hi,
I get the following "no such instruction" error while compiling Wireguard
*# make*
* CC [M] /root/WireGuard-0.0.20180620/src/main.o*
* CC [M] /root/WireGuard-0.0.20180620/src/noise.o*
* CC [M] /root/WireGuard-0.0.20180620/src/device.o*
* CC [M] /root/WireGuard-0.0.20180620/src/peer.o*
* CC [M] /root/WireGuard-0.0.20180620/src/timers.o*
* CC [M] /root/WireGuard-0.0.20180620/src/queueing.o*
* CC [M] /root/WireGuard-0.0.20180620/src/send.o*
* CC [M] /root/WireGuard-0.0.20180620/src/receive.o*
* CC [M] /root/WireGuard-0.0.20180620/src/socket.o*
* CC [M] /root/WireGuard-0.0.20180620/src/hashtables.o*
* CC [M] /root/WireGuard-0.0.20180620/src/allowedips.o*
* CC [M] /root/WireGuard-0.0.20180620/src/ratelimiter.o*
* CC [M] /root/WireGuard-0.0.20180620/src/cookie.o*
* CC [M] /root/WireGuard-0.0.20180620/src/netlink.o*
* CC [M] /root/WireGuard-0.0.20180620/src/crypto/chacha20.o*
* CC [M] /root/WireGuard-0.0.20180620/src/crypto/poly1305.o*
* CC [M] /root/WireGuard-0.0.20180620/src/crypto/chacha20poly1305.o*
* CC [M] /root/WireGuard-0.0.20180620/src/crypto/curve25519.o*
*/root/WireGuard-0.0.20180620/src/crypto/curve25519-x86_64.h: Assembler
messages:*
*/root/WireGuard-0.0.20180620/src/crypto/curve25519-x86_64.h:350: Error: no
such instruction: `mulx (%r15),%r8,%r12'*
*/root/WireGuard-0.0.20180620/src/crypto/curve25519-x86_64.h:350: Error: no
such instruction: `mulx 8(%r15),%r10,%rax'*
*/root/WireGuard-0.0.20180620/src/crypto/curve25519-x86_64.h:350: Error: no
such instruction: `adox %r10,%r12'*
*/root/WireGuard-0.0.20180620/src/crypto/curve25519-x86_64.h:350: Error: no
such instruction: `mulx 16(%r15),%r8,%rbx'*
*/root/WireGuard-0.0.20180620/src/crypto/curve25519-x86_64.h:350: Error: no
such instruction: `adox %r8,%rax'*
*.... <lots of such no such instruction errors>*
I am on centos 6, and my kernel version is 4.9.34.I just compiled and
installed *gcc version 8.1.0 (GCC) *to build wireguard but my kernel was
originally built with gcc-4.4.7. Will that be a problem ?
Is there a way to exclude Elliptic Curve 25519 or any of the Elliptic Curve
while making ? Any other suggestions please ?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/wireguard/attachments/20180625/cfbae0a1/attachment-0001.html>
More information about the WireGuard
mailing list