Hi,
I may have missed something but I'm unable to compile the kernel since (I
think) the switch to clang on AMD64.
I have upgraded to the latest snapshot, updated my /sys tree
$ cd /sys/arch/$(machine)/compile/GENERIC.MP
$ doas make obj
$ make config
$ make
Then the compilation fail with this message:
/sys/netinet/igmp.c:140:22: error: implicit conversion from 'int' to
'int8_t'
(aka 'signed char') changes value from 148 to -108
[-Werror,-Wconstant-conversion]
ra->ipopt_list[0] = IPOPT_RA;
~ ^~~~~~~~
/sys/netinet/ip.h:153:19: note: expanded from macro 'IPOPT_RA'
#define IPOPT_RA 148 /* router alert */
^~~
1 error generated.
*** Error 1 in target 'igmp.o'
*** Error 1 in /sys/arch/amd64/compile/GENERIC.MP (Makefile:961 'igmp.o')
Is there something wrong with my setup?
If my reading of the code is good, the error seems legitimate.