On 4 Feb 2018, at 20:59, Michael Tuexen <tue...@freebsd.org> wrote: > >> On 4. Feb 2018, at 11:24, Dimitry Andric <d...@freebsd.org> wrote: >> On 4 Feb 2018, at 03:38, Josh Paetzel <jpaet...@freebsd.org> wrote: >>> >>> --- all_subdir_lib/libngatm --- >>> /usr/src/sys/contrib/ngatm/netnatm/api/cc_port.c:71:28: error: result of >>> comparison 'u_int' (aka 'unsigned int') > 4294967295 is always fal >>> se [-Werror,-Wtautological-type-limit-compare] >>> if (portno == 0 || portno > 0xffffffff) >>> ~~~~~~ ^ ~~~~~~~~~~ >>> 1 error generated. >>> *** [cc_port.o] Error code 1 >>> >>> This code hasn't changed in ages so I can only assume it's clang or such. >> >> This is because of r328816, which requires you to update your toolchain >> to at least r328381. E.g. please run either "make buildworld" or "make >> kernel-toolchain" before building your kernel. > I get this error when doing a buildworld... Using r328861.
This should now be fixed by r328863. The MK_SYSTEM_COMPILER logic did not build a cross-tools toolchain, so you were still getting warnings from the (old) compiler in your base system. -Dimitry
Description: Message signed with OpenPGP