Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Apr 1995 20:25:01 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        jkh@FreeBSD.org, phk@FreeBSD.org, pst@cisco.com
Cc:        current@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   Re: READ BEFORE SUPPING: critical change to login/su
Message-ID:  <199504041025.UAA17738@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>Unfortunately, it looks like when someone changed libmd to no longer be
>share, we had an unforseen breakage of skey.

>Apparently, the linker does not resolve undefined symbols of shared libraries
>at link time, and libskey.so.2.0 makes references to stuff found in libmd.a.
>The modules in libmd.a that skey requires were not getting linked into the
>actual programs that used skey, so when someone actually invoked skey based
>programs like keyinit(1) there were unresolved runtime references
>(bloody amazing this wasn't caught earlier).

`ld -Bdynamic' currently has the evil behaviour of not reporting
unresolved references.  This stops incorrectly ordered lists of
libraries from being detected at link time.  The unresolved references
aren't reported until the reference is used (maybe never).  The problem
is masked if all libraries are shared because standard ordering doesn't
apply (another bug).

>Jordan/Paul (I am not making the change, I have retired :-))

I missed your retirement speech :-).

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504041025.UAA17738>