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 2.15.92.0.2 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 http://sourceware.org/bugzilla/show_bug.cgi?id=10244 ------- 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