[Bug 1191909] Re: gold and -flto always fails with an internal error on arm-linux-gnueabi*
Will Newton
will.newton at linaro.org
Tue Jul 8 19:30:46 UTC 2014
Upstream fix committed here:
commit f35c4853cc5b0e51d8a460be390f7a20cd44ba44
Author: Cary Coutant <ccoutant at google.com>
Date: Mon Jul 7 10:14:45 2014 -0700
Fix internal error with LTO on ARM.
This prevents the target-specific do_read_symbols methods from being called
twice when do_layout_deferred_sections needs to layout an .eh_frame section.
gold/
PR gold/15639
* dynobj.h (Sized_dynobj::base_read_symbols): New method.
* dynobj.cc (Sized_dynobj::do_read_symbols): Move body to...
(Sized_dynobj::base_read_symbols): ...new method.
* object.h (Sized_relobj_file::base_read_symbols): New method.
* object.cc (Sized_relobj_file::do_read_symbols): Move body to...
(Sized_relobj_file::base_read_symbols): ...new method.
* arm.cc (Arm_relobj::do_read_symbols): Call base_read_symbols.
* mips.cc: (Mips_relobj::do_read_symbols): Likewise.
* powerpc.cc (Powerpc_dynobj::do_read_symbols): Likewise.
** Changed in: binutils-linaro
Status: Triaged => Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to binutils in Ubuntu.
https://bugs.launchpad.net/bugs/1191909
Title:
gold and -flto always fails with an internal error on arm-linux-
gnueabi*
Status in binutils:
Confirmed
Status in Linaro Binutils:
Fix Committed
Status in “binutils” package in Ubuntu:
New
Status in “binutils” source package in Trusty:
New
Status in “binutils” package in Debian:
Confirmed
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/arm.cc:6735
collect2: error: ld returned 1 exit status
To manage notifications about this bug go to:
https://bugs.launchpad.net/binutils/+bug/1191909/+subscriptions
More information about the foundations-bugs
mailing list