seen with gcc-4.7 and binutils 2.22, and 4.8 and binutils trunk,
$ echo "int main() {return 0;}" >a.c $ gcc -fuse-ld=gold -flto a.c /usr/bin/ld.gold: internal error in do_read_symbols, at ../../gold/arm.cc:6735 collect2: error: ld returned 1 exit status
seen with gcc-4.7 and binutils 2.22, and 4.8 and binutils trunk,
$ echo "int main() {return 0;}" >a.c arm.cc: 6735
$ gcc -fuse-ld=gold -flto a.c
/usr/bin/ld.gold: internal error in do_read_symbols, at ../../gold/
collect2: error: ld returned 1 exit status