* Wireguard is not building on Fedora with 4.12 rc1 kernels
@ 2017-05-17 14:47 Bruno Wolff III
2017-05-17 14:53 ` Jason A. Donenfeld
0 siblings, 1 reply; 5+ messages in thread
From: Bruno Wolff III @ 2017-05-17 14:47 UTC (permalink / raw)
To: wireguard
It looks like the test for memneq is broken and both the kernel and compat
versions get used at the same time.
[bruno@cerberus src]$ make
make -C /lib/modules/4.12.0-0.rc1.git0.1.fc27.x86_64/build M=/home/bruno/WireGuard/src modules
make[1]: Entering directory '/usr/src/kernels/4.12.0-0.rc1.git0.1.fc27.x86_64'
CC [M] /home/bruno/WireGuard/src/main.o
CC [M] /home/bruno/WireGuard/src/noise.o
In file included from /home/bruno/WireGuard/src/noise.c:15:0:
./include/crypto/algapi.h:389:19: error: redefinition of ‘crypto_memneq’
static inline int crypto_memneq(const void *a, const void *b, size_t size)
^~~~~~~~~~~~~
In file included from <command-line>:0:0:
/home/bruno/WireGuard/src/compat/memneq/include.h:2:19: note: previous definition of ‘crypto_memneq’ was here
static inline int crypto_memneq(const void *a, const void *b, size_t size)
^~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:303: /home/bruno/WireGuard/src/noise.o] Error 1
make[1]: *** [Makefile:1516: _module_/home/bruno/WireGuard/src] Error 2
make[1]: Leaving directory '/usr/src/kernels/4.12.0-0.rc1.git0.1.fc27.x86_64'
make: *** [Makefile:28: module] Error 2
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Wireguard is not building on Fedora with 4.12 rc1 kernels
2017-05-17 14:47 Wireguard is not building on Fedora with 4.12 rc1 kernels Bruno Wolff III
@ 2017-05-17 14:53 ` Jason A. Donenfeld
2017-05-17 15:16 ` Jason A. Donenfeld
0 siblings, 1 reply; 5+ messages in thread
From: Jason A. Donenfeld @ 2017-05-17 14:53 UTC (permalink / raw)
To: Bruno Wolff III; +Cc: WireGuard mailing list
Hey Bruno,
Youch. I'm guessing this is because checking for the existence of a .c
file isn't sufficient, since it might not be supplied. I'll change
things around and you can retest.
Jason
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Wireguard is not building on Fedora with 4.12 rc1 kernels
2017-05-17 14:53 ` Jason A. Donenfeld
@ 2017-05-17 15:16 ` Jason A. Donenfeld
2017-05-17 15:25 ` Bruno Wolff III
0 siblings, 1 reply; 5+ messages in thread
From: Jason A. Donenfeld @ 2017-05-17 15:16 UTC (permalink / raw)
To: Bruno Wolff III; +Cc: WireGuard mailing list
Hi again,
I think I might have fixed this.
git fetch && git reset --hard origin/master
And then see if it builds now?
Alternatively, find me on IRC (I'm zx2c4) and we can talk in real time.
Jason
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Wireguard is not building on Fedora with 4.12 rc1 kernels
2017-05-17 15:16 ` Jason A. Donenfeld
@ 2017-05-17 15:25 ` Bruno Wolff III
2017-05-17 16:37 ` Bruno Wolff III
0 siblings, 1 reply; 5+ messages in thread
From: Bruno Wolff III @ 2017-05-17 15:25 UTC (permalink / raw)
To: Jason A. Donenfeld; +Cc: WireGuard mailing list
On Wed, May 17, 2017 at 17:16:20 +0200,
"Jason A. Donenfeld" <Jason@zx2c4.com> wrote:
>Hi again,
>
>I think I might have fixed this.
>
>git fetch && git reset --hard origin/master
>
>And then see if it builds now?
It builds now. In about 15 minutes I'll have it tested.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Wireguard is not building on Fedora with 4.12 rc1 kernels
2017-05-17 15:25 ` Bruno Wolff III
@ 2017-05-17 16:37 ` Bruno Wolff III
0 siblings, 0 replies; 5+ messages in thread
From: Bruno Wolff III @ 2017-05-17 16:37 UTC (permalink / raw)
To: Jason A. Donenfeld; +Cc: WireGuard mailing list
On Wed, May 17, 2017 at 10:25:46 -0500,
Bruno Wolff III <bruno@wolff.to> wrote:
>On Wed, May 17, 2017 at 17:16:20 +0200,
> "Jason A. Donenfeld" <Jason@zx2c4.com> wrote:
>>Hi again,
>>
>>I think I might have fixed this.
>>
>>git fetch && git reset --hard origin/master
>>
>>And then see if it builds now?
>
>It builds now. In about 15 minutes I'll have it tested.
It took a lot longer than I thought because the remote machine is pretty
slow and I needed to reinstall the kernel-PAE-devel package.
The two machines do not seem to be connecting. The remote machine
is using 4.12.0-0.rc0.git2.1.fc27.i686+PAE. So this could potentially
be a kernel problem. I can reboot the remote machine tonight when I
get home and see if things work when the kernels match.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-05-17 16:30 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-17 14:47 Wireguard is not building on Fedora with 4.12 rc1 kernels Bruno Wolff III
2017-05-17 14:53 ` Jason A. Donenfeld
2017-05-17 15:16 ` Jason A. Donenfeld
2017-05-17 15:25 ` Bruno Wolff III
2017-05-17 16:37 ` Bruno Wolff III
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.