bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/10875] New: links against libraries I never have specified


From: robert dot wohlrab at gmx dot de
Subject: [Bug gold/10875] New: links against libraries I never have specified
Date: 31 Oct 2009 15:40:56 -0000

I tested different packages in debian and noticed that gold always links
against some libraries which aren't used and I never specified. I also tested
to use --as-needed and it didn't change that weird behavior. This doesn't
happen with the old binutils linker

Example output from zlib:

dpkg-shlibdeps: warning: dependency on libgcc_s.so.1 could be avoided if
"debian/zlib1g/usr/lib/libz.so.1.2.3.3" were not 
uselessly linked against it (they use none of its symbols).                     
dpkg-shlibdeps: warning: dependency on ld-linux-x86-64.so.2 could be avoided if
"debian/zlib1g/usr/lib/libz.so.1.2.3.3" were 
not uselessly linked against it (they use none of its symbols).              
dpkg-shlibdeps: warning: dependency on libgcc_s.so.1 could be avoided if
"debian/zlib-bin/usr/bin/miniunzip debian/zlib-
bin/usr/bin/minizip" were not uselessly linked against it (they use none of its
symbols).                                                                       
                                                                                
                                            
dpkg-shlibdeps: warning: dependency on ld-linux-x86-64.so.2 could be avoided if
"debian/zlib-bin/usr/bin/miniunzip 
debian/zlib-bin/usr/bin/minizip" were not uselessly linked against it (they use
none of its symbols).                                                           
                                                                                
                                                 
dpkg-shlibdeps: warning: dependency on libgcc_s.so.1 could be avoided if
"debian/zlib1g-udeb/usr/lib/libz.so.1.2.3.3" were 
not uselessly linked against it (they use none of its symbols).                
dpkg-shlibdeps: warning: dependency on libgcc_s.so.1 could be avoided if
"debian/lib32z1/usr/lib32/libz.so.1.2.3.3" were not 
uselessly linked against it (they use none of its symbols).                  
dpkg-shlibdeps: warning: dependency on ld-linux.so.2 could be avoided if
"debian/lib32z1/usr/lib32/libz.so.1.2.3.3" were not 
uselessly linked against it (they use none of its symbols).             

I had also a different package which also linked against libICE without any
visible reason, but cannot find it again at the moment

Downstream bug is http://bugs.debian.org/553436

-- 
           Summary: links against libraries I never have specified
           Product: binutils
           Version: 2.20
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
        AssignedTo: ian at airs dot com
        ReportedBy: robert dot wohlrab at gmx dot de
                CC: bug-binutils at gnu dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=10875

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]