Trying to run the umount binary linked to the shared klibc library on Linux
x86_64 results in an immediate kill by SIGKILL. I've traced the problem back to
the commit on 2007-05-30 13:38:50 UTC, src/bfd/elf.c r1.389 => r.1390, see
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf.c.diff?r1=1.389&r2=1.390&cvsroot=src&f=h
for the change. Applying the reverse patch on top of the Linux binutils
2.17.50.0.17 fixes the issue.
This has been tested with klibc 1.5 and gcc 4.2-20070620 on Linux 2.6.21.5
The Linux binutils 2.17.50.0.17 is affected by this problem, 2.17.50.0.16 was
ok.
--
Summary: binutils generates invalid klibc-based binary on Linux
x86_64
Product: binutils
Version: 2.18 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: binutils
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: j at bitron dot ch
CC: bug-binutils at gnu dot org
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://sourceware.org/bugzilla/show_bug.cgi?id=4701
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils