2
0
mirror of git://sourceware.org/git/glibc.git synced 2025-02-23 13:09:58 +08:00
glibc/sysdeps
H.J. Lu cad5703e4f Fix elf: Do not duplicate the GLIBC_TUNABLES string
Fix issues in sysdeps/x86/tst-hwcap-tunables.c added by

Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Dec 6 10:24:01 2023 -0300

    elf: Do not duplicate the GLIBC_TUNABLES string

1. -AVX,-AVX2,-AVX512F should be used to disable AVX, AVX2 and AVX512.
2. AVX512 IFUNC functions check AVX512VL.  -AVX512VL should be added
to disable these functions.

This fixed:

FAIL: elf/tst-hwcap-tunables
...
[0] Spawned test for -Prefer_ERMS,-Prefer_FSRM,-AVX,-AVX2,-AVX_Usable,-AVX2_Usable,-AVX512F_Usable,-SSE4_1,-SSE4_2,-SSSE3,-Fast_Unaligned_Load,-ERMS,-AVX_Fast_Unaligned_Load
error: subprocess failed: tst-tunables
error:   unexpected output from subprocess
../sysdeps/x86/tst-hwcap-tunables.c:91: numeric comparison failure
   left: 1 (0x1); from: impls[i].usable
  right: 0 (0x0); from: false
../sysdeps/x86/tst-hwcap-tunables.c:91: numeric comparison failure
   left: 1 (0x1); from: impls[i].usable
  right: 0 (0x0); from: false
../sysdeps/x86/tst-hwcap-tunables.c:91: numeric comparison failure
   left: 1 (0x1); from: impls[i].usable
  right: 0 (0x0); from: false
../sysdeps/x86/tst-hwcap-tunables.c:91: numeric comparison failure
   left: 1 (0x1); from: impls[i].usable
  right: 0 (0x0); from: false
../sysdeps/x86/tst-hwcap-tunables.c:91: numeric comparison failure
   left: 1 (0x1); from: impls[i].usable
  right: 0 (0x0); from: false

[1] Spawned test for ,-,-Prefer_ERMS,-Prefer_FSRM,-AVX,-AVX2,-AVX_Usable,-AVX2_Usable,-AVX512F_Usable,-SSE4_1,-SSE4_2,,-SSSE3,-Fast_Unaligned_Load,,-,-ERMS,-AVX_Fast_Unaligned_Load,-,
error: subprocess failed: tst-tunables
error:   unexpected output from subprocess
../sysdeps/x86/tst-hwcap-tunables.c:91: numeric comparison failure
   left: 1 (0x1); from: impls[i].usable
  right: 0 (0x0); from: false
../sysdeps/x86/tst-hwcap-tunables.c:91: numeric comparison failure
   left: 1 (0x1); from: impls[i].usable
  right: 0 (0x0); from: false
../sysdeps/x86/tst-hwcap-tunables.c:91: numeric comparison failure
   left: 1 (0x1); from: impls[i].usable
  right: 0 (0x0); from: false
../sysdeps/x86/tst-hwcap-tunables.c:91: numeric comparison failure
   left: 1 (0x1); from: impls[i].usable
  right: 0 (0x0); from: false
../sysdeps/x86/tst-hwcap-tunables.c:91: numeric comparison failure
   left: 1 (0x1); from: impls[i].usable
  right: 0 (0x0); from: false

error: 2 test failures

on Intel Tiger Lake.
2023-12-19 13:34:14 -08:00
..
aarch64 aarch64: correct CFI in rawmemchr (bug 31113) 2023-12-05 12:49:37 +01:00
alpha alpha: Fix fesetexceptflag (BZ 30998) 2023-12-19 15:12:38 -03:00
arc
arm elf: Remove LD_PROFILE for static binaries 2023-11-21 16:15:42 -03:00
csky
generic elf: Do not duplicate the GLIBC_TUNABLES string 2023-12-19 13:25:45 -03:00
gnu Add TCP_MD5SIG_FLAG_IFINDEX from Linux 5.6 to netinet/tcp.h. 2023-11-28 13:44:47 +01:00
hppa hppa: Fix undefined behaviour in feclearexcept (BZ 30983) 2023-12-19 15:12:38 -03:00
htl
hurd
i386 x86: Do not raises floating-point exception traps on fesetexceptflag (BZ 30990) 2023-12-19 15:12:38 -03:00
ia64 elf: Remove LD_PROFILE for static binaries 2023-11-21 16:15:42 -03:00
ieee754 math: Add new exp10 implementation 2023-12-04 15:52:11 +00:00
loongarch elf: Remove LD_PROFILE for static binaries 2023-11-21 16:15:42 -03:00
m68k elf: Remove LD_PROFILE for static binaries 2023-11-21 16:15:42 -03:00
mach hurd: [!__USE_MISC] Do not #undef BSD macros in ioctls 2023-12-02 21:26:50 +01:00
microblaze
mips mips: dl-machine-reject-phdr: Get rid of alloca. 2023-10-02 12:55:27 +00:00
nios2
nptl
or1k
posix linux: Decorate __libc_fatal error buffer 2023-11-07 10:27:53 -03:00
powerpc powerpc: Do not raise exception traps for fesetexcept/fesetexceptflag (BZ 30988) 2023-12-19 15:12:34 -03:00
pthread sysdeps: sem_open: Clear O_CREAT when semaphore file is expected to exist [BZ ] 2023-11-03 15:19:38 -03:00
riscv riscv: Fix feenvupdate with FE_DFL_ENV (BZ 31022) 2023-12-19 15:12:38 -03:00
s390 elf: Do not duplicate the GLIBC_TUNABLES string 2023-12-19 13:25:45 -03:00
sh elf: Remove LD_PROFILE for static binaries 2023-11-21 16:15:42 -03:00
sparc Do not build sparc32 libgcc functions into static libc 2023-12-19 16:00:11 +00:00
unix elf: Do not duplicate the GLIBC_TUNABLES string 2023-12-19 13:25:45 -03:00
wordsize-32
wordsize-64
x86 Fix elf: Do not duplicate the GLIBC_TUNABLES string 2023-12-19 13:34:14 -08:00
x86_64 x86: Do not raises floating-point exception traps on fesetexceptflag (BZ 30990) 2023-12-19 15:12:38 -03:00