Bug 31709 - ELF test suite regression in glibc 2.34 branch. (system libgcc_s dependency on glibc 2.35 or later)
Summary: ELF test suite regression in glibc 2.34 branch. (system libgcc_s dependency o...
Status: RESOLVED NOTABUG
Alias: None
Product: glibc
Classification: Unclassified
Component: libc (show other bugs)
Version: 2.34
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-08 01:32 UTC by Sunil Pandey
Modified: 2024-05-08 09:17 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:
fweimer: security-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sunil Pandey 2024-05-08 01:32:23 UTC
Getting ELF testsuite regression on Fedora 40 x86_64 platform, not sure if it is known issue.

Following are steps to reproduce it.

$make check subdirs=elf

FAIL: elf/constload1
FAIL: elf/global
FAIL: elf/tst-audit10
FAIL: elf/tst-audit11
FAIL: elf/tst-audit12
FAIL: elf/tst-audit14
FAIL: elf/tst-audit15
FAIL: elf/tst-audit16
FAIL: elf/tst-audit18
FAIL: elf/tst-audit22
FAIL: elf/tst-audit23
FAIL: elf/tst-audit24a
FAIL: elf/tst-audit24b
FAIL: elf/tst-audit24c
FAIL: elf/tst-audit24d
FAIL: elf/tst-audit25a
FAIL: elf/tst-audit25b
FAIL: elf/tst-audit26
FAIL: elf/tst-audit4
FAIL: elf/tst-audit5
FAIL: elf/tst-audit6
FAIL: elf/tst-audit7
FAIL: elf/tst-dlmopen-dlerror
FAIL: elf/tst-dlmopen-gethostbyname
FAIL: elf/tst-dlmopen-twice
FAIL: elf/tst-dlmopen1
FAIL: elf/tst-dlmopen3
FAIL: elf/tst-dlopen-nodelete-reloc
FAIL: elf/tst-nodelete-dlclose
FAIL: elf/tst-relro-ldso
FAIL: elf/tst-relro-libc
FAIL: elf/tst-relsort1
FAIL: elf/tst-single_threaded
FAIL: elf/tst-single_threaded-pthread
FAIL: elf/tst-sonamemove-dlopen
FAIL: elf/tst-sonamemove-link
FAIL: elf/tst-tls-ie-dlmopen
FAIL: elf/unload6
Comment 1 Florian Weimer 2024-05-08 09:16:49 UTC
This happens because libgcc_s in Fedora 40 requires the _dl_find_object@GLIBC_2.35 symbol, which is not present in glibc 2.34.

I tried to build and test glibc 2.34 on later Fedora releases (to simplify downstream development), but it doesn't quite work (even after copying libgcc_s from UBI9). Some of the tools on malloc/ have dependencies on system libraries that in turn require more recent glibc symbols.