From: Lucian Cristian <luci@createc.ro>
To: "Jason A. Donenfeld" <Jason@zx2c4.com>
Cc: WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: Re: fix centos 6 compile
Date: Wed, 28 Jun 2017 00:24:54 +0300 [thread overview]
Message-ID: <7fd07a69-8c02-e055-d68c-e1310900bb49@createc.ro> (raw)
In-Reply-To: <CAHmME9pW9Ritr6D1kQRS6F__mXcmko_c5+MkXMrkbuOnUvKR=Q@mail.gmail.com>
On 27.06.2017 23:59, Jason A. Donenfeld wrote:
> Isn't EL6 still on 2.6.32, which is far away from the 3.10 that
> WireGuard requires? In that case you'll be running with a custom
> kernel. Why can't you just update your gcc from the same external
> repo, at the same time?
>
> I just backported to EL7.3 and felt nauseous the whole time. Not sure
> I have the stomach for EL6...
the elrepo kernel for centos 6 is mainline or LT
the kernel is compiled with gcc 4.4.7 and won't run modules compiled
with newer gcc, the patch is only for older gcc support, not for kernel,
I don't think that anyone will complain updating to kernel 4.4+ on el6
the old approach was to compile the module with gcc 4.4.7 commenting the
two lines in socket.c and after that to build the wg tools with gcc 4.8
but with this patch the compile is straightforward
regards
prev parent reply other threads:[~2017-06-27 21:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-19 17:44 Lucian Cristian
2017-06-26 12:43 ` Lucian Cristian
2017-06-27 20:59 ` Jason A. Donenfeld
2017-06-27 21:24 ` Lucian Cristian [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7fd07a69-8c02-e055-d68c-e1310900bb49@createc.ro \
--to=luci@createc.ro \
--cc=Jason@zx2c4.com \
--cc=wireguard@lists.zx2c4.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).