HEAD amd64 seems unhappy
Michael Tuexen
tuexen at freebsd.org
Sun Feb 4 21:54:47 UTC 2018
> On 4. Feb 2018, at 21:40, Dimitry Andric <dim at FreeBSD.org> wrote:
>
> 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.
I can confirm that it works now.
Thanks for the quick fix!
Best regards
Michael
>
> -Dimitry
>
More information about the freebsd-current
mailing list