[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/13947] New: Strip applied twice corrupts binaries compiled
From: |
binutils-bugs at qult dot net |
Subject: |
[Bug binutils/13947] New: Strip applied twice corrupts binaries compiled with --emit-relocs |
Date: |
Thu, 05 Apr 2012 21:08:26 +0000 |
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: address@hidden
ReportedBy: address@hidden
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/13947] New: Strip applied twice corrupts binaries compiled with --emit-relocs,
binutils-bugs at qult dot net <=
- [Bug binutils/13947] Strip applied twice corrupts binaries compiled with --emit-relocs, amodra at gmail dot com, 2012/04/08
- [Bug binutils/13947] Strip applied twice corrupts binaries compiled with --emit-relocs, hjl.tools at gmail dot com, 2012/04/09
- [Bug binutils/13947] Strip applied twice corrupts binaries compiled with --emit-relocs, hjl.tools at gmail dot com, 2012/04/09
- [Bug binutils/13947] Strip applied twice corrupts binaries compiled with --emit-relocs, hjl.tools at gmail dot com, 2012/04/09
- [Bug binutils/13947] Strip applied twice corrupts binaries compiled with --emit-relocs, hjl.tools at gmail dot com, 2012/04/09
- [Bug binutils/13947] Strip applied twice corrupts binaries compiled with --emit-relocs, binutils-bugs at qult dot net, 2012/04/10
- [Bug ld/13947] Strip applied twice corrupts binaries compiled with --emit-relocs, hjl.tools at gmail dot com, 2012/04/10
- [Bug ld/13947] Strip applied twice corrupts binaries compiled with --emit-relocs, binutils-bugs at qult dot net, 2012/04/11
- [Bug ld/13947] Strip applied twice corrupts binaries compiled with --emit-relocs, hjl.tools at gmail dot com, 2012/04/11
- [Bug ld/13947] Strip applied twice corrupts binaries compiled with --emit-relocs, binutils-bugs at qult dot net, 2012/04/11