From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1619108-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 DB90F158041
	for <garchives@archives.gentoo.org>; Wed, 10 Apr 2024 02:30:24 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 1E2AFE29FA;
	Wed, 10 Apr 2024 02:30:24 +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) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id CA676E29FA
	for <gentoo-commits@lists.gentoo.org>; Wed, 10 Apr 2024 02:30:23 +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 B9DCD34327E
	for <gentoo-commits@lists.gentoo.org>; Wed, 10 Apr 2024 02:30:22 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id EEBA8B47
	for <gentoo-commits@lists.gentoo.org>; Wed, 10 Apr 2024 02:30:20 +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: <1712716201.a6c40d35ca61948c30fd5f4b729df2919bf6ba8a.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/icu/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-libs/icu/icu-74.2.ebuild
X-VCS-Directories: dev-libs/icu/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: a6c40d35ca61948c30fd5f4b729df2919bf6ba8a
X-VCS-Branch: master
Date: Wed, 10 Apr 2024 02:30:20 +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: 3e163ccd-8f6e-450d-86db-38b22b79e831
X-Archives-Hash: 84be1a69d0f8f1ade49b641773f67500

commit:     a6c40d35ca61948c30fd5f4b729df2919bf6ba8a
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Tue Apr  9 23:18:17 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Apr 10 02:30:01 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6c40d35

dev-libs/icu: mark as LTO-unsafe

It is a test-only unsafety, but this prevents testing that the LTO'ed
version works.

Closes: https://bugs.gentoo.org/866947
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/icu/icu-74.2.ebuild | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/dev-libs/icu/icu-74.2.ebuild b/dev-libs/icu/icu-74.2.ebuild
index d95a60360a39..dcfd9ddc6d2b 100644
--- a/dev-libs/icu/icu-74.2.ebuild
+++ b/dev-libs/icu/icu-74.2.ebuild
@@ -69,6 +69,14 @@ src_prepare() {
 src_configure() {
 	MAKEOPTS+=" VERBOSE=1"
 
+	# -Werror=odr
+	# https://bugs.gentoo.org/866947
+	# https://unicode-org.atlassian.net/browse/ICU-22001
+	#
+	# Only present in testsuite, but unfortunately that means we cannot...
+	# test... LTO support.
+	filter-lto
+
 	# ICU tries to append -std=c++11 without this, so as of 71.1,
 	# despite GCC 9+ using c++14 (or gnu++14) and GCC 11+ using gnu++17,
 	# we still need this.