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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2A0241382C5 for ; Mon, 22 Mar 2021 10:07:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 663C1E0844; Mon, 22 Mar 2021 10:07:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 474D2E0844 for ; Mon, 22 Mar 2021 10:07:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DCA71335D9E for ; Mon, 22 Mar 2021 10:07:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7CD155D2 for ; Mon, 22 Mar 2021 10:07:01 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1616407582.a4484fc63431d84fd0b366557d1c8a5df964d1c0.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/icu/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/icu/icu-68.2.ebuild X-VCS-Directories: dev-libs/icu/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: a4484fc63431d84fd0b366557d1c8a5df964d1c0 X-VCS-Branch: master Date: Mon, 22 Mar 2021 10:07:01 +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: d2558e06-1cb6-452f-a04d-9acffff78cdb X-Archives-Hash: 94b86f73cf4995964840ef462c6673f7 commit: a4484fc63431d84fd0b366557d1c8a5df964d1c0 Author: David Michael gmail com> AuthorDate: Mon Mar 22 10:06:22 2021 +0000 Commit: David Seifert gentoo org> CommitDate: Mon Mar 22 10:06:22 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4484fc6 dev-libs/icu: work around cross-endian tests failing The tests need __USE_MISC, which is undefined by -std=c11, which is added by --enable-strict, which is the default setting. There are fallback tests that work for native builds and non-LTO builds, but this specific case has no fallback and requires this workaround. Closes: https://bugs.gentoo.org/757681 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: David Michael gmail.com> Signed-off-by: David Seifert gentoo.org> dev-libs/icu/icu-68.2.ebuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dev-libs/icu/icu-68.2.ebuild b/dev-libs/icu/icu-68.2.ebuild index 9f6649c9de0..1b834bbdc0c 100644 --- a/dev-libs/icu/icu-68.2.ebuild +++ b/dev-libs/icu/icu-68.2.ebuild @@ -91,6 +91,11 @@ multilib_src_configure() { --with-cross-build="${WORKDIR}"/host ) + # work around cross-endian testing failures with LTO #757681 + if tc-is-cross-compiler && is-flagq '-flto*' ; then + myeconfargs+=( --disable-strict ) + fi + # icu tries to use clang by default tc-export CC CXX