[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg-shlibdeps: warning: dependency on.... (they use none of its symbols)



On Fri, 2009-03-20 at 13:53 +0900, Paul Wise wrote:
> On Fri, Mar 20, 2009 at 12:03 AM, Miguel Landaeta <miguel@miguel.cc> wrote:
> > On Thu, Mar 19, 2009 at 11:58 PM, Paul Wise <pabs@debian.org> wrote:
> >> A workaround is to add -Wl,--as-needed to LDFLAGS, Gentoo has a
> >> document about that here:
> >>
> >> http://www.gentoo.org/proj/en/qa/asneeded.xml
> >>
> >> Please note that using --as-needed can cause other (worse) problems.
> >
> > Just curiosity, what kind of problems can be caused from using --as-needed?
> 
> My memory of this is vague, searching the BTS I found these though:
> 
> http://bugs.debian.org/379748
> http://udrepper.livejournal.com/11056.html
> http://udrepper.livejournal.com/10946.html
> http://bugs.debian.org/502083
> http://bugs.debian.org/320697
> 
> -- 
> bye,
> pabs
> 
> http://wiki.debian.org/PaulWise
> 
> 
In that case would I be right in summarizing this up as --as-needed
causes issues only when dlopen is used where the dlopen'd library
requires symbols that are linked in via -lsomelibrary?
-- 
Chow Loong Jin

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: