From nobody Mon Feb 14 18:46:29 2022 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id DC66E19BEA81 for ; Mon, 14 Feb 2022 18:46:31 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JyCqW5xs1z3w1W for ; Mon, 14 Feb 2022 18:46:31 +0000 (UTC) (envelope-from jhb@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644864391; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dtvhZqUVIEd7krT71WCUd1bzFDSvQ5aiMIuFb8r5KdI=; b=x9+OON7V+wmAXxLAn5+wLuzQs0sXncfVMpvWIWRTMZ05G6JwU2/+5AhgUXhsm5hS+YBCEr NP0DCstF6JHM/U9MF9M5CJOKOCE9dWRkwlzx2X4S9ZCPp4WCogAIRoSfnzDTah1wmT9P8n 8kjvR4ANjWe/IGa6jO63OAXbMHV2hpt9mASVxN3PwZZcz4ZpB1jzz0Cq4DJ2ykQShLOLJa 9p5tBcpCe5pMzbQCfTwgPiJ8Dk+E9IeE3V7XUGqjsXmzOFlEDH6Q9CSWomG2PkrCZHH/ch wvbkGPcAnU+Z+GLLSgTP2DWynoSfa6KkabZ1f8w7CL45gda6ncaPNLnNQxNDKA== Received: from [10.0.1.4] (ralph.baldwin.cx [66.234.199.215]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: jhb) by smtp.freebsd.org (Postfix) with ESMTPSA id 7C41022B4C for ; Mon, 14 Feb 2022 18:46:31 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Message-ID: Date: Mon, 14 Feb 2022 10:46:29 -0800 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.6.0 Subject: Re: Buildworld fails with external GCC toolchain Content-Language: en-US To: freebsd-current@freebsd.org References: <20220212.050756.569441849093045289.yasu@FreeBSD.org> <116A6C73-6A06-4671-9C82-5D58A7F05018@FreeBSD.org> <20220213.043416.312036094791123131.yasu@FreeBSD.org> From: John Baldwin In-Reply-To: <20220213.043416.312036094791123131.yasu@FreeBSD.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644864391; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dtvhZqUVIEd7krT71WCUd1bzFDSvQ5aiMIuFb8r5KdI=; b=MjsZcAHNnR38eX/OFPHPeOeVTKh22wRa+o2AAuXJSqsZOeQXQ7BT8aiC6jW+4wRZF5mjEs 88asb4w3l9jNw1Xb4Jsrxv6qrC5/ToiGRi96mO4UcADDya9e3q7QvWyJ4Q2/1jKbgKMRkO m2HUHt9iHA5fOcftqRztDsQgm693OuhE7WwXjZTWsKlH81l7uw9lpcl79TzWUonc4hhBIz USTHPPOb1IDKidp/F/bPkFUJc7xuS3HWrUxU6OkQ7Q6RWLKzQ7HGasqVyY8ghNGVNg3Adb ncasjuaW0KUrXOwbaq7E8/ziYaboVJxZB5f5vwCpHd0rs5rzgnvg34zuJjWFfw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644864391; a=rsa-sha256; cv=none; b=CYsixQhLXMOOtMt/pP6dVI7Zbbezs3EHkri8Kv2w6Vv4OT+DHKNbk6aCqYy+ifASpif/7v tNzouzjxT8kKUPU7QRQ2qRDxAGSCWZ0Q2ap7Xrr0ErelobSLsv9GZFEMEJAw92pHuNO99K NJth4BISk//SdKJdIgoea/QfEp5BY26iDtoashikIAYTeID4PlNtEbL7sLNIh/upOdCRYQ l9y/GdzBadswxVYg9SBk2z9/zkVp/Doa7eRSQiY+PZBH5G3caKbdNUhrPzCvieZox3UMIX fPBrbIWVRjVxs4tdgMXoLshOtvbcdDvPcWYAmjA30mO3yE5QcxW80clupFpmwQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N On 2/12/22 11:34 AM, Yasuhiro Kimura wrote: > From: Dimitry Andric > Subject: Re: Buildworld fails with external GCC toolchain > Date: Fri, 11 Feb 2022 22:53:44 +0100 > >> Not really, the gcc 9 build has been broken for months, as far as I know. >> >> See also: https://ci.freebsd.org/job/FreeBSD-main-amd64-gcc9_build/ >> >> The last build(s) show a different error from yours, though: >> >> /workspace/src/tests/sys/netinet/libalias/util.c: In function 'set_udp': >> /workspace/src/tests/sys/netinet/libalias/util.c:112:2: error: converting a packed 'struct ip' pointer (alignment 2) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Werror=address-of-packed-member] >> 112 | uint32_t *up = (void *)p; >> | ^~~~~~~~ >> In file included from /workspace/src/tests/sys/netinet/libalias/util.h:37, >> from /workspace/src/tests/sys/netinet/libalias/util.c:39: >> /workspace/src/sys/netinet/ip.h:51:8: note: defined here >> 51 | struct ip { >> | ^~ >> >> -Dimitry >> > > Thanks for information. I went back the commit history of main branch > about every month and check if buildworld succeeds with GCC. But it > didn't succeed even if I went back about a year. And devel/binutils > port was update to 2.37 on last August. So I suspect external GCC > toolchain doesn't work well after binutils is updated to current > version. I have amd64 world + kernel building with GCC 9 and the only remaining open review not merged yet is https://reviews.freebsd.org/D34147. It is work to keep it working though and I hadn't worked on it again until recently. -- John Baldwin