From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6488C15852A for ; Mon, 19 Aug 2024 16:56:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 918AEE2A7D; Mon, 19 Aug 2024 16:56:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 71AB7E2A7D for ; Mon, 19 Aug 2024 16:56:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 96A2733BF03 for ; Mon, 19 Aug 2024 16:56:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 02C411B89 for ; Mon, 19 Aug 2024 16:56:11 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1724086475.a075ebb0f6e2b47034e3d69fdf30a06e6f61af8a.grobian@gentoo> Subject: [gentoo-commits] repo/proj/prefix:master commit in: scripts/ X-VCS-Repository: repo/proj/prefix X-VCS-Files: scripts/bootstrap-prefix.sh X-VCS-Directories: scripts/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: a075ebb0f6e2b47034e3d69fdf30a06e6f61af8a X-VCS-Branch: master Date: Mon, 19 Aug 2024 16:56:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e0b30dad-f73e-4a1f-a914-5ab9f73fd62b X-Archives-Hash: a0c436d96ed637a73037ab491c3d93e7 commit: a075ebb0f6e2b47034e3d69fdf30a06e6f61af8a Author: Fabian Groffen gentoo org> AuthorDate: Mon Aug 19 16:54:35 2024 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Mon Aug 19 16:54:35 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=a075ebb0 scripts/bootstrap-prefix: avoid USE=cet with binutils during bootstrap the host compiler used may not support CET, causing binutils to fail, so wait for that later when we got our own compiler Thanks hsk17 for the analysis and proposed fix. Bug: https://bugs.gentoo.org/936629 Signed-off-by: Fabian Groffen gentoo.org> scripts/bootstrap-prefix.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh index 928a789603..e51c4783e5 100755 --- a/scripts/bootstrap-prefix.sh +++ b/scripts/bootstrap-prefix.sh @@ -2027,6 +2027,10 @@ bootstrap_stage2() { echo "sys-devel/gcc -pie" >> "${ROOT}"/tmp/etc/portage/package.use fi + # don't use CET, we don't know if the host compiler supports it + echo "sys-devel/binutils -cet" >> \ + "${ROOT}"/tmp/etc/portage/profile/package.use.force + emerge_pkgs --nodeps "${pkgs[@]}" || return 1 # Debian multiarch supported by RAP needs ld to support sysroot.