HEAD amd64 seems unhappy
Dimitry Andric
dim at FreeBSD.org
Sun Feb 4 20:40:30 UTC 2018
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 223 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20180204/8737926c/attachment.sig>
More information about the freebsd-current
mailing list