Development discussion of WireGuard
 help / color / mirror / Atom feed
* 0.0.20171122 build error on weird chromebook kernel
@ 2017-11-22 23:23 Jaron Kent-Dobias
  2017-11-22 23:24 ` Jason A. Donenfeld
  0 siblings, 1 reply; 2+ messages in thread
From: Jaron Kent-Dobias @ 2017-11-22 23:23 UTC (permalink / raw)
  To: wireguard


[-- Attachment #1.1: Type: text/plain, Size: 314 bytes --]


Hey Jason,

The new snapshot has a build error for me on my weird chromeos kernel [1]
(with some archlinux patches and built with -fno-pic added to the
Kbuild CFLAGs for wireguard). The dkms make.log is below...

Thanks,
Jaron

[1] https://chromium.googlesource.com/chromiumos/third_party/kernel/+/chromeos-3.14


[-- Attachment #1.2: make.log --]
[-- Type: text/plain, Size: 1500 bytes --]

DKMS make.log for wireguard-0.0.20171122 for kernel 3.14.0-26-ARCH (armv7l)
Wed Nov 22 18:13:02 EST 2017
make: Entering directory '/usr/lib/modules/3.14.0-26-ARCH/build'
  LD      /var/lib/dkms/wireguard/0.0.20171122/build/built-in.o
  CC [M]  /var/lib/dkms/wireguard/0.0.20171122/build/main.o
  CC [M]  /var/lib/dkms/wireguard/0.0.20171122/build/noise.o
  CC [M]  /var/lib/dkms/wireguard/0.0.20171122/build/device.o
  CC [M]  /var/lib/dkms/wireguard/0.0.20171122/build/peer.o
/var/lib/dkms/wireguard/0.0.20171122/build/noise.c: In function ‘tai64n_now’:
/var/lib/dkms/wireguard/0.0.20171122/build/noise.c:352:20: error: storage size of ‘now’ isn’t known
  struct timespec64 now;
                    ^~~
/var/lib/dkms/wireguard/0.0.20171122/build/noise.c:354:2: error: implicit declaration of function ‘getnstimeofday64’; did you mean ‘getnstimeofday’? [-Werror=implicit-function-declaration]
  getnstimeofday64(&now);
  ^~~~~~~~~~~~~~~~
  getnstimeofday
/var/lib/dkms/wireguard/0.0.20171122/build/noise.c:352:20: warning: unused variable ‘now’ [-Wunused-variable]
  struct timespec64 now;
                    ^~~
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:308: /var/lib/dkms/wireguard/0.0.20171122/build/noise.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:1298: _module_/var/lib/dkms/wireguard/0.0.20171122/build] Error 2
make: Leaving directory '/usr/lib/modules/3.14.0-26-ARCH/build'

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

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

* Re: 0.0.20171122 build error on weird chromebook kernel
  2017-11-22 23:23 0.0.20171122 build error on weird chromebook kernel Jaron Kent-Dobias
@ 2017-11-22 23:24 ` Jason A. Donenfeld
  0 siblings, 0 replies; 2+ messages in thread
From: Jason A. Donenfeld @ 2017-11-22 23:24 UTC (permalink / raw)
  To: Jaron Kent-Dobias; +Cc: WireGuard mailing list

Hi Jaron,

Sorry about that. I fixed this bug about two hours after releasing
0.0.20171122. The fix will be part of the next snapshot. For now, you
can cherry pick this commit:

https://git.zx2c4.com/WireGuard/patch/?id=bca546c22a083b50aa24bfa3a78ac17e88d9292a

Jason

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

end of thread, other threads:[~2017-11-22 23:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-22 23:23 0.0.20171122 build error on weird chromebook kernel Jaron Kent-Dobias
2017-11-22 23:24 ` Jason A. Donenfeld

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).