]> 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>
Mon, 23 Jun 2025 11:28:17 +0000 (13:28 +0200)
commit407fe3d694f099d892961ad634c5aae88b371dc9
tree159e0a1fc28b0c1dc00ea21b742dc91eb8d7a9fe
parentb3b0d0308c95d213f019b19c33abf1b06911f528
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