Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Jaron Kent-Dobias <jaron-wg@kent-dobias.com>
To: wireguard@lists.zx2c4.com
Subject: 0.0.20171122 build error on weird chromebook kernel
Date: Wed, 22 Nov 2017 18:23:04 -0500	[thread overview]
Message-ID: <20171122232302.GA19498@WOPR.localdomain> (raw)


[-- 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 --]

             reply	other threads:[~2017-11-22 23:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-22 23:23 Jaron Kent-Dobias [this message]
2017-11-22 23:24 ` Jason A. Donenfeld

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=20171122232302.GA19498@WOPR.localdomain \
    --to=jaron-wg@kent-dobias.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).