]> git.ipfire.org Git - thirdparty/glibc.git/commit
Makeconfig: Add libgcc directory to rtld-prefix search path
authorAndreas K. Hüttel <dilfridge@gentoo.org>
Sat, 8 Feb 2025 16:09:01 +0000 (17:09 +0100)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Tue, 8 Jul 2025 15:07:02 +0000 (17:07 +0200)
commite7836ec2bf61ed3ba31cdde2c4a9a562bde66222
treeeb313e53709e5f206308908e666e0089d0fe75d0
parent6afece738c2b8408585272a95090ce5d5345dd19
Makeconfig: Add libgcc directory to rtld-prefix search path

* This needs to be done twice, for test runs with and without
  --enable-hardcoded-path-in-tests
* Also, we need to query the used $(CC) for the library location.

* The container tests run ldd and dump the list of needed libraries, then
  copy these into the container.
* Without this patch, ldd may not find libgcc_s.so, resulting in"not found"
  output and no copying of the library.
* With this patch, the library is picked up independent of its location (as
  long as the proper directory is provided) and copied into the testroot.

* This does not mean yet that ld.so in the testroot actually finds it.

Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Makeconfig