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 3A7D8158094 for ; Wed, 20 Jul 2022 21:23:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 72F47E09BD; Wed, 20 Jul 2022 21:23:48 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 52B5CE09BD for ; Wed, 20 Jul 2022 21:23:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 5990A340EAF for ; Wed, 20 Jul 2022 21:23:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 974067F for ; Wed, 20 Jul 2022 21:23:45 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1658352210.828d8bf14cac680b319b107412d1eda05661436f.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/compiler-rt/compiler-rt-14.0.4.ebuild sys-libs/compiler-rt/compiler-rt-14.0.6.ebuild sys-libs/compiler-rt/compiler-rt-15.0.0.9999.ebuild X-VCS-Directories: sys-libs/compiler-rt/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 828d8bf14cac680b319b107412d1eda05661436f X-VCS-Branch: master Date: Wed, 20 Jul 2022 21:23:45 +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: 34789549-53a7-4104-be2b-9b10f0a464bc X-Archives-Hash: dd413db3aa9fb31f3d71a901a05b5657 commit: 828d8bf14cac680b319b107412d1eda05661436f Author: Andreas K. Hüttel gentoo org> AuthorDate: Wed Jul 20 21:22:10 2022 +0000 Commit: Sam James gentoo org> CommitDate: Wed Jul 20 21:23:30 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=828d8bf1 sys-libs/compiler-rt: add -nostartfiles to nolib_flags This avoids bootstrapping failures during e.g. pure LLVM stage builds as compiler-rt is checking for a working compiler but without -nostartfiles, is actually checking for a working compiler-rt too (which isn't yet installed!) See https://archives.gentoo.org/gentoo-releng-autobuilds/message/eaafa503472438245449f93c2bb64578: ``` : && /usr/lib/llvm/14/bin/clang -O2 -pipe -nodefaultlibs -lc CMakeFiles/cmTC_77c36.dir/testCCompiler.c.o -o cmTC_77c36 && : ld.lld: error: cannot open crtbeginS.o: No such file or directory ld.lld: error: cannot open crtendS.o: No such file or directory clang-14: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed. ``` Signed-off-by: Sam James gentoo.org> sys-libs/compiler-rt/compiler-rt-14.0.4.ebuild | 2 +- sys-libs/compiler-rt/compiler-rt-14.0.6.ebuild | 2 +- sys-libs/compiler-rt/compiler-rt-15.0.0.9999.ebuild | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sys-libs/compiler-rt/compiler-rt-14.0.4.ebuild b/sys-libs/compiler-rt/compiler-rt-14.0.4.ebuild index 80f426ade02d..7511ea774e2b 100644 --- a/sys-libs/compiler-rt/compiler-rt-14.0.4.ebuild +++ b/sys-libs/compiler-rt/compiler-rt-14.0.4.ebuild @@ -70,7 +70,7 @@ src_configure() { # pre-set since we need to pass it to cmake BUILD_DIR=${WORKDIR}/${P}_build - local nolib_flags=( -nodefaultlibs -lc ) + local nolib_flags=( -nodefaultlibs -nostartfiles -lc ) if use clang; then # Only do this conditionally to allow overriding with # e.g. CC=clang-13 in case of breakage diff --git a/sys-libs/compiler-rt/compiler-rt-14.0.6.ebuild b/sys-libs/compiler-rt/compiler-rt-14.0.6.ebuild index e5c0203110f9..f63f68d1b652 100644 --- a/sys-libs/compiler-rt/compiler-rt-14.0.6.ebuild +++ b/sys-libs/compiler-rt/compiler-rt-14.0.6.ebuild @@ -70,7 +70,7 @@ src_configure() { # pre-set since we need to pass it to cmake BUILD_DIR=${WORKDIR}/${P}_build - local nolib_flags=( -nodefaultlibs -lc ) + local nolib_flags=( -nodefaultlibs -nostartfiles -lc ) if use clang; then # Only do this conditionally to allow overriding with # e.g. CC=clang-13 in case of breakage diff --git a/sys-libs/compiler-rt/compiler-rt-15.0.0.9999.ebuild b/sys-libs/compiler-rt/compiler-rt-15.0.0.9999.ebuild index c6913b149fa4..379d6dd27c08 100644 --- a/sys-libs/compiler-rt/compiler-rt-15.0.0.9999.ebuild +++ b/sys-libs/compiler-rt/compiler-rt-15.0.0.9999.ebuild @@ -70,7 +70,7 @@ src_configure() { # pre-set since we need to pass it to cmake BUILD_DIR=${WORKDIR}/${P}_build - local nolib_flags=( -nodefaultlibs -lc ) + local nolib_flags=( -nodefaultlibs -nostartfiles -lc ) if use clang; then # Only do this conditionally to allow overriding with # e.g. CC=clang-13 in case of breakage