[llvm-bugs] [Bug 30866] New: Integrated assembler uses bad address for darwin/ppc GCC_except_table0

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Nov 1 15:24:32 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=30866

            Bug ID: 30866
           Summary: Integrated assembler uses bad address for darwin/ppc
                    GCC_except_table0
           Product: clang
           Version: unspecified
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jeremyhu at apple.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

$ clang++-mp-3.7 -stdlib=libstdc++ -arch ppc test_throw.cxx
ld: warning: 32-bit absolute address out of range (0x100001ED8 max is 4GB):
from GCC_except_table0 + 0x00000048 (0x00001F4C) to 0x100001ED8

Attaching output of:

$ clang++-mp-3.7 test_throw.cxx -stdlib=libstdc++ -arch ppc -c -o
test_throw.clang.o
$ clang++-mp-3.7 test_throw.cxx -stdlib=libstdc++ -arch ppc -S -o
test_throw.clang.s
$ g++-apple-4.2 test_throw.cxx -arch ppc -c -o test_throw.gcc.o
$ g++-apple-4.2 test_throw.cxx -arch ppc -S -o test_throw.gcc.s

---

Also an issue with 3.8.  I just wasn't using it for other reasons at the time:

$ clang++-mp-3.8 -stdlib=libstdc++ -arch ppc test_throw.cxx
ld: warning: 32-bit absolute address out of range (0x100001ED8 max is 4GB):
from GCC_except_table0 + 0x00000048 (0x00001F4C) to 0x100001ED8

---

3.9+ fail to build on Leopard at the moment, so I haven't tried them yet, but I
doubt this issue is fixed in newer builds.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20161101/56edaa5f/attachment.html>


More information about the llvm-bugs mailing list