Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Feb 2018 22:54:41 +0100
From:      Michael Tuexen <tuexen@freebsd.org>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        Josh Paetzel <jpaetzel@freebsd.org>, current@freebsd.org
Subject:   Re: HEAD amd64 seems unhappy
Message-ID:  <11E28CCA-1F02-431E-ABA6-C478537C797B@freebsd.org>
In-Reply-To: <76A6BFDB-7A96-4EF4-B218-0163CDD3F9BC@FreeBSD.org>
References:  <1517711902.3429873.1258647112.4DA64BE7@webmail.messagingengine.com> <1941B8EC-88AA-4B11-AE0E-BED6B0428475@FreeBSD.org> <03D56DEA-D965-46F8-9F61-10DCCCBC3B28@freebsd.org> <76A6BFDB-7A96-4EF4-B218-0163CDD3F9BC@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> On 4. Feb 2018, at 21:40, Dimitry Andric <dim@FreeBSD.org> wrote:
>=20
> On 4 Feb 2018, at 20:59, Michael Tuexen <tuexen@freebsd.org> wrote:
>>=20
>>> 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:
>>>>=20
>>>> --- 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 =3D=3D 0 || portno > 0xffffffff)
>>>>                       ~~~~~~ ^ ~~~~~~~~~~
>>>> 1 error generated.
>>>> *** [cc_port.o] Error code 1
>>>>=20
>>>> This code hasn't changed in ages so I can only assume it's clang or =
such.
>>>=20
>>> 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.
>=20
> 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
>=20
> -Dimitry
>=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?11E28CCA-1F02-431E-ABA6-C478537C797B>