toolchain.eclass: support ieee-long-double for ppc64 for >=8

--with-long-double-format=ieee was added in GCC 8. We need 11 to be
unmasked to be able to bootstrap D.

Drop the masks/unmasks as we don't have < GCC 8 in ::gentoo anymore and
it's confusing as other GCC versoins are masked for other reasons (EOL)
anyhow.

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James 2025-12-09 08:36:10 +00:00
parent 62ceb6b9e5
commit 113038a8da
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
5 changed files with 7 additions and 9 deletions

View File

@ -335,7 +335,7 @@ if [[ ${PN} != kgcc64 && ${PN} != gcc-* ]] ; then
tc_version_is_at_least 10 && IUSE+=" zstd" TC_FEATURES+=( zstd )
tc_version_is_at_least 11 && IUSE+=" valgrind" TC_FEATURES+=( valgrind )
tc_version_is_at_least 11 && IUSE+=" custom-cflags"
tc_version_is_at_least 12 && IUSE+=" ieee-long-double"
tc_version_is_at_least 8.0 && IUSE+=" ieee-long-double"
tc_version_is_at_least 12.2.1_p20221203 ${PV} && IUSE+=" default-znow"
tc_version_is_at_least 12.2.1_p20221203 ${PV} && IUSE+=" default-stack-clash-protection"
tc_version_is_at_least 13.1 ${PV} && IUSE+=" modula2"

View File

@ -1,7 +1,6 @@
# Copyright 2022-2024 Gentoo Authors
# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Georgy Yakovlev <gyakovlev@gentoo.org> (2022-12-04)
# We only need versions that support ieee-long-double.
<sys-devel/gcc-12
<sys-libs/glibc-2.36-r7

View File

@ -1,7 +1,7 @@
# Copyright 2022-2024 Gentoo Authors
# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Georgy Yakovlev <gyakovlev@gentoo.org> (2022-12-04)
# We need it for ieee-long-double.
>=llvm-core/clang-15.0.5 -ieee-long-double
>=sys-devel/gcc-12 -ieee-long-double
sys-devel/gcc -ieee-long-double

View File

@ -1,7 +1,6 @@
# Copyright 2022-2024 Gentoo Authors
# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Georgy Yakovlev <gyakovlev@gentoo.org> (2022-12-04)
# We only need versions that support ieee-long-double.
<sys-devel/gcc-12
<sys-libs/glibc-2.36-r7

View File

@ -1,7 +1,7 @@
# Copyright 2022-2024 Gentoo Authors
# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Georgy Yakovlev <gyakovlev@gentoo.org> (2022-12-04)
# We need it for ieee-long-double.
>=llvm-core/clang-15.0.5 -ieee-long-double
>=sys-devel/gcc-12 -ieee-long-double
sys-devel/gcc -ieee-long-double