New: sstrip creates corrupted headers
https://bugs.busybox.net/show_bug.cgi?id=729
Host: x86_64-linux
Target: MIPS/MIPSel
Summary: sstrip creates corrupted headers
Product: buildroot
Version: 2009.11
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: minimod at morethan.org
CC: buildroot at uclibc.org
Estimated Hours: 0.0
Although only a static file is shown, results are the same for dynamic objects.
Having selected sstrip:
mszick at deb2core:/Builds/BLDRT/buildroot$ ls -l output/target/sbin/pkgdetails -rwxr-xr-x 1 mszick mszick 42199 2009-11-18 12:41 output/target/sbin/pkgdetails
mszick at deb2core:/Builds/BLDRT/buildroot$ file output/target/sbin/pkgdetails output/target/sbin/pkgdetails: ELF 32-bit LSB executable, MIPS, MIPS32 rel2 version 1 (SYSV), statically linked, corrupted section header size
Having selected strip:
mszick at deb2core:/Builds/BLDRT/buildroot/output/target/sbin$ ls -l pkgdetails -rwxr-xr-x 1 mszick mszick 46992 2009-11-18 13:38 pkgdetails
mszick at deb2core:/Builds/BLDRT/buildroot/output/target/sbin$ file pkgdetails
pkgdetails: ELF 32-bit LSB executable, MIPS, MIPS32 rel2 version 1 (SYSV), statically linked, with unknown capability 0xf41 = 0x756e6700, stripped
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 729] sstrip creates corrupted headers
https://bugs.busybox.net/show_bug.cgi?id=729
Thomas Petazzoni <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|2009.11 |2010.02
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 729] sstrip creates corrupted headers
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=729
--- Comment #1 from Thomas Petazzoni <[email protected]> 2010-02-21 19:03:53 UTC --- Does the resulting file runs properly on the target or not ?
I'm not sure what sstrip does compared to strip, but it might be that sstrip strips things that confuse tools such as "file" while still allowing the program to run properly.
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 729] sstrip creates corrupted headers
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=729
Thomas Petazzoni <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|2010.02 |2010.05
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 729] sstrip creates corrupted headers
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=729
Thomas Petazzoni <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED--- Comment #2 from Thomas Petazzoni <[email protected]> --- Quite likely fixed by
http://git.buildroot.net/buildroot/commit/?id=c0e307b848d8de23e6f10a179c4f240c023c8b82
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.