mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-08 00:05:33 +03:00
dev-libs/icu: workaround GCC 16 bug
GCC 16 performs more aggressive speculative devirtualisation. It's not clear yet if this is actually an ICU bug or not, but workaround it for now. Bug: https://gcc.gnu.org/PR122058 Bug: https://bugs.gentoo.org/963337 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
4aed04fafb
commit
6534bf4d1b
@ -7,7 +7,7 @@ EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/icu.asc
|
||||
inherit autotools multilib-minimal python-any-r1 toolchain-funcs verify-sig
|
||||
inherit autotools flag-o-matic multilib-minimal python-any-r1 toolchain-funcs verify-sig
|
||||
|
||||
MY_PV=${PV/_rc/-rc}
|
||||
MY_PV=${MY_PV//./_}
|
||||
@ -98,6 +98,9 @@ src_configure() {
|
||||
popd >/dev/null || die
|
||||
fi
|
||||
|
||||
# Workaround for bug #963337 (gcc PR122058)
|
||||
tc-is-gcc && [[ $(gcc-major-version) -eq 16 ]] && append-cxxflags -fno-devirtualize-speculatively
|
||||
|
||||
multilib-minimal_src_configure
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user