------- 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: http://sourceware.org/binutils 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. Cheers Nick -- http://sourceware.org/bugzilla/show_bug.cgi?id=3535 ------- 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 bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils