gold and -flto always fails with an internal error on arm-linux-gnueabi*
Bug #1191909 reported by
Matthias Klose
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro Binutils |
Fix Released
|
Medium
|
Kugan Vivekanandarajah | ||
binutils |
Confirmed
|
Medium
|
|||
binutils (Debian) |
Fix Released
|
Unknown
|
|||
binutils (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Trusty |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
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/
collect2: error: ld returned 1 exit status
Changed in binutils: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in binutils (Debian): | |
status: | Unknown → Confirmed |
Changed in binutils-linaro: | |
assignee: | nobody → Kugan Vivekanandarajah (kugan-vivekanandarajah) |
Changed in binutils-linaro: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in binutils (Debian): | |
status: | Confirmed → Fix Released |
Changed in binutils-linaro: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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