Hi, ld weirdly segfaults while trying to link the attached object file in combination with --relax. You can reproduce it by simply typing:
gcc -shared vncauth.o -Wl,--relax -o vncauth.so collect2: ld terminated with signal 11 [Segmentation fault] /usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.0/../../../../powerpc-unknown-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object. I could reproduce it in a i686-linux X powerpc-linux cross environment with passing -lc: powerpc-linux-gcc -shared vncauth.o -Wl,--relax -lc -o vncauth.so collect2: ld terminated with signal 11 [Segmentation fault] uname -a Linux golan 2.6.16 #3 Fri May 5 15:26:23 CEST 2006 ppc 7450, altivec supported GNU/Linux ld --version GNU ld version 2.16.92 20060416 Copyright 2005 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has absolutely no warranty. gcc -v Using built-in specs. Target: powerpc-unknown-linux-gnu Configured with: ../gcc-4.1.0/configure --prefix=/usr --enable-altivec --disable-nls --disable-libmudflap --disable-libssp --enable-languages=c,c++ --enable-threads=posix --enable-__cxa_atexit Thread model: posix gcc version 4.1.0 -- Summary: ld segfaults in combination with --relax Product: binutils Version: 2.16 Status: NEW Severity: critical Priority: P2 Component: ld AssignedTo: unassigned at sources dot redhat dot com ReportedBy: balkohen at gmail dot com CC: bug-binutils at gnu dot org GCC build triplet: powerpc-linux GCC host triplet: powerpc-linux GCC target triplet: powerpc-linux http://sourceware.org/bugzilla/show_bug.cgi?id=2658 ------- 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 bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils