This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] libnsl: Turn remaining symbols into compat symbols [BZ #22701]


On 01/30/2018 02:24 PM, Dmitry V. Levin wrote:
On Tue, Jan 30, 2018 at 01:14:18PM +0000, Joseph Myers wrote:
On Tue, 30 Jan 2018, Florian Weimer wrote:
On 01/30/2018 02:01 AM, Joseph Myers wrote:
I think this introduces test failures in the case where there is an
installed libnss_nis but you're not using --enable-obsolete-nsl, if
/etc/nsswitch.conf has "passwd: compat".

FAIL: nss/bug17079
FAIL: nss/tst-nss-getpwent

The output of make check for those tests shows (seen on Ubuntu 16.04):
"relocation error: /lib/x86_64-linux-gnu/libnss_nis.so.2: symbol
_nsl_default_nss version GLIBC_PRIVATE not defined in file libnsl.so.1
with link time reference", for both those tests.

Please try the attached patch.  It should not interfere with the test goal.

I confirm that this fixes those test failures for me.

Thanks, I think this patch should be applied then.

Thanks, I've pushed it.

Florian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]