cat > bug.i << EOF extern int errno; int main () { return errno; } EOF gcc bug.i collect2: ld terminated with signal 11 [Segmentation fault] /usr/local/lib/gcc/i686-pc-linux-gnu/3.5.0/../../../../i686-pc-linux-gnu/bin/ld: BFD 2.15.91 20040528 assertion fail ../../src/bfd/elflink.c:6088
I can't get reproduce the current linker.
confirmed on several linux/x86 nptl-based systems. ------------------------------------------------------------------- # gcc bug.c collect2: ld terminated with signal 11 [Segmentation fault] /usr/bin/ld: BFD 2.15.91.0.2 20040727 assertion fail elflink.c:6149 binutils-2.15.91.0.2-1 gcc-3.4.3-0.20040910.1 glibc-2.3.4-0.20040722.7+nptl
*** This bug has been marked as a duplicate of 414 ***