NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: toolchain/61079: ld compat linker warnings considered harmful
The following reply was made to PR toolchain/61079; it has been noted by GNATS.
From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: toolchain/61079: ld compat linker warnings considered harmful
Date: Wed, 25 Nov 2026 23:08:39 +0000
On Wed, Nov 25, 2026 at 10:50:01PM +0000, David Holland via gnats wrote:
> > # gcc -o a a.c -lgssapi
> > ld: /usr/lib/libutil.so.7: warning: warning: reference to compatibility login_getpwclass(); include <login_cap.h> for correct reference
>
> What is generating the reference to the obsolete login_getpwclass
> symbol? Are we sure that libgssapi was built correctly? If it wasn't,
> that should be fixed.
>
> Unless the linker is making this reference up on its own
...which apparently it is. There are some uses of login_getpwclass in
the tree (though none in kerberos), but the symbol "pw_copyx" that
it's also complaining about doesn't exist in base outside of libutil.
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index