]> git.ipfire.org Git - thirdparty/glibc.git/commit
elf: don't clobber ld.so.conf in tst-glibc-hwcaps-prepend-cache [BZ #34210] master
authorSam James <sam@gentoo.org>
Sat, 6 Jun 2026 19:32:27 +0000 (20:32 +0100)
committerSam James <sam@gentoo.org>
Sat, 6 Jun 2026 20:22:46 +0000 (21:22 +0100)
commitd0cc9bf859d0434e397530d75a6507f13db79fba
tree9deffb3cd17026ee03b5d143e50badd7167c67d2
parent2b6f6710a1ee02b3ac87f3342306d82b3e7d087e
elf: don't clobber ld.so.conf in tst-glibc-hwcaps-prepend-cache [BZ #34210]

dbe5065f2166be20e57a24f246a40d50e001a05d and ae589cb84df10825fc545a45c7007a5f79409bf1
cater for setups where ld.so.conf{,.d} is required to find runtime support
libraries, but tst-glibc-hwcaps-prepend-cache clobbers the created ld.so.conf
with its own entry.

Fix it to instead use the ld.so.conf.d created in ae589cb84df10825fc545a45c7007a5f79409bf1
to co-exist with existing entries.

Bug: https://bugs.gentoo.org/976773
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31901
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=34210
Tested-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Reported-by: Eli Schwartz <eschwartz@gentoo.org>
Reviewed-by: Andreas K. Hüttel <dilfridge@gentoo.org>
elf/tst-glibc-hwcaps-prepend-cache.c