Package: binutils-gold
Version: 2.20-1
Severity: normal
Forwarded: http://sourceware.org/bugzilla/show_bug.cgi?id=10880
A simple
echo "int main() {return 0;}" > testme.c
gcc -Wl,--as-needed testme.c -o testme -lglib-2.0
will link against glib-2.0 even if it is not used. So
readelf -d testme|grep -e '(NEEDED)' -e 'glib-2.0'
will not be an empty string.
--- 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 [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]