I'm using gold to speed up linking on my Beagleboard. Compile jobs run on a
different machine but the linker has to run locally so its speed is important.
When compiling the Qt toolkit (version 4.6.1 with a few patches, shouldn't
matter) ld aborts with an assert failure during the linking of QtWebKit, which
is linked from several hundred object files and requires a lot memory to link.
The compiler used is CodeSourcery's 2009q3-68 version (I've made Icecream cross
compile packages from the binary distribution...)
The error message is:
/usr/bin/ld: internal error in scan_sections_for_stubs, at arm.cc:5656

The first few lines of the latest ChangeLog entry are:
2010-02-03  Doug Kwan  <dougk...@google.com>

        * arm-reloc-property.cc
        (Arm_reloc_property_table::reloc_name_in_error_message): New method
        definition.

configure flags are:
--enable-target=arm

The Linux distribution is Ubuntu 9.10 for ARM.
(I also get two rather easily fixable compilation errors on my system, a
missing #include and an object file that is passed to gcc twice during link.)

-- 
           Summary: Assert failure in arm.cc
           Product: binutils
           Version: 2.21 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
        AssignedTo: ian at airs dot com
        ReportedBy: ahartmetz at gmail dot com
                CC: bug-binutils at gnu dot org
 GCC build triplet: armv7l-unknown-linux-gnueabi
  GCC host triplet: armv7l-unknown-linux-gnueabi
GCC target triplet: armv7l-unknown-linux-gnueabi


http://sourceware.org/bugzilla/show_bug.cgi?id=11247

------- 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

Reply via email to