WireGuard Archive on lore.kernel.org
 help / color / 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 --]

<div dir="ltr">Hi, <div>   I get the following &quot;no such instruction&quot; error while compiling Wireguard</div><div><br></div><div><div><i># make</i></div><div><i>  CC [M]  /root/WireGuard-0.0.20180620/src/main.o</i></div><div><i>  CC [M]  /root/WireGuard-0.0.20180620/src/noise.o</i></div><div><i>  CC [M]  /root/WireGuard-0.0.20180620/src/device.o</i></div><div><i>  CC [M]  /root/WireGuard-0.0.20180620/src/peer.o</i></div><div><i>  CC [M]  /root/WireGuard-0.0.20180620/src/timers.o</i></div><div><i>  CC [M]  /root/WireGuard-0.0.20180620/src/queueing.o</i></div><div><i>  CC [M]  /root/WireGuard-0.0.20180620/src/send.o</i></div><div><i>  CC [M]  /root/WireGuard-0.0.20180620/src/receive.o</i></div><div><i>  CC [M]  /root/WireGuard-0.0.20180620/src/socket.o</i></div><div><i>  CC [M]  /root/WireGuard-0.0.20180620/src/hashtables.o</i></div><div><i>  CC [M]  /root/WireGuard-0.0.20180620/src/allowedips.o</i></div><div><i>  CC [M]  /root/WireGuard-0.0.20180620/src/ratelimiter.o</i></div><div><i>  CC [M]  /root/WireGuard-0.0.20180620/src/cookie.o</i></div><div><i>  CC [M]  /root/WireGuard-0.0.20180620/src/netlink.o</i></div><div><i>  CC [M]  /root/WireGuard-0.0.20180620/src/crypto/chacha20.o</i></div><div><i>  CC [M]  /root/WireGuard-0.0.20180620/src/crypto/poly1305.o</i></div><div><i>  CC [M]  /root/WireGuard-0.0.20180620/src/crypto/chacha20poly1305.o</i></div><div><i>  CC [M]  /root/WireGuard-0.0.20180620/src/crypto/curve25519.o</i></div><div><i>/root/WireGuard-0.0.20180620/src/crypto/curve25519-x86_64.h: Assembler messages:</i></div><div><i>/root/WireGuard-0.0.20180620/src/crypto/curve25519-x86_64.h:350: Error: no such instruction: `mulx (%r15),%r8,%r12&#39;</i></div><div><i>/root/WireGuard-0.0.20180620/src/crypto/curve25519-x86_64.h:350: Error: no such instruction: `mulx 8(%r15),%r10,%rax&#39;</i></div><div><i>/root/WireGuard-0.0.20180620/src/crypto/curve25519-x86_64.h:350: Error: no such instruction: `adox %r10,%r12&#39;</i></div><div><i>/root/WireGuard-0.0.20180620/src/crypto/curve25519-x86_64.h:350: Error: no such instruction: `mulx 16(%r15),%r8,%rbx&#39;</i></div><div><i>/root/WireGuard-0.0.20180620/src/crypto/curve25519-x86_64.h:350: Error: no such instruction: `adox %r8,%rax&#39;</i></div></div><div><i>.... &lt;lots of such no such instruction errors&gt;</i></div><div><i><br></i></div><div>I am on centos 6, and my kernel version is 4.9.34.I just compiled and installed <i>gcc version 8.1.0 (GCC) </i>to build wireguard<i> </i>but my kernel was originally built with gcc-4.4.7. Will that be a problem ?  </div><div>Is there a way to exclude <span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">Elliptic Curve 25519 or any of the Elliptic Curve while making ? Any other suggestions please ?</span></div><div><span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><br></span></div><div><span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><br></span></div><div><span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">Thanks</span></div><div><i><br></i></div><div><br></div></div>

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

* Re: src/crypto/curve25519-x86_64.h:1319: Error: no such instruction while compiling in centos 6
  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
  0 siblings, 1 reply; 9+ messages in thread
From: Jason A. Donenfeld @ 2018-06-26  0:28 UTC (permalink / raw)
  To: kumarkarthikn; +Cc: WireGuard mailing list

Hello,

Please use CentOS 7.

Jason

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

* Re: src/crypto/curve25519-x86_64.h:1319: Error: no such instruction while compiling in centos 6
  2018-06-26  0:28 ` Jason A. Donenfeld
@ 2018-06-26  2:57   ` karthik kumar
  2018-06-26  3:32     ` Jason A. Donenfeld
                       ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: karthik kumar @ 2018-06-26  2:57 UTC (permalink / raw)
  To: Jason; +Cc: wireguard

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

Hi,
  I did see the yum repo already being there RPMs available. But we use
only centos 6 and are desperately looking for alternate of strongswan :(
Is there any other suggestion for me, other than Centos 7 ? Is it worth
trying to rebuild the kernel with 8.1 gcc ? Is there an option like
*--without-elliptic-curve* that I can use ?

Thanks

On Tue, Jun 26, 2018 at 5:58 AM Jason A. Donenfeld <Jason@zx2c4.com> wrote:

> Hello,
>
> Please use CentOS 7.
>
> Jason
>

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

<div dir="ltr">Hi, <div>  I did see the yum repo already being there RPMs available. But we use only centos 6 and are desperately looking for alternate of strongswan :(</div><div>Is there any other suggestion for me, other than Centos 7 ? Is it worth trying to rebuild the kernel with 8.1 gcc ? Is there an option like <i>--without-elliptic-curve</i> that I can use ?<br><div><div><br></div><div>Thanks</div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Jun 26, 2018 at 5:58 AM Jason A. Donenfeld &lt;<a href="mailto:Jason@zx2c4.com" target="_blank">Jason@zx2c4.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
Please use CentOS 7.<br>
<br>
Jason<br>
</blockquote></div>

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

* Re: src/crypto/curve25519-x86_64.h:1319: Error: no such instruction while compiling in centos 6
  2018-06-26  2:57   ` karthik kumar
@ 2018-06-26  3:32     ` Jason A. Donenfeld
  2018-06-26  6:10     ` Lucian Cristian
  2018-09-01 23:38     ` Mike Russo
  2 siblings, 0 replies; 9+ messages in thread
From: Jason A. Donenfeld @ 2018-06-26  3:32 UTC (permalink / raw)
  To: kumarkarthikn; +Cc: WireGuard mailing list

It's probably possible to get this working with CentOS 6. But I'm not
going to spend time on it, and I'd encourage you to switch to a newer
version that sees more security attention.

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

* Re: src/crypto/curve25519-x86_64.h:1319: Error: no such instruction while compiling in centos 6
  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-09-01 23:38     ` Mike Russo
  2 siblings, 2 replies; 9+ messages in thread
From: Lucian Cristian @ 2018-06-26  6:10 UTC (permalink / raw)
  To: wireguard

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

On 26.06.2018 05:57, karthik kumar wrote:
> Hi,
>   I did see the yum repo already being there RPMs available. But we 
> use only centos 6 and are desperately looking for alternate of 
> strongswan :(
> Is there any other suggestion for me, other than Centos 7 ? Is it 
> worth trying to rebuild the kernel with 8.1 gcc ? Is there an option 
> like /--without-elliptic-curve/ that I can use ?
>
> Thanks
>
> On Tue, Jun 26, 2018 at 5:58 AM Jason A. Donenfeld <Jason@zx2c4.com 
> <mailto:Jason@zx2c4.com>> wrote:
>
>     Hello,
>
>     Please use CentOS 7.
>
>     Jason
>
>
>
> _______________________________________________
> WireGuard mailing list
> WireGuard@lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/wireguard

search the mailing list, I proposed a patch for centos 6, see if it's 
working, but you have to use elrepo kernels 
http://elrepo.org/linux/kernel/el6/x86_64/RPMS/


Regards


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

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 26.06.2018 05:57, karthik kumar
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAK+ZqRqA4BkCLmxnuNfRtNByXaDYv1MpZB44PZrCM_Mx_ncNRw@mail.gmail.com">
      <div dir="ltr">Hi, 
        <div>  I did see the yum repo already being there RPMs
          available. But we use only centos 6 and are desperately
          looking for alternate of strongswan :(</div>
        <div>Is there any other suggestion for me, other than Centos 7 ?
          Is it worth trying to rebuild the kernel with 8.1 gcc ? Is
          there an option like <i>--without-elliptic-curve</i> that I
          can use ?<br>
          <div>
            <div><br>
            </div>
            <div>Thanks</div>
          </div>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr">On Tue, Jun 26, 2018 at 5:58 AM Jason A.
          Donenfeld &lt;<a href="mailto:Jason@zx2c4.com" target="_blank"
            moz-do-not-send="true">Jason@zx2c4.com</a>&gt; wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
          <br>
          Please use CentOS 7.<br>
          <br>
          Jason<br>
        </blockquote>
      </div>
      <!--'"--><br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
WireGuard mailing list
<a class="moz-txt-link-abbreviated" href="mailto:WireGuard@lists.zx2c4.com">WireGuard@lists.zx2c4.com</a>
<a class="moz-txt-link-freetext" href="https://lists.zx2c4.com/mailman/listinfo/wireguard">https://lists.zx2c4.com/mailman/listinfo/wireguard</a>
</pre>
    </blockquote>
    <p>search the mailing list, I proposed a patch for centos 6, see if
      it's working, but you have to use elrepo kernels
      <a class="moz-txt-link-freetext" href="http://elrepo.org/linux/kernel/el6/x86_64/RPMS/">http://elrepo.org/linux/kernel/el6/x86_64/RPMS/</a></p>
    <p><br>
    </p>
    <p>Regards<br>
    </p>
  </body>
</html>

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

* Re: src/crypto/curve25519-x86_64.h:1319: Error: no such instruction while compiling in centos 6
  2018-06-26  6:10     ` Lucian Cristian
@ 2018-06-26 13:32       ` Sebastian Gottschall
  2018-07-03  8:59       ` Vbook A1
  1 sibling, 0 replies; 9+ messages in thread
From: Sebastian Gottschall @ 2018-06-26 13:32 UTC (permalink / raw)
  To: wireguard

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

try at least gcc 6 minimum. i dont know which kernel is used in centos 
6. lowest kernel version i tested is 3.10


Sebastian


Am 26.06.2018 um 08:10 schrieb Lucian Cristian:
> On 26.06.2018 05:57, karthik kumar wrote:
>> Hi,
>>   I did see the yum repo already being there RPMs available. But we 
>> use only centos 6 and are desperately looking for alternate of 
>> strongswan :(
>> Is there any other suggestion for me, other than Centos 7 ? Is it 
>> worth trying to rebuild the kernel with 8.1 gcc ? Is there an option 
>> like /--without-elliptic-curve/ that I can use ?
>>
>> Thanks
>>
>> On Tue, Jun 26, 2018 at 5:58 AM Jason A. Donenfeld <Jason@zx2c4.com 
>> <mailto:Jason@zx2c4.com>> wrote:
>>
>>     Hello,
>>
>>     Please use CentOS 7.
>>
>>     Jason
>>
>>
>>
>> _______________________________________________
>> WireGuard mailing list
>> WireGuard@lists.zx2c4.com
>> https://lists.zx2c4.com/mailman/listinfo/wireguard
>
> search the mailing list, I proposed a patch for centos 6, see if it's 
> working, but you have to use elrepo kernels 
> http://elrepo.org/linux/kernel/el6/x86_64/RPMS/
>
>
> Regards
>
>
>
> _______________________________________________
> WireGuard mailing list
> WireGuard@lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/wireguard


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

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>try at least gcc 6 minimum. i dont know which kernel is used in
      centos 6. lowest kernel version i tested is 3.10</p>
    <p><br>
    </p>
    <p>Sebastian<br>
    </p>
    <br>
    <div class="moz-cite-prefix">Am 26.06.2018 um 08:10 schrieb Lucian
      Cristian:<br>
    </div>
    <blockquote type="cite"
      cite="mid:98b1fd4b-ebc9-b6b6-41e0-29a12e351335@powerneth.ro">
      <div class="moz-cite-prefix">On 26.06.2018 05:57, karthik kumar
        wrote:<br>
      </div>
      <blockquote type="cite"
cite="mid:CAK+ZqRqA4BkCLmxnuNfRtNByXaDYv1MpZB44PZrCM_Mx_ncNRw@mail.gmail.com">
        <div dir="ltr">Hi, 
          <div>  I did see the yum repo already being there RPMs
            available. But we use only centos 6 and are desperately
            looking for alternate of strongswan :(</div>
          <div>Is there any other suggestion for me, other than Centos 7
            ? Is it worth trying to rebuild the kernel with 8.1 gcc ? Is
            there an option like <i>--without-elliptic-curve</i> that I
            can use ?<br>
            <div>
              <div><br>
              </div>
              <div>Thanks</div>
            </div>
          </div>
        </div>
        <br>
        <div class="gmail_quote">
          <div dir="ltr">On Tue, Jun 26, 2018 at 5:58 AM Jason A.
            Donenfeld &lt;<a href="mailto:Jason@zx2c4.com"
              target="_blank">Jason@zx2c4.com</a>&gt; wrote:<br>
          </div>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
            <br>
            Please use CentOS 7.<br>
            <br>
            Jason<br>
          </blockquote>
        </div>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
WireGuard mailing list
<a class="moz-txt-link-abbreviated" href="mailto:WireGuard@lists.zx2c4.com">WireGuard@lists.zx2c4.com</a>
<a class="moz-txt-link-freetext" href="https://lists.zx2c4.com/mailman/listinfo/wireguard">https://lists.zx2c4.com/mailman/listinfo/wireguard</a>
</pre>
      </blockquote>
      <p>search the mailing list, I proposed a patch for centos 6, see
        if it's working, but you have to use elrepo kernels <a
          class="moz-txt-link-freetext"
          href="http://elrepo.org/linux/kernel/el6/x86_64/RPMS/">http://elrepo.org/linux/kernel/el6/x86_64/RPMS/</a></p>
      <p><br>
      </p>
      <p>Regards<br>
      </p>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
WireGuard mailing list
<a class="moz-txt-link-abbreviated" href="mailto:WireGuard@lists.zx2c4.com">WireGuard@lists.zx2c4.com</a>
<a class="moz-txt-link-freetext" href="https://lists.zx2c4.com/mailman/listinfo/wireguard">https://lists.zx2c4.com/mailman/listinfo/wireguard</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>

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

* Re: src/crypto/curve25519-x86_64.h:1319: Error: no such instruction while compiling in centos 6
  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
  1 sibling, 1 reply; 9+ messages in thread
From: Vbook A1 @ 2018-07-03  8:59 UTC (permalink / raw)
  To: Lucian Cristian; +Cc: wireguard

WARNING: if you want to use ELrepo kernel - make sure your server does
not have the Matrox G200 series video card! CentOS 6.x with kernel 4.x
will not boot on Matrox GPU.

On Tue, Jun 26, 2018 at 1:10 PM, Lucian Cristian <luci@powerneth.ro> wrote:
> On 26.06.2018 05:57, karthik kumar wrote:
>
> Hi,
>   I did see the yum repo already being there RPMs available. But we use only
> centos 6 and are desperately looking for alternate of strongswan :(
> Is there any other suggestion for me, other than Centos 7 ? Is it worth
> trying to rebuild the kernel with 8.1 gcc ? Is there an option like
> --without-elliptic-curve that I can use ?
>
> Thanks
>
> On Tue, Jun 26, 2018 at 5:58 AM Jason A. Donenfeld <Jason@zx2c4.com> wrote:
>>
>> Hello,
>>
>> Please use CentOS 7.
>>
>> Jason
>
>
>
> _______________________________________________
> WireGuard mailing list
> WireGuard@lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/wireguard
>
> search the mailing list, I proposed a patch for centos 6, see if it's
> working, but you have to use elrepo kernels
> http://elrepo.org/linux/kernel/el6/x86_64/RPMS/
>
>
> Regards
>
>
> _______________________________________________
> WireGuard mailing list
> WireGuard@lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/wireguard
>

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

* Re: src/crypto/curve25519-x86_64.h:1319: Error: no such instruction while compiling in centos 6
  2018-07-03  8:59       ` Vbook A1
@ 2018-07-03  9:04         ` Lucian Cristian
  0 siblings, 0 replies; 9+ messages in thread
From: Lucian Cristian @ 2018-07-03  9:04 UTC (permalink / raw)
  Cc: wireguard

On 03.07.2018 11:59, Vbook A1 wrote:
> WARNING: if you want to use ELrepo kernel - make sure your server does
> not have the Matrox G200 series video card! CentOS 6.x with kernel 4.x
> will not boot on Matrox GPU.
>
> On Tue, Jun 26, 2018 at 1:10 PM, Lucian Cristian <luci@powerneth.ro> wrote:
>> On 26.06.2018 05:57, karthik kumar wrote:
>>
>> Hi,
>>    I did see the yum repo already being there RPMs available. But we use only
>> centos 6 and are desperately looking for alternate of strongswan :(
>> Is there any other suggestion for me, other than Centos 7 ? Is it worth
>> trying to rebuild the kernel with 8.1 gcc ? Is there an option like
>> --without-elliptic-curve that I can use ?
>>
>> Thanks
>>
>> On Tue, Jun 26, 2018 at 5:58 AM Jason A. Donenfeld <Jason@zx2c4.com> wrote:
>>> Hello,
>>>
>>> Please use CentOS 7.
>>>
>>> Jason
>>
>>
>> _______________________________________________
>> WireGuard mailing list
>> WireGuard@lists.zx2c4.com
>> https://lists.zx2c4.com/mailman/listinfo/wireguard
>>
>> search the mailing list, I proposed a patch for centos 6, see if it's
>> working, but you have to use elrepo kernels
>> http://elrepo.org/linux/kernel/el6/x86_64/RPMS/
>>
>>
>> Regards
>>
>>
>> _______________________________________________
>> WireGuard mailing list
>> WireGuard@lists.zx2c4.com
>> https://lists.zx2c4.com/mailman/listinfo/wireguard
>>
I don't remember having trouble on a fujitsu rx300 with

10:05.0 VGA compatible controller: Matrox Electronics Systems Ltd. MGA 
G200e [Pilot] ServerEngines (SEP1) (rev 02)

but I've updated since then

Regards

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

* Re: src/crypto/curve25519-x86_64.h:1319: Error: no such instruction while compiling in centos 6
  2018-06-26  2:57   ` karthik kumar
  2018-06-26  3:32     ` Jason A. Donenfeld
  2018-06-26  6:10     ` Lucian Cristian
@ 2018-09-01 23:38     ` Mike Russo
  2 siblings, 0 replies; 9+ messages in thread
From: Mike Russo @ 2018-09-01 23:38 UTC (permalink / raw)
  To: wireguard

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

While I do definitely recommend their suggestion to use CentOS 7 (or take this opportunity to get on a distro like Debian or Ubuntu that supports easily upgrading to a new major version!) I was able to get this working on my CentOS 6 server using the patch from Lucian here:
https://lists.zx2c4.com/pipermail/wireguard/2017-June/001444.html
This patches version 20170613 which is definitely an older version of Wireguard, but the new client works just fine with it. So you'd have to go get the old release here https://github.com/WireGuard/WireGuard/archive/0.0.20170613.tar.gz paste that message into a file called "c6patch" or something, and then do patch -p0 < c6patch above the directory where you extracted the .tar.gz. Then follow the installation instructions and it should build with the version of gcc installed on CentOS-6.
Oh, but first you'd have to install the kernel-lt and kernel-lt-devel packages from ELRepo http://elrepo.org/tiki/kernel-lt. If wireguard is merged into the mainline, perhaps kernel-ml packages from elrepo will contain it.
There are also a couple of modifications to wg-quick (get rid of "local -n", and the check that uses ip for type of device) but after that it worked great, seriously! ☺
Not sure if they will continue support connecting to older servers however.



--

Michael Russo, Systems Engineer PaperSolve, Inc. 268 Watchogue Road Staten Island, NY 10314 Your random quote for today: One man's Mede is another man's Persian. -- George M. Cohan

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

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div>While I do definitely recommend their suggestion to use CentOS 7 (or take this opportunity to get on a distro like Debian or Ubuntu that supports easily upgrading to a new major version!) I
<i>was</i> able to get this working on my CentOS 6 server using the patch from Lucian here:</div>
<div><a href="https://lists.zx2c4.com/pipermail/wireguard/2017-June/001444.html">https://lists.zx2c4.com/pipermail/wireguard/2017-June/001444.html</a></div>
<div>This patches version 20170613 which is definitely an older version of Wireguard,
<i>but</i> the new client works just fine with it. So you'd have to go get the old release here
<a href="https://github.com/WireGuard/WireGuard/archive/0.0.20170613.tar.gz">https://github.com/WireGuard/WireGuard/archive/0.0.20170613.tar.gz</a> paste that message into a file called &quot;c6patch&quot; or something, and then do patch -p0 &lt; c6patch above the directory
 where you extracted the .tar.gz. Then follow the installation instructions and it should build with the version of gcc installed on CentOS-6.
</div>
<div>Oh, but first you'd have to install the kernel-lt and kernel-lt-devel packages from ELRepo
<a href="http://elrepo.org/tiki/kernel-lt">http://elrepo.org/tiki/kernel-lt</a>. If wireguard is merged into the mainline, perhaps kernel-ml packages from elrepo will contain it.</div>
<div>There are also a couple of modifications to wg-quick (get rid of &quot;local -n&quot;, and the check that uses ip for type of device) but after that it worked great, seriously! ☺
</div>
<div>Not sure if they will continue support connecting to older servers however. </div>
<div><br>
</div>
<div><br>
</div>
<div><span>
<pre><pre>-- <br></pre>Michael Russo, Systems Engineer
PaperSolve, Inc.
268 Watchogue Road
Staten Island, NY 10314

Your random quote for today:
One man's Mede is another man's Persian.
		-- George M. Cohan
</pre>
</span></div>
</body>
</html>

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

end of thread, back to index

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

WireGuard Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/wireguard/0 wireguard/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 wireguard wireguard/ https://lore.kernel.org/wireguard \
		wireguard@lists.zx2c4.com zx2c4-wireguard@archiver.kernel.org
	public-inbox-index wireguard


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/com.zx2c4.lists.wireguard


AGPL code for this site: git clone https://public-inbox.org/ public-inbox