diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-01-29 10:30:19 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-01-29 14:08:18 -0300 |
commit | a50a080f6b0f958eb30d7520212f25f946ed7f8f (patch) | |
tree | 592dba7d2db9da3bef5ae7a3f229bc77876151c4 /elf/reldep6mod2.c | |
parent | d7f4f3f5fb1275f0b3d9f4e1b3d9d7b75a5a9e26 (diff) | |
download | glibc-a50a080f6b0f958eb30d7520212f25f946ed7f8f.tar.gz glibc-a50a080f6b0f958eb30d7520212f25f946ed7f8f.tar.xz glibc-a50a080f6b0f958eb30d7520212f25f946ed7f8f.zip |
elf: Fix tests that rely on ld.so.cache for cross-compiling
For configurations with cross-compiling equal to 'maybe' or 'no', ldconfig will not run and thus the ld.so.cache will not be created on the container testroot.pristine. This lead to failures on both tst-glibc-hwcaps-prepend-cache and tst-ldconfig-ld_so_conf-update on environments where the same compiler can be used to build different ABIs (powerpc and x86 for instance). This patch addas a new test-container hook, ldconfig.run, that triggers a ldconfig execution prior the test execution. Checked on x86_64-linux-gnu and i686-linux-gnu.
Diffstat (limited to 'elf/reldep6mod2.c')
0 files changed, 0 insertions, 0 deletions