As H. J. Lu told me, I'm opening a bug report.
I'm using Slackware -current and some time ago decided to upgrade to 2.16.91.0.6
because it ships with 2.15.92.0.2.
What happens is that, whenever I compile something with -Wl,-s added in LDFLAGS
or another place in the Makefile, so that it strips the binaries/libraries and I
don't have to use strip(1), the final sizes are different. With the old version,
there's nothing left to strip if I use -Wl,-s. With the new version, if I use
strip(1), it strips something, and the final sizes are then the same and
md5sum(1) matches. This is with GCC 3.4.6 (also was with 3.4.5) on x86.
I have some small binaries from udev 0.87 if someone wants to take a look. I'm
very clueless about it and what may be causing it.
--
Summary: -Wl,-s doesn't strip everything in 2.16.91.0.6
Product: binutils
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: binutils
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: others1 at pervalidus dot net
CC: bug-binutils at gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://sourceware.org/bugzilla/show_bug.cgi?id=2462
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils