]> 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>
Wed, 9 Jul 2025 13:45:46 +0000 (15:45 +0200)
commitcf462982ac44bf0f5dfd36a9c242628f0d2970b9
tree884565e741e5d5d6bcb342c00135b287bc40c91f
parent30c7cf66b80f718a819609441ec4f68c9b0b4a9e
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>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Makeconfig