glibc/sysdeps/x86
H.J. Lu 46c9997413 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>
2024-04-24 04:50:56 -07:00
..
bits login: structs utmp, utmpx, lastlog _TIME_BITS independence (bug 30701) 2024-04-19 14:38:17 +02:00
fpu math: x86 trunc traps when FE_INEXACT is enabled (BZ 31603) 2024-04-04 14:29:28 -03:00
htl
include x86-64: Update _dl_tlsdesc_dynamic to preserve AMX registers 2024-02-29 04:30:01 -08:00
nptl
sys/platform
__longjmp_cancel.S
abi-note.c
atomic-machine.h
cacheinfo.c
cacheinfo.h
configure x86: Define MINIMUM_X86_ISA_LEVEL in config.h [BZ #31676] 2024-04-24 04:50:56 -07:00
configure.ac x86: Define MINIMUM_X86_ISA_LEVEL in config.h [BZ #31676] 2024-04-24 04:50:56 -07:00
cpu-features-offsets.sym x86-64: Update _dl_tlsdesc_dynamic to preserve AMX registers 2024-02-29 04:30:01 -08:00
cpu-features.c x86-64: Allocate state buffer space for RDI, RSI and RBX 2024-03-18 19:45:13 -07:00
cpu-tunables.c
dl-cacheinfo.h x86: Do not prefer ERMS for memset on Zen3+ 2024-02-13 08:49:13 -08:00
dl-diagnostics-cpu.c x86: Add generic CPUID data dumper to ld.so --list-diagnostics 2024-04-08 16:48:55 +02:00
dl-get-cpu-features.c
dl-hwcap2.h
dl-hwcap.h
dl-isa-level.h
dl-lookupcfg.h
dl-minsigstacksize.h
dl-new-hash.h
dl-procinfo.c x86: Update _dl_tlsdesc_dynamic to preserve caller-saved registers 2024-02-28 09:02:56 -08:00
dl-procinfo.h
dl-prop.h
dl-tunables.list
elf-initfini.h
elide.h
features-offsets.sym x86: Update _dl_tlsdesc_dynamic to preserve caller-saved registers 2024-02-28 09:02:56 -08:00
float128-abi.h
fpu_control.h
get-cpuid-feature-leaf.c
get-isa-level.h
hp-timing.h
init-arch.h
isa-ifunc-macros.h
isa-level.c
isa-level.h x86: Define MINIMUM_X86_ISA_LEVEL in config.h [BZ #31676] 2024-04-24 04:50:56 -07:00
jmp_buf-ssp.sym
ldbl2mpn.c
ldsodefs.h
libc-start.c
link_map.h
linkmap.h
longjmp.c
Makeconfig
Makefile x86: Update _dl_tlsdesc_dynamic to preserve caller-saved registers 2024-02-28 09:02:56 -08:00
readelflib.c
sysdep.h x86-64: Allocate state buffer space for RDI, RSI and RBX 2024-03-18 19:45:13 -07:00
tininess.h
tst-cpu-features-cpuinfo-static.c
tst-cpu-features-cpuinfo.c x86: Don't check XFD against /proc/cpuinfo 2024-02-28 11:50:38 -08:00
tst-cpu-features-supports-static.c
tst-cpu-features-supports.c x86: Change ENQCMD test to CHECK_FEATURE_PRESENT 2024-02-27 11:50:52 -08:00
tst-get-cpu-features-static.c
tst-get-cpu-features.c
tst-gnu2-tls2.c x86: Update _dl_tlsdesc_dynamic to preserve caller-saved registers 2024-02-28 09:02:56 -08:00
tst-hwcap-tunables.c
tst-ifunc-isa-1-static.c
tst-ifunc-isa-1.c
tst-ifunc-isa-2-static.c
tst-ifunc-isa-2.c
tst-ifunc-isa.h
tst-isa-level-1.c
tst-isa-level-mod-1-baseline.c
tst-isa-level-mod-1-v2.c
tst-isa-level-mod-1-v3.c
tst-isa-level-mod-1-v4.c
tst-isa-level-mod-1.c
tst-ldbl-nonnormal-printf.c
tst-memchr-rtm.c
tst-memcmp-rtm.c
tst-memmove-rtm.c
tst-memrchr-rtm.c
tst-memset-rtm.c
tst-setjmp-cet.c
tst-stack-align.h
tst-strcasecmp-rtm.c
tst-strchr-rtm.c
tst-strcmp-rtm.c
tst-strcpy-rtm.c
tst-string-rtm.h
tst-strlen-rtm.c
tst-strncasecmp-rtm.c
tst-strncmp-rtm.c
tst-strrchr-rtm.c
tst-sysconf-cache-linesize-static.c
tst-sysconf-cache-linesize.c
tst-wcscmp-rtm.c
tst-wcsncmp-rtm.c
utmp-size.h login: Check default sizes of structs utmp, utmpx, lastlog 2024-04-19 14:38:17 +02:00
Versions