WireGuard Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Jaron Kent-Dobias <jaron-wg@kent-dobias.com>
To: wireguard@lists.zx2c4.com
Subject: Re: errors building 0.0.20170706 and later with Linux 3.14.0
Date: Thu, 27 Jul 2017 15:57:34 -0400	[thread overview]
Message-ID: <20170727195734.GC28775@lore.localdomain> (raw)
In-Reply-To: <CAHmME9oQe1iRQk8rdetXWioMKwUA27W1vNUdq7KTmgzjg5KE4g@mail.gmail.com>


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


Sorry, I was subscribed but with an different email address!

On Thu, Jul 27, 2017 at 08:08:47PM +0200, Jason A. Donenfeld wrote:
> The latest snapshot of WireGuard is 0.0.20170726. Can you tell me if
> that fixes the issue for you? Likely not, but I'd be interested in the
> newer build log.

The newer build log is attached.

> Additionally, could you tell me why you're running 3.14, and what
> package you're using to get that in Arch? Or, even better, a link to
> the kernel sources of that package.

I'm using an ARM machine, running the latest kernel built for the
Archlinux ARM project for my specific chromebook.

The kernel package: https://archlinuxarm.org/packages/armv7h/linux-veyron

Jaron


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

DKMS make.log for wireguard-0.0.20170726 for kernel 3.14.0-26-ARCH (armv7l)
Wed Jul 26 08:59:37 EDT 2017
make: Entering directory '/usr/lib/modules/3.14.0-26-ARCH/build'
  LD      /var/lib/dkms/wireguard/0.0.20170726/build/built-in.o
  CC [M]  /var/lib/dkms/wireguard/0.0.20170726/build/main.o
  CC [M]  /var/lib/dkms/wireguard/0.0.20170726/build/device.o
  CC [M]  /var/lib/dkms/wireguard/0.0.20170726/build/noise.o
  CC [M]  /var/lib/dkms/wireguard/0.0.20170726/build/peer.o
In file included from <command-line>:0:0:
/var/lib/dkms/wireguard/0.0.20170726/build/compat/compat.h:144:0: warning: "netdev_alloc_pcpu_stats" redefined
 #define netdev_alloc_pcpu_stats(type)     \
 
In file included from <command-line>:0:0:
/var/lib/dkms/wireguard/0.0.20170726/build/compat/compat.h:144:0: warning: "netdev_alloc_pcpu_stats" redefined
 #define netdev_alloc_pcpu_stats(type)     \
 
In file included from include/net/ip_tunnels.h:5:0,
                 from /var/lib/dkms/wireguard/0.0.20170726/build/compat/compat.h:71,
                 from <command-line>:0:
include/linux/netdevice.h:1795:0: note: this is the location of the previous definition
 #define netdev_alloc_pcpu_stats(type)    \
 
In file included from include/net/ip_tunnels.h:5:0,
                 from /var/lib/dkms/wireguard/0.0.20170726/build/compat/compat.h:71,
                 from <command-line>:0:
include/linux/netdevice.h:1795:0: note: this is the location of the previous definition
 #define netdev_alloc_pcpu_stats(type)    \
 
In file included from <command-line>:0:0:
/var/lib/dkms/wireguard/0.0.20170726/build/compat/compat.h:307:21: error: redefinition of ‘kvmalloc’
 static inline void *kvmalloc(size_t size, gfp_t flags)
                     ^~~~~~~~
In file included from <command-line>:0:0:
/var/lib/dkms/wireguard/0.0.20170726/build/compat/compat.h:307:21: error: redefinition of ‘kvmalloc’
 static inline void *kvmalloc(size_t size, gfp_t flags)
                     ^~~~~~~~
In file included from include/linux/scatterlist.h:6:0,
                 from include/linux/dmaengine.h:28,
                 from include/linux/skbuff.h:31,
                 from include/linux/ip.h:20,
                 from include/linux/if_tunnel.h:4,
                 from include/net/ip_tunnels.h:4,
                 from /var/lib/dkms/wireguard/0.0.20170726/build/compat/compat.h:71,
                 from <command-line>:0:
include/linux/mm.h:379:21: note: previous definition of ‘kvmalloc’ was here
 static inline void *kvmalloc(size_t size, gfp_t flags)
                     ^~~~~~~~
In file included from include/linux/scatterlist.h:6:0,
                 from include/linux/dmaengine.h:28,
                 from include/linux/skbuff.h:31,
                 from include/linux/ip.h:20,
                 from include/linux/if_tunnel.h:4,
                 from include/net/ip_tunnels.h:4,
                 from /var/lib/dkms/wireguard/0.0.20170726/build/compat/compat.h:71,
                 from <command-line>:0:
include/linux/mm.h:379:21: note: previous definition of ‘kvmalloc’ was here
 static inline void *kvmalloc(size_t size, gfp_t flags)
                     ^~~~~~~~
In file included from <command-line>:0:0:
/var/lib/dkms/wireguard/0.0.20170726/build/compat/compat.h:321:21: error: redefinition of ‘kvzalloc’
 static inline void *kvzalloc(size_t size, gfp_t flags)
                     ^~~~~~~~
In file included from <command-line>:0:0:
/var/lib/dkms/wireguard/0.0.20170726/build/compat/compat.h:321:21: error: redefinition of ‘kvzalloc’
 static inline void *kvzalloc(size_t size, gfp_t flags)
                     ^~~~~~~~
In file included from include/linux/scatterlist.h:6:0,
                 from include/linux/dmaengine.h:28,
                 from include/linux/skbuff.h:31,
                 from include/linux/ip.h:20,
                 from include/linux/if_tunnel.h:4,
                 from include/net/ip_tunnels.h:4,
                 from /var/lib/dkms/wireguard/0.0.20170726/build/compat/compat.h:71,
                 from <command-line>:0:
include/linux/mm.h:387:21: note: previous definition of ‘kvzalloc’ was here
 static inline void *kvzalloc(size_t size, gfp_t flags)
                     ^~~~~~~~
In file included from include/linux/scatterlist.h:6:0,
                 from include/linux/dmaengine.h:28,
                 from include/linux/skbuff.h:31,
                 from include/linux/ip.h:20,
                 from include/linux/if_tunnel.h:4,
                 from include/net/ip_tunnels.h:4,
                 from /var/lib/dkms/wireguard/0.0.20170726/build/compat/compat.h:71,
                 from <command-line>:0:
include/linux/mm.h:387:21: note: previous definition of ‘kvzalloc’ was here
 static inline void *kvzalloc(size_t size, gfp_t flags)
                     ^~~~~~~~
In file included from <command-line>:0:0:
/var/lib/dkms/wireguard/0.0.20170726/build/compat/compat.h:144:0: warning: "netdev_alloc_pcpu_stats" redefined
 #define netdev_alloc_pcpu_stats(type)     \
 
In file included from include/net/ip_tunnels.h:5:0,
                 from /var/lib/dkms/wireguard/0.0.20170726/build/compat/compat.h:71,
                 from <command-line>:0:
include/linux/netdevice.h:1795:0: note: this is the location of the previous definition
 #define netdev_alloc_pcpu_stats(type)    \
 
In file included from <command-line>:0:0:
/var/lib/dkms/wireguard/0.0.20170726/build/compat/compat.h:144:0: warning: "netdev_alloc_pcpu_stats" redefined
 #define netdev_alloc_pcpu_stats(type)     \
 
In file included from include/net/ip_tunnels.h:5:0,
                 from /var/lib/dkms/wireguard/0.0.20170726/build/compat/compat.h:71,
                 from <command-line>:0:
include/linux/netdevice.h:1795:0: note: this is the location of the previous definition
 #define netdev_alloc_pcpu_stats(type)    \
 
In file included from <command-line>:0:0:
/var/lib/dkms/wireguard/0.0.20170726/build/compat/compat.h:307:21: error: redefinition of ‘kvmalloc’
 static inline void *kvmalloc(size_t size, gfp_t flags)
                     ^~~~~~~~
In file included from include/linux/scatterlist.h:6:0,
                 from include/linux/dmaengine.h:28,
                 from include/linux/skbuff.h:31,
                 from include/linux/ip.h:20,
                 from include/linux/if_tunnel.h:4,
                 from include/net/ip_tunnels.h:4,
                 from /var/lib/dkms/wireguard/0.0.20170726/build/compat/compat.h:71,
                 from <command-line>:0:
include/linux/mm.h:379:21: note: previous definition of ‘kvmalloc’ was here
 static inline void *kvmalloc(size_t size, gfp_t flags)
                     ^~~~~~~~
In file included from <command-line>:0:0:
/var/lib/dkms/wireguard/0.0.20170726/build/compat/compat.h:321:21: error: redefinition of ‘kvzalloc’
 static inline void *kvzalloc(size_t size, gfp_t flags)
                     ^~~~~~~~
In file included from include/linux/scatterlist.h:6:0,
                 from include/linux/dmaengine.h:28,
                 from include/linux/skbuff.h:31,
                 from include/linux/ip.h:20,
                 from include/linux/if_tunnel.h:4,
                 from include/net/ip_tunnels.h:4,
                 from /var/lib/dkms/wireguard/0.0.20170726/build/compat/compat.h:71,
                 from <command-line>:0:
include/linux/mm.h:387:21: note: previous definition of ‘kvzalloc’ was here
 static inline void *kvzalloc(size_t size, gfp_t flags)
                     ^~~~~~~~
In file included from <command-line>:0:0:
/var/lib/dkms/wireguard/0.0.20170726/build/compat/compat.h:307:21: error: redefinition of ‘kvmalloc’
 static inline void *kvmalloc(size_t size, gfp_t flags)
                     ^~~~~~~~
In file included from include/linux/scatterlist.h:6:0,
                 from include/linux/dmaengine.h:28,
                 from include/linux/skbuff.h:31,
                 from include/linux/ip.h:20,
                 from include/linux/if_tunnel.h:4,
                 from include/net/ip_tunnels.h:4,
                 from /var/lib/dkms/wireguard/0.0.20170726/build/compat/compat.h:71,
                 from <command-line>:0:
include/linux/mm.h:379:21: note: previous definition of ‘kvmalloc’ was here
 static inline void *kvmalloc(size_t size, gfp_t flags)
                     ^~~~~~~~
In file included from <command-line>:0:0:
/var/lib/dkms/wireguard/0.0.20170726/build/compat/compat.h:321:21: error: redefinition of ‘kvzalloc’
 static inline void *kvzalloc(size_t size, gfp_t flags)
                     ^~~~~~~~
In file included from include/linux/scatterlist.h:6:0,
                 from include/linux/dmaengine.h:28,
                 from include/linux/skbuff.h:31,
                 from include/linux/ip.h:20,
                 from include/linux/if_tunnel.h:4,
                 from include/net/ip_tunnels.h:4,
                 from /var/lib/dkms/wireguard/0.0.20170726/build/compat/compat.h:71,
                 from <command-line>:0:
include/linux/mm.h:387:21: note: previous definition of ‘kvzalloc’ was here
 static inline void *kvzalloc(size_t size, gfp_t flags)
                     ^~~~~~~~
make[1]: *** [scripts/Makefile.build:308: /var/lib/dkms/wireguard/0.0.20170726/build/main.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [scripts/Makefile.build:308: /var/lib/dkms/wireguard/0.0.20170726/build/peer.o] Error 1
make[1]: *** [scripts/Makefile.build:308: /var/lib/dkms/wireguard/0.0.20170726/build/device.o] Error 1
make[1]: *** [scripts/Makefile.build:308: /var/lib/dkms/wireguard/0.0.20170726/build/noise.o] Error 1
make: *** [Makefile:1298: _module_/var/lib/dkms/wireguard/0.0.20170726/build] Error 2
make: Leaving directory '/usr/lib/modules/3.14.0-26-ARCH/build'

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

  reply	other threads:[~2017-07-27 19:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-27 17:19 errors building 0.0.20170706 and later with Linux 3.14.0 Jaron Kent-Dobias
2017-07-27 18:08 ` Jason A. Donenfeld
2017-07-27 19:57   ` Jaron Kent-Dobias [this message]
2017-07-27 20:00     ` Jaron Kent-Dobias
2017-07-27 23:00       ` Jason A. Donenfeld
  -- strict thread matches above, loose matches on Subject: below --
2017-07-27 17:21 Jaron Kent-Dobias
2017-07-27 18:10 ` Bzzzz
2017-07-27 18:13   ` 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=20170727195734.GC28775@lore.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