This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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] Fix DT_NEEDED search with --as-needed libraries (PR ld/2721)


On Friday 02 June 2006 10:49, Jakub Jelinek wrote:
> Because without it --as-needed isn't really usable with libtool,
> unless libtool is changed to pass -Wl,--rpath-link with every single
> library it adds (and even in that case it might do unexpected things if
> there are multiple libraries in the same directory).
Quite a common scenario indeed, I just (well, two days ago) hit this kind of 
problem in kdelibs update: a just built library was linked against the 
installed copy of another library because of this, but there was a missing 
function that's only present in the new copy of them.

Thanks for this patch Jakub, this was one of the main issues I've encountered 
with --as-needed up to now.

-- 
Diego "Flameeyes" Pettenò - http://farragut.flameeyes.is-a-geek.org/
Gentoo/Alt lead, Gentoo/FreeBSD, Video, AMD64, Sound, PAM, KDE

Attachment: pgp00000.pgp
Description: PGP signature


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