glibc/sysdeps/unix/sysv/linux/powerpc
H.J. Lu 27b96e069a Raise the minimum GCC version to 12.1 [BZ #32539]
For all Linux distros with glibc 2.40 which I can find, GCC 14.2 is used
to compile glibc 2.40:

OS                    GCC      URL
AOSC                  14.2.0   https://aosc.io/
Arch Linux            14.2.0   https://archlinux.org/
ArchPOWER             14.2.0   https://archlinuxpower.org/
Artix                 14.2.0   https://artixlinux.org/
Debian                14.2.0   https://www.debian.org/
Devuan                14.2.0   https://www.devuan.org/
Exherbo               14.2.0   https://www.exherbolinux.org/
Fedora                14.2.1   https://fedoraproject.org/
Gentoo                14.2.1   https://gentoo.org/
Kali Linux            14.2.0   https://www.kali.org/
KaOS                  14.2.0   https://kaosx.us/
LiGurOS               14.2.0   https://liguros.gitlab.io/
Mageia                14.2.0   https://www.mageia.org/en/
Manjaro               14.2.0   https://manjaro.org/
NixOS                 14.2.0   https://nixos.org/
openmamba             14.2.0   https://openmamba.org/
OpenMandriva          14.2.0   https://openmandriva.org/
openSUSE              14.2.0   https://www.opensuse.org/
Parabola              14.2.0   https://www.parabola.nu/
PLD Linux             14.2.0   https://pld-linux.org/
PureOS                14.2.0   https://pureos.net/
Raspbian              14.2.0   http://raspbian.org/
Slackware             14.2.0   http://www.slackware.com/
Solus                 14.2.0   https://getsol.us/
T2 SDE                14.2.0   http://t2sde.org/
Ubuntu                14.2.0   https://www.ubuntu.com/
Wikidata              14.2.0   https://wikidata.org/

Support older versions of GCC to build glibc 2.42:

1. Need to work around bugs in older versions of GCC.
2. Can't use the new features in newer versions of GCC, which may be
required for new features, like _Float16 which requires GCC 12.1 or
above, in glibc,

The main benefit of supporting older versions of GCC is easier backport
of bug fixes to the older releases of glibc, which can be mitigated by
avoiding incompatible features in newer versions of GCC for critical bug
fixes.  Require GCC 12.1 or newer to build.  Remove GCC version check for
PowerPC and s390x.

TEST_CC and TEST_CXX can be used to test the glibc build with the older
versions of GCC.

For glibc developers who are using Linux OSes which don't come with GCC
12.1 or newer, they should build and install GCC 12.1 or newer to work
on glibc.

This fixes BZ #32539.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Sam James <sam@gentoo.org>
2025-03-31 08:04:29 -07:00
..
bits Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
powerpc32 Implement C23 pown 2025-03-27 10:44:44 +00:00
powerpc64 Implement C23 pown 2025-03-27 10:44:44 +00:00
sys Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
Implies
Makefile powerpc: Move AT_HWCAP descriptions to ld diagnostics 2025-03-05 11:22:09 -03:00
Versions
cancellation-pc-check.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
configure Raise the minimum GCC version to 12.1 [BZ #32539] 2025-03-31 08:04:29 -07:00
configure.ac Raise the minimum GCC version to 12.1 [BZ #32539] 2025-03-31 08:04:29 -07:00
cpu-features.c powerpc: Remove unused dl-procinfo.h 2025-03-05 11:22:09 -03:00
cpu-features.h powerpc: Move AT_HWCAP descriptions to ld diagnostics 2025-03-05 11:22:09 -03:00
dl-auxv.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
dl-cache.h
dl-hwcap-info.c powerpc: Move AT_HWCAP descriptions to ld diagnostics 2025-03-05 11:22:09 -03:00
dl-hwcap-info.h powerpc: Move AT_HWCAP descriptions to ld diagnostics 2025-03-05 11:22:09 -03:00
dl-support.c
elision-conf.c Remove dl-procinfo.h 2025-03-05 11:22:09 -03:00
elision-conf.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
elision-lock.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
elision-timed.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
elision-trylock.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
elision-unlock.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
get_timebase_freq.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
gettimeofday.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
htm.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
internal-ioctl.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
ipc_priv.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
kernel-features.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
kernel_sigaction.h
kernel_termios.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
ldd-rewrite.sed
libc-start.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
libc-start.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
libc-vdso.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
libpthread-compat.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
nldbl-abi.h
pointer_guard.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
pthread_attr_setstack.c
pthread_attr_setstacksize.c
readelflib.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
rt-sysdep.c
rtld_static_init.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
sigcontextinfo.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
socket-constants-time64.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
struct_kernel_shmid64_ds.h
syscall.S Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
syscall_cancel.S Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
sysconf.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
sysdep.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
sysdep.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
test-gettimebasefreq-static.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
test-gettimebasefreq.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
test-powerpc-linux-sysconf.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
time.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-hwcap-tunables.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
xstatver.h