From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1610645-garchives=archives.gentoo.org@lists.gentoo.org> 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 7E6AF158041 for <garchives@archives.gentoo.org>; Wed, 13 Mar 2024 21:04:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 679BEE29C7; Wed, 13 Mar 2024 21:04:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 42209E29C7 for <gentoo-commits@lists.gentoo.org>; Wed, 13 Mar 2024 21:04:43 +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 53D3A343014 for <gentoo-commits@lists.gentoo.org>; Wed, 13 Mar 2024 21:04:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BDAF41519 for <gentoo-commits@lists.gentoo.org>; Wed, 13 Mar 2024 21:04:40 +0000 (UTC) From: "Sam James" <sam@gentoo.org> 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" <sam@gentoo.org> Message-ID: <1710363845.9da7e1e40003ff669572d9dd47f11aedd8852f2e.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/nspr/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/nspr/nspr-4.35-r2.ebuild X-VCS-Directories: dev-libs/nspr/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 9da7e1e40003ff669572d9dd47f11aedd8852f2e X-VCS-Branch: master Date: Wed, 13 Mar 2024 21:04:40 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ab5a3a87-55c1-41da-a07d-7c72082d8ff7 X-Archives-Hash: ab0d4f1829dc5442ff072a78919b0251 commit: 9da7e1e40003ff669572d9dd47f11aedd8852f2e Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com> AuthorDate: Wed Mar 13 06:16:54 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Mar 13 21:04:05 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9da7e1e4 dev-libs/nspr: mark as LTO-unsafe, strict-aliasing unsafe It is a testsuite-only issue. We think, because it prevents, well, testing. Closes: https://bugs.gentoo.org/867634 Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> dev-libs/nspr/nspr-4.35-r2.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dev-libs/nspr/nspr-4.35-r2.ebuild b/dev-libs/nspr/nspr-4.35-r2.ebuild index ec3cb17b0172..01df06b9ec19 100644 --- a/dev-libs/nspr/nspr-4.35-r2.ebuild +++ b/dev-libs/nspr/nspr-4.35-r2.ebuild @@ -62,6 +62,14 @@ src_prepare() { } multilib_src_configure() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/867634 + # + # Testsuite-only issue. Still, this makes it challenging to test the package with LTO + # enabled... + append-flags -fno-strict-aliasing + filter-lto + # The build system overrides user optimization level based on a configure flag. #886987 local my_optlvl=$(get-flag '-O*')