[Top][All Lists]

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

[Bug binutils/3535] GNU strip 2.17 corrupts Sun CC/cc binaries (ld issue

From: nickc at redhat dot com
Subject: [Bug binutils/3535] GNU strip 2.17 corrupts Sun CC/cc binaries (ld issue?)
Date: 22 Feb 2007 17:55:42 -0000

------- Additional Comments From nickc at redhat dot com  2007-02-22 17:55 
Subject: Re:  GNU strip 2.17 corrupts Sun CC/cc binaries
 (ld    issue?)

Hi Peter,

> I'm not sure were to get "a strip built from the current mainline binutils
> sources" but I should be able to try that too if you can point me to it.

The sources are under CVS control and can be checked out via the 
procedure documented here:


There is no real need for you to do this though, as I have checked 
myself and these mainline sources also have the problem.

I do not know the cause yet, but at least one aspect of the problem is 
that the corrupt stripped binaries have a bogus .interp section.  (Try 
running 'readelf -l' on them to see this).  The bug is something to do 
with how the BFD library is regenerating the program headers after 
various sections have been stripped out of the binary.

I have tracked the huge size increase down to H.J.'s patch for PR 2258, 
but I do not know yet what, if anything, is wrong with that patch.  Nor 
do I know if the huge size increase is actually a problem.  After all on 
a file system that supports holes, the huge stripped binaries do not 
actually take up more disk space than their tiny brethren.




------- 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]