Re: HEAD amd64 seems unhappy

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Sun, 4 Feb 2018 21:40:19 +0100
On 4 Feb 2018, at 20:59, Michael Tuexen <tuexen_at_freebsd.org> wrote:
> 
>> On 4. Feb 2018, at 11:24, Dimitry Andric <dim_at_FreeBSD.org> wrote:
>> On 4 Feb 2018, at 03:38, Josh Paetzel <jpaetzel_at_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


Received on Sun Feb 04 2018 - 19:40:30 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:14 UTC