[Bug 808767] Re: objdump --only-keep-debug cause the resulting binary to be statically linked on i386 arch
Matthias Klose
doko at ubuntu.com
Fri Sep 7 14:14:22 UTC 2012
works at least in quantal
** Changed in: binutils (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to binutils in Ubuntu.
https://bugs.launchpad.net/bugs/808767
Title:
objdump --only-keep-debug cause the resulting binary to be statically
linked on i386 arch
Status in “binutils” package in Ubuntu:
Fix Released
Bug description:
The attachment is extracted from one of lintian's self tests.
I ran the following experiment on a Natty (i386) installation:
$ gcc -o basic basic.c
$ objcopy --only-keep-debug basic basic.copy
$ file basic basic.copy
basic: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, not stripped
basic.copy: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked (uses shared libs), for GNU/Linux 2.6.15, not stripped
This does not happen on amd64 arch.
Also I tried in on a Debian (i386) chroot, and this problem does not happen.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/808767/+subscriptions
More information about the foundations-bugs
mailing list