diff options
author | Florian Weimer <fweimer@redhat.com> | 2019-03-14 15:02:52 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2019-03-14 15:38:00 +0100 |
commit | 081bdf942126b7d4a368d09438a06fd831c14dad (patch) | |
tree | 0443315f5c94d1b07bb59c29c6c1ac61beb4712a /ChangeLog | |
parent | 97f8225d22ef727ae9935cc231643efdc430d530 (diff) | |
download | glibc-081bdf942126b7d4a368d09438a06fd831c14dad.zip glibc-081bdf942126b7d4a368d09438a06fd831c14dad.tar.gz glibc-081bdf942126b7d4a368d09438a06fd831c14dad.tar.bz2 |
nss: Fix tst-nss-files-alias-truncated for default --as-needed linking
Linking to the NSS module directly does not work if the linker defaults
to --as-needed because it will remove the apparently unused DSO
reference and not generate a DT_NEEDED entry. Use an explicit dlopen
call, like in the other chroot tests involving NSS modules.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,11 @@ +2019-03-14 Florian Weimer <fweimer@redhat.com> + + * nss/tst-nss-files-alias-truncated.c (do_test): Load + libnss_files. + * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl, + but not with libnss_files. + (tst-nss-files-alias-truncated.out): Depend on libnss_files. + 2019-03-14 Zack Weinberg <zackw@panix.com> * scripts/check-obsolete-constructs.py (HeaderChecker.check): |