Date: Sun, 4 Feb 2018 21:40:19 +0100 From: Dimitry Andric <dim@FreeBSD.org> To: Michael Tuexen <tuexen@freebsd.org> Cc: Josh Paetzel <jpaetzel@freebsd.org>, current@freebsd.org Subject: Re: HEAD amd64 seems unhappy Message-ID: <76A6BFDB-7A96-4EF4-B218-0163CDD3F9BC@FreeBSD.org> In-Reply-To: <03D56DEA-D965-46F8-9F61-10DCCCBC3B28@freebsd.org> References: <1517711902.3429873.1258647112.4DA64BE7@webmail.messagingengine.com> <1941B8EC-88AA-4B11-AE0E-BED6B0428475@FreeBSD.org> <03D56DEA-D965-46F8-9F61-10DCCCBC3B28@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On 4 Feb 2018, at 20:59, Michael Tuexen <tuexen@freebsd.org> wrote: > >> On 4. Feb 2018, at 11:24, Dimitry Andric <dim@FreeBSD.org> wrote: >> On 4 Feb 2018, at 03:38, Josh Paetzel <jpaetzel@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 [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCWndvswAKCRCwXqMKLiCW o0yeAJ4qMMrd+sdPopg4Oj2SPmg0MErjDwCdGAtn867/ys3pZg6Lu+ChzIaGOCo= =39uA -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?76A6BFDB-7A96-4EF4-B218-0163CDD3F9BC>
