glibc/sysdeps
H.J. Lu 2f8f157eb0 x86: Define MINIMUM_X86_ISA_LEVEL in config.h [BZ #31676]
Define MINIMUM_X86_ISA_LEVEL at configure time to avoid

/usr/bin/ld: …/build/elf/librtld.os: in function `init_cpu_features':
…/git/elf/../sysdeps/x86/cpu-features.c:1202: undefined reference to `_dl_runtime_resolve_fxsave'
/usr/bin/ld: …/build/elf/librtld.os: relocation R_X86_64_PC32 against undefined hidden symbol `_dl_runtime_resolve_fxsave' can not be used when making a shared object
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status

when glibc is built with -march=x86-64-v3 and configured with
--with-rtld-early-cflags=-march=x86-64, which is used to allow ld.so to
print an error message on unsupported CPUs:

Fatal glibc error: CPU does not support x86-64-v3

This fixes BZ #31676.
Reviewed-by: Sunil K Pandey <skpgkp2@gmail.com>

(cherry picked from commit 46c9997413)
2024-04-25 13:16:51 +02:00
..
aarch64 AArch64: Check kernel version for SVE ifuncs 2024-04-09 19:58:25 +01:00
alpha Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
arc Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
arm elf: Enable TLS descriptor tests on aarch64 2024-04-01 11:16:32 -07:00
csky Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
generic powerpc: Add HWCAP3/HWCAP4 data to TCB for Power Architecture. 2024-03-20 18:09:32 -05:00
gnu Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
hppa Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
htl Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
hurd Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
i386 i386: ulp update for SSE2 --disable-multi-arch configurations 2024-04-25 12:58:21 +02:00
ieee754 math: remove exp10 wrappers 2024-01-12 16:02:12 +00:00
loongarch Apply the Makefile sorting fix 2024-04-14 05:41:02 -07:00
m68k math: remove exp10 wrappers 2024-01-12 16:02:12 +00:00
mach Make __getrandom_nocancel set errno and add a _nostatus version 2024-01-12 14:23:11 +01:00
microblaze Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
mips math: Update mips64 ulps 2024-02-22 21:29:26 +01:00
nios2 Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
nptl Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
or1k Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
posix Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
powerpc powerpc: Fix ld.so address determination for PCREL mode (bug 31640) 2024-04-14 08:25:43 +02:00
pthread nptl: Fix tst-cancel30 on kernels without ppoll_time64 support 2024-04-25 12:57:32 +02:00
riscv riscv: add support for static PIE 2024-01-22 14:58:23 +01:00
s390 S390: Fix building with --disable-mutli-arch [BZ #31196] 2024-01-30 22:28:51 +01:00
sh Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
sparc sparc: Fix sparc64 memmove length comparison (BZ 31266) 2024-01-22 09:34:50 -03:00
unix AArch64: Check kernel version for SVE ifuncs 2024-04-09 19:58:25 +01:00
wordsize-32 Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
wordsize-64 Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
x86 x86: Define MINIMUM_X86_ISA_LEVEL in config.h [BZ #31676] 2024-04-25 13:16:51 +02:00
x86_64 x86_64: Exclude SSE, AVX and FMA4 variants in libm multiarch 2024-04-14 05:41:02 -07:00