Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Henry Snow <henry.snow@nielsen.com>
To: "wireguard@lists.zx2c4.com" <wireguard@lists.zx2c4.com>
Subject: wireguard-dkms and CentOS 7.5
Date: Thu, 10 May 2018 13:59:40 +0000	[thread overview]
Message-ID: <CAFuSFDHSJ8zezCqKuA+JM5asoWH-B2AYLAN2fbcWCwNE=r33hQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 5865 bytes --]

Hi Wireguard Users,

It looks like CentOS 7.5 was released recently, bringing with it new kernel
and tools versions. When installing the wireguard-dkms package from the
RHEL/CentOS7 repo, I'm seeing the following error:

make -j40 KERNELRELEASE=3.10.0-862.el7.x86_64 -C
/lib/modules/3.10.0-862.el7.x86_64/build
M=/var/lib/dkms/wireguard/0.0.20180420/build...(bad exit status: 2)
Error! Bad return status for module build on kernel: 3.10.0-862.el7.x86_64
(x86_64)
Consult /var/lib/dkms/wireguard/0.0.20180420/build/make.log for more
information.

For brevity, the first few lines from make.log is pasted below. Full output
can be found at https://pastebin.com/raw/teYsNLV1
<https://pastebin.com/teYsNLV1>

Any new requirements needed to build, or is a code change required?

make.log:
DKMS make.log for wireguard-0.0.20180420 for kernel 3.10.0-862.el7.x86_64
(x86_64)
Thu May 10 09:37:05 EDT 2018
make: Entering directory `/usr/src/kernels/3.10.0-862.el7.x86_64'
  LD      /var/lib/dkms/wireguard/0.0.20180420/build/built-in.o
  CC [M]  /var/lib/dkms/wireguard/0.0.20180420/build/main.o
  CC [M]  /var/lib/dkms/wireguard/0.0.20180420/build/noise.o
  CC [M]  /var/lib/dkms/wireguard/0.0.20180420/build/device.o
  CC [M]  /var/lib/dkms/wireguard/0.0.20180420/build/peer.o
  CC [M]  /var/lib/dkms/wireguard/0.0.20180420/build/timers.o
  CC [M]  /var/lib/dkms/wireguard/0.0.20180420/build/queueing.o
  CC [M]  /var/lib/dkms/wireguard/0.0.20180420/build/send.o
  CC [M]  /var/lib/dkms/wireguard/0.0.20180420/build/receive.o
  CC [M]  /var/lib/dkms/wireguard/0.0.20180420/build/socket.o
  CC [M]  /var/lib/dkms/wireguard/0.0.20180420/build/hashtables.o
  CC [M]  /var/lib/dkms/wireguard/0.0.20180420/build/allowedips.o
  CC [M]  /var/lib/dkms/wireguard/0.0.20180420/build/ratelimiter.o
  CC [M]  /var/lib/dkms/wireguard/0.0.20180420/build/cookie.o
  CC [M]  /var/lib/dkms/wireguard/0.0.20180420/build/netlink.o
  CC [M]  /var/lib/dkms/wireguard/0.0.20180420/build/crypto/curve25519.o
  CC [M]
/var/lib/dkms/wireguard/0.0.20180420/build/crypto/chacha20poly1305.o
  AS [M]
/var/lib/dkms/wireguard/0.0.20180420/build/crypto/chacha20-x86_64.o
  CC [M]  /var/lib/dkms/wireguard/0.0.20180420/build/crypto/blake2s.o
  AS [M]
/var/lib/dkms/wireguard/0.0.20180420/build/crypto/poly1305-x86_64.o
  AS [M]  /var/lib/dkms/wireguard/0.0.20180420/build/crypto/blake2s-x86_64.o
  CC [M]
/var/lib/dkms/wireguard/0.0.20180420/build/compat/siphash/siphash.o
/var/lib/dkms/wireguard/0.0.20180420/build/crypto/chacha20-x86_64.o:
warning: objtool: chacha20_avx512vl()+0x3f: can't find jump dest
instruction at .text+0x2669
In file included from <command-line>:0:0:
/var/lib/dkms/wireguard/0.0.20180420/build/compat/compat.h:115:20: error:
redefinition of ‘skb_reset_tc’
 static inline void skb_reset_tc(struct sk_buff *skb)
                    ^
In file included from include/linux/filter.h:11:0,
                 from include/net/sock.h:67,
                 from include/linux/tcp.h:23,
                 from include/linux/ipv6.h:70,
                 from include/net/dsfield.h:11,
                 from include/net/ip_tunnels.h:12,
                 from
/var/lib/dkms/wireguard/0.0.20180420/build/compat/compat.h:80,
                 from <command-line>:0:
include/net/sch_generic.h:454:20: note: previous definition of
‘skb_reset_tc’ was here
 static inline void skb_reset_tc(struct sk_buff *skb)
                    ^
In file included from <command-line>:0:0:
/var/lib/dkms/wireguard/0.0.20180420/build/compat/compat.h:115:20: error:
redefinition of ‘skb_reset_tc’
 static inline void skb_reset_tc(struct sk_buff *skb)
                    ^
In file included from include/linux/filter.h:11:0,
                 from include/net/sock.h:67,
                 from include/linux/tcp.h:23,
                 from include/linux/ipv6.h:70,
                 from include/net/dsfield.h:11,
                 from include/net/ip_tunnels.h:12,
                 from
/var/lib/dkms/wireguard/0.0.20180420/build/compat/compat.h:80,
                 from <command-line>:0:
include/net/sch_generic.h:454:20: note: previous definition of
‘skb_reset_tc’ was here
 static inline void skb_reset_tc(struct sk_buff *skb)
                    ^
In file included from <command-line>:0:0:
/var/lib/dkms/wireguard/0.0.20180420/build/compat/compat.h:115:20: error:
redefinition of ‘skb_reset_tc’
 static inline void skb_reset_tc(struct sk_buff *skb)
                    ^
In file included from include/linux/filter.h:11:0,
                 from include/net/sock.h:67,
                 from include/linux/tcp.h:23,
                 from include/linux/ipv6.h:70,
                 from include/net/dsfield.h:11,
                 from include/net/ip_tunnels.h:12,
                 from
/var/lib/dkms/wireguard/0.0.20180420/build/compat/compat.h:80,
                 from <command-line>:0:
include/net/sch_generic.h:454:20: note: previous definition of
‘skb_reset_tc’ was here
 static inline void skb_reset_tc(struct sk_buff *skb)
                    ^
In file included from <command-line>:0:0:
/var/lib/dkms/wireguard/0.0.20180420/build/compat/compat.h:115:20: error:
redefinition of ‘skb_reset_tc’
 static inline void skb_reset_tc(struct sk_buff *skb)
                    ^
In file included from
/var/lib/dkms/wireguard/0.0.20180420/build/compat/compat.h:177:0,
                 from <command-line>:0:
/var/lib/dkms/wireguard/0.0.20180420/build/compat/checksum/checksum_partial_compat.h:192:19:
error: static declaration of ‘skb_checksum_setup’ follows non-static
declaration
-- 
Henry Snow | Director, Site Reliability Engineering
eXelate, a Nielsen company <http://exelate.com/>
E: henry.snow@nielsen.com | M: 347.366.2700
675 6th Ave, 3rd Floor, New York, NY 10010

[-- Attachment #2: Type: text/html, Size: 8343 bytes --]

             reply	other threads:[~2018-05-10 13:57 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-10 13:59 Henry Snow [this message]
2018-05-10 15:34 ` Jason A. Donenfeld
2018-05-10 16:14   ` Jason A. Donenfeld
2018-05-10 16:31     ` Henry Snow
2018-05-10 17:24       ` Henry Snow
2018-05-10 17:25         ` Jason A. Donenfeld
2018-05-10 17:35           ` Henry Snow
2018-05-10 17:36             ` Jason A. Donenfeld
2018-05-10 17:49               ` Jason A. Donenfeld
2018-05-10 18:26                 ` Germano Massullo
2018-05-10 20:25                 ` Jason A. Donenfeld
2018-05-10 21:41                   ` Henry Snow
2018-05-10 21:47                     ` Jason A. Donenfeld
2018-05-11 16:07     ` Joe Doss
2018-05-11 16:15       ` Henry Snow
2018-05-13 16:56         ` Jason A. Donenfeld
  -- strict thread matches above, loose matches on Subject: below --
2018-05-10 13:50 Henry Snow

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='CAFuSFDHSJ8zezCqKuA+JM5asoWH-B2AYLAN2fbcWCwNE=r33hQ@mail.gmail.com' \
    --to=henry.snow@nielsen.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).