bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/21700] New: powerpc-ibm-aix6.1.0.0 fails with unresolved symbol


From: james.reynolds at cristie dot com
Subject: [Bug gas/21700] New: powerpc-ibm-aix6.1.0.0 fails with unresolved symbols
Date: Mon, 03 Jul 2017 09:57:52 +0000

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.


reply via email to

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