d8738d57ab9ab976a1899e73d955d38317f44486 not building with 4.15.0-0.rc0.git6.
I tried building the latest WireGuard on the latest rawhide kernel an got the following error:
/home/bruno/WireGuard/src/netlink.c: In function ‘get_device_dump_real’:/home/bruno/WireGuard/src/netlink.c:180:2: error: too many arguments to function ‘genl_dump_check_consistent’
genl_dump_check_consistent(cb, hdr, &genl_family);
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/bruno/WireGuard/src/netlink.c:11:0:./include/net/genetlink.h:194:20: note: declared here
static inline void genl_dump_check_consistent(struct netlink_callback *cb,
^~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:306: /home/bruno/WireGuard/src/netlink.o] Error 1
I also got some warnings about redefining READ_ONCE:
CC [M] /home/bruno/WireGuard/src/netlink.o In file included from ./include/linux/kernel.h:10:0,
from ./include/linux/skbuff.h:17,
from ./include/linux/ip.h:20,
from /home/bruno/WireGuard/src/compat/compat.h:528,
from <command-line>:0:./include/linux/compiler.h:249:0: warning: "READ_ONCE" redefined #define READ_ONCE(x) __READ_ONCE(x, 1)
In file included from <command-line>:0:0:/home/bruno/WireGuard/src/compat/compat.h:42:0: note: this is the location of the previous definition #define READ_ONCE ACCESS_ONCE
Hi Bruno,
I'll start working on 4.15 after rc1 hits or possibly sooner, as there's currently quite a bit of churn at the moment. The current errors are caused by:
https://git.zx2c4.com/linux/commit/?id=0a833c29d89656025443cb9f0ebff7052dd95ce0
https://git.zx2c4.com/linux/commit/?id=d15155824c5014803d91b829736d249c500bdda6
Jason
Quoted 5 lines · Jason A. Donenfeld
Hi Bruno,
I'll start working on 4.15 after rc1 hits or possibly sooner, as there's currently quite a bit of churn at the moment. The current errors are caused by:
OK. I switched back to 4.14 and things are fine. Linus was threatening to close the merge window early, so maybe we'll get rc1 tomorrow night (-0600).
Quoted 1 line · Jason A. Donenfeld
https://git.zx2c4.com/WireGuard/commit/?id=26e3639dba77a2f78f6ca093c8a4ffa782a0883d
It builds and works with 4.15.0-0.rc0.git7.2.fc28. Thanks.