wireguard.lists.zx2c4.com archive mirror
 help / color / mirror / Atom feed
* src/crypto/curve25519-x86_64.h:1319: Error: no such instruction while compiling in centos 6
@ 2018-06-25  2:53 karthik kumar
  2018-06-26  0:28 ` Jason A. Donenfeld
  0 siblings, 1 reply; 9+ messages in thread
From: karthik kumar @ 2018-06-25  2:53 UTC (permalink / raw)
  To: wireguard

[-- Attachment #1: Type: text/plain, Size: 2165 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 3284 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-09-01 23:24 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-25  2:53 src/crypto/curve25519-x86_64.h:1319: Error: no such instruction while compiling in centos 6 karthik kumar
2018-06-26  0:28 ` Jason A. Donenfeld
2018-06-26  2:57   ` karthik kumar
2018-06-26  3:32     ` Jason A. Donenfeld
2018-06-26  6:10     ` Lucian Cristian
2018-06-26 13:32       ` Sebastian Gottschall
2018-07-03  8:59       ` Vbook A1
2018-07-03  9:04         ` Lucian Cristian
2018-09-01 23:38     ` Mike Russo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).