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 55BED158013 for ; Sat, 16 Dec 2023 08:24:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 941642BC015; Sat, 16 Dec 2023 08:24:54 +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 7851D2BC015 for ; Sat, 16 Dec 2023 08:24:54 +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 9D356340CC9 for ; Sat, 16 Dec 2023 08:24:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A222B123C for ; Sat, 16 Dec 2023 08:24:51 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1702715088.c39014fbcff1d16d14556bf750066a99d69c9e68.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/nss/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/nss/nss-3.96.ebuild X-VCS-Directories: dev-libs/nss/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: c39014fbcff1d16d14556bf750066a99d69c9e68 X-VCS-Branch: master Date: Sat, 16 Dec 2023 08:24: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: 226a4e72-20d9-4785-9079-b8db8c8dfe2d X-Archives-Hash: b7b60b6cdfa57de59953b6c86823b801 commit: c39014fbcff1d16d14556bf750066a99d69c9e68 Author: Joonas Niilola gentoo org> AuthorDate: Sat Dec 16 08:23:52 2023 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Sat Dec 16 08:24:48 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c39014fb dev-libs/nss: disable lto with clang on x86, on 3.96 Bug: https://bugs.gentoo.org/917792 Signed-off-by: Joonas Niilola gentoo.org> dev-libs/nss/nss-3.96.ebuild | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dev-libs/nss/nss-3.96.ebuild b/dev-libs/nss/nss-3.96.ebuild index ef59d94cde49..5cab1c328c41 100644 --- a/dev-libs/nss/nss-3.96.ebuild +++ b/dev-libs/nss/nss-3.96.ebuild @@ -105,6 +105,11 @@ nssarch() { } nssbits() { + # bgo#917792 + if tc-is-clang && use x86 ; then + filter-lto + fi + local cc cppflags="${1}CPPFLAGS" cflags="${1}CFLAGS" if [[ ${1} == BUILD_ ]]; then cc=$(tc-getBUILD_CC) @@ -170,6 +175,10 @@ multilib_src_compile() { export CC_IS_GCC=1 elif tc-is-clang; then export CC_IS_CLANG=1 + if use x86 ; then + filter-lto + elog "lto disabled when using clang on x86. bgo#917792" + fi fi export NSS_DISABLE_GTESTS=$(usex !test 1 0)