<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Integrated assembler uses bad address for darwin/ppc GCC_except_table0"
href="https://llvm.org/bugs/show_bug.cgi?id=30866">30866</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Integrated assembler uses bad address for darwin/ppc GCC_except_table0
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Macintosh
</td>
</tr>
<tr>
<th>OS</th>
<td>MacOS X
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>-New Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>jeremyhu@apple.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>$ 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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>