http://sourceware.org/bugzilla/show_bug.cgi?id=13947
Bug #: 13947
Summary: Strip applied twice corrupts binaries compiled with
--emit-relocs
Product: binutils
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: binutils
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
I need to produce binaries with --emit-relocs options passed to the linker.
After calling strip once on the freshly compiled binary, it runs fine, but
after applying strip again, as it sometimes happens in complicated build
systems, the binary is corrupted and segfaults.
This doesn't happen with binaries compiled without --emit-relocs, in which case
strip is idempotent indeed.
I tried that with different versions of GCC with both C and C++ programs. I
also tried different versions of binutils and x86_64, i386 and arm
architectures.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils