https://sourceware.org/bugzilla/show_bug.cgi?id=21700
James Reynolds <james.reynolds at cristie dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |james.reynolds at cristie dot com --- Comment #2 from James Reynolds <james.reynolds at cristie dot com> --- Created attachment 10241 --> https://sourceware.org/bugzilla/attachment.cgi?id=10241&action=edit Compiled assembly and CC files (In reply to Alan Modra from comment #1) > Please attach the assembly file giving this error, and the resuling object > file produced by IBM as. > > The patch you propose is just hiding a problem, perhaps with gcc. Most > relocation formats, including xcoff I believe, don't support relocations > with two or more symbols. Yes, you are indeed correct, I get an error later with: ld-new: .libs/compatibility.o: loader reloc in read-only section .text The attached file contains the *.cc file that comes from the pre-processing stage, the assembler output of compiling that (on an AIX box) and the result of compiling that using IBM as and using gnu as and my misguided patch. The errors from this file are: compatibility.s: Assembler messages: compatibility.s:959: Error: can't resolve `_compatibility.rw_[RW]' {.data section} - `__gcc_unwind_dbase' {*UND* section} compatibility.s:1330: Error: can't resolve `_compatibility.rw_[RW]' {.data section} - `__gcc_unwind_dbase' {*UND* section} compatibility.s:1389: Error: can't resolve `_compatibility.rw_[RW]' {.data section} - `__gcc_unwind_dbase' {*UND* section} -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils