[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/10244] New: Internal error in relocate_sections, at reloc.cc:8

From: apratt at us dot ibm dot com
Subject: [Bug gold/10244] New: Internal error in relocate_sections, at reloc.cc:842
Date: 5 Jun 2009 18:03:44 -0000

I have an input file which gold chokes on: it causes an internal error in
relocate_sections, at reloc.cc:842. The host linker accepts this input file
without complaint.

I found this on x86_64 Linux RHEL 4 U6. The default linker I have is GNU ld
version 20040927.

The input file is a modified copy of /usr/lib64/crtn.o. The copy has been
modified by IBM Rational PurifyPlus to add instrumentation for detecting memory
usage errors. This modified file is acceptable to the system linker but causes
the internal error in gold.

This file is normally part of a larger link line, but the internal error
reproduces even when it's alone:

ld crtn_pure_p9_c0_106041930_64.o 

Other object files modified by PurifyPlus don't cause this internal error, only
this one. I don't know what's special about crtn.o that it causes Purify to
produce something that gold doesn't like. The object file is quite small, so I
hope the cause will be easy for a gold developer to find.

This internal error blocks users of IBM Rational PurifyPlus from using gold.

           Summary: Internal error in relocate_sections, at reloc.cc:842
           Product: binutils
           Version: 2.19
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
        AssignedTo: ian at airs dot com
        ReportedBy: apratt at us dot ibm dot com
                CC: bug-binutils at gnu dot org
 GCC build triplet: 2.19.51


------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]