wine (I'm using the current HEAD from git) can be built when ld is gold (I'm
using GNU gold (GNU Binutils 2.20.51.20100605) 1.9), but wine will then
segfault
immediately. gdb says it's segfaulting in ld.so. Here's the build command
line
for the wine binary:
gcc -m32 -o wine -Wl,--export-dynamic -Wl,--section-start,.interp=0x7bf00400
main.o -L../libs/wine -lwine ../libs/port/libwine_port.a -lpthread -Wl,--
rpath,\$ORIGIN/../libs/wine
The offending option appears to be "-Wl,--section-start,.interp=0x7bf00400".
If
I remove that, the wine binary does not segfault immediately.
--
Summary: wine segfaults in ld.so when built with gold
Product: binutils
Version: 2.21 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: gold
AssignedTo: ian at airs dot com
ReportedBy: felix-glibc at fefe dot de
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=11712
------- 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