From owner-freebsd-current@freebsd.org Sun Feb 4 21:54:47 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 61837ED0230 for ; Sun, 4 Feb 2018 21:54:47 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id F2E9C74271 for ; Sun, 4 Feb 2018 21:54:46 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id B3592ED022A; Sun, 4 Feb 2018 21:54:46 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A1105ED0229 for ; Sun, 4 Feb 2018 21:54:46 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from drew.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.franken.de", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3C8817426C; Sun, 4 Feb 2018 21:54:46 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from [IPv6:2003:cd:6bf1:8000:d4f2:3e86:bbdf:e6fb] (p200300CD6BF18000D4F23E86BBDFE6FB.dip0.t-ipconnect.de [IPv6:2003:cd:6bf1:8000:d4f2:3e86:bbdf:e6fb]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTPSA id 77B3D721E281A; Sun, 4 Feb 2018 22:54:44 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\)) Subject: Re: HEAD amd64 seems unhappy From: Michael Tuexen In-Reply-To: <76A6BFDB-7A96-4EF4-B218-0163CDD3F9BC@FreeBSD.org> Date: Sun, 4 Feb 2018 22:54:41 +0100 Cc: Josh Paetzel , current@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <11E28CCA-1F02-431E-ABA6-C478537C797B@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> To: Dimitry Andric X-Mailer: Apple Mail (2.3445.5.20) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail-n.franken.de X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Feb 2018 21:54:47 -0000 > On 4. Feb 2018, at 21:40, Dimitry Andric wrote: >=20 > On 4 Feb 2018, at 20:59, Michael Tuexen wrote: >>=20 >>> On 4. Feb 2018, at 11:24, Dimitry Andric wrote: >>> On 4 Feb 2018, at 03:38, Josh Paetzel 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