Public bug reported:

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.

** Affects: binutils (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/808767

Title:
  objdump --only-keep-debug cause the resulting binary to be statically
  linked on i386 arch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/808767/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to