Package: binutils-gold
Version: 2.20-1
Severity: normal

I tested different packages in debian and noticed that it 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 momentt


--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.31-1-amd64

Debian Release: squeeze/sid
  500 unstable        ftp.debian.org 
  500 unstable        debian-multimedia.informatik.uni-erlangen.de 
  500 testing         ftp.debian.org 
  500 stable          ftp.debian.org 
    1 experimental    ftp.debian.org 

--- Package information. ---
Depends           (Version) | Installed
===========================-+-=============
libc6              (>= 2.3) | 2.10.1-3
libgcc1        (>= 1:4.1.1) | 1:4.4.2-1
libstdc++6         (>= 4.3) | 4.4.2-1
zlib1g         (>= 1:1.1.4) | 1:1.2.3.3.dfsg-15
binutils         (= 2.20-1) | 2.20-1


Package's Recommends field is empty.

Package's Suggests field is empty.






-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to