https://sourceware.org/bugzilla/show_bug.cgi?id=21700
Bug ID: 21700
Summary: powerpc-ibm-aix6.1.0.0 fails with unresolved symbols
Product: binutils
Version: 2.28
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gas
Assignee: unassigned at sourceware dot org
Reporter: james.reynolds at cristie dot com
Target Milestone: ---
Created attachment 10238
--> https://sourceware.org/bugzilla/attachment.cgi?id=10238&action=edit
Potential patch
When creating a Linux / AIX cross-compiler I hit the following error:
/tmp/ccLI9PmP.s:2660: Error: can't resolve `_ehpersonality.rw_[RW]' {.data
section} - `__gcc_unwind_dbase' {*UND* section}
This is caused by this instruction:
.vbyte 4,LDFCM..0-__gcc_unwind_dbase
This doesn't assemble as TC_VALIDATE_FIX_SUB (which checks to see whether
unresolved symbols are admissible in subtraction expressions) is defined as 0
in tc-ppc.h.
Compiling using the default IBM as is successful:
$ as -u -many eh_personality.s -o eh_personality.o && echo OK
OK
The attached patch solves the issue, but unfortunately I don't have a small
enough example to test whether this is the correct thing to do and I've become
stuck on a linker error later in the build.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils