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 9548415808B for ; Sat, 28 Sep 2024 12:50:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DB4CCE2A6A; Sat, 28 Sep 2024 12:50:53 +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 B7630E2A6A for ; Sat, 28 Sep 2024 12:50:53 +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 C5A703431F0 for ; Sat, 28 Sep 2024 12:50:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2D88E14CA for ; Sat, 28 Sep 2024 12:50:51 +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: <1727527805.7e89bde9528aff4c686b6d70e0f38da3f31e0409.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: 7e89bde9528aff4c686b6d70e0f38da3f31e0409 X-VCS-Branch: master Date: Sat, 28 Sep 2024 12:50:51 +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: 1ac06e67-c1d5-4b7c-95ff-6bbe307b6136 X-Archives-Hash: 0ffd00a93d40be832ff16eba3cc14757 commit: 7e89bde9528aff4c686b6d70e0f38da3f31e0409 Author: Fabian Groffen gentoo org> AuthorDate: Sat Sep 28 12:50:05 2024 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Sat Sep 28 12:50:05 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=7e89bde9 scripts/bootstrap-prefix: drop obsolete darwin rpath workaround This has been fixed for some time, and for sure in GCC-14 versions we use. Signed-off-by: Fabian Groffen gentoo.org> scripts/bootstrap-prefix.sh | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh index 903f199ce9..73e6d10bd8 100755 --- a/scripts/bootstrap-prefix.sh +++ b/scripts/bootstrap-prefix.sh @@ -2039,28 +2039,6 @@ bootstrap_stage2() { emerge_pkgs --nodeps "${pkg}" || return 1 done - # During Gentoo prefix bootstrap stage2, GCC is built with - # "--disable-bootstrap". For Darwin, it means that rather than letting - # GCC to eventually build itself using multiple passes, we're forcing - # it to build with the host LLVM/clang toolchain in a single pass. - # It's not officially supported, but practically it worked. However, - # since >=gcc-12.2.0, in order to support the new embedded rpath - # feature on Darwin, two incompatible options, "-nodefaultrpaths" and - # "-nodefaultexport" are introduced. This causes linking failures, - # since these options are only recognized by GCC and are unknown to - # LLVM/clang (hypothetically, using an older GCC possibly causes the - # same problem as well). - # - # Thus, embedded rpath should be disabled during prefix bootstrap stage2 - # and passed into EXTRA_ECONF. - # https://bugs.gentoo.org/895334 - if [[ ${CHOST} == *-darwin* ]] ; - then - local disable_darwin_rpath="--disable-darwin-at-rpath" - else - local disable_darwin_rpath="" - fi - for pkg in ${compiler_stage1} ; do #