<html>
<head>
<base href="https://bugs.llvm.org/">
</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 - Internal error building jfs for powerpc 64 BE"
href="https://bugs.llvm.org/show_bug.cgi?id=39478">39478</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Internal error building jfs for powerpc 64 BE
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</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>dja@axtens.net
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org, richard-llvm@metafoo.co.uk
</td>
</tr></table>
<p>
<div>
<pre>Hi,
I was trying to cross-compile the linux kernel for powerpc 64 big-endian, and
hit the following error:
CC [M] fs/jfs/jfs_imap.o
fatal error: error in backend: Cannot select: 0x5619f3272f00: ch =
PPCISD::STBRX<(store 1 into %ir.238 + 3)> 0x5619f32cc730:1, 0x5619f3270cb8,
0x5619f3270158, ValueType:ch:i8
0x5619f3270cb8: i32 = and 0x5619f3278170, Constant:i32<255>
0x5619f3278170: i32 = truncate 0x5619f32707d8
0x5619f32707d8: i64 = srl 0x5619f32cc730, Constant:i32<32>
0x5619f32cc730: i64,ch = load<(dereferenceable load 8 from %ir.4)>
0x5619f3294e78, FrameIndex:i64<0>, undef:i64
0x5619f326e958: i64 = FrameIndex<0>
0x5619f3294588: i64 = undef
0x5619f32ccad8: i32 = Constant<32>
0x5619f326ed68: i32 = Constant<255>
0x5619f3270158: i64 = add 0x5619f3270638, Constant:i64<531>
0x5619f3270638: i64,ch = CopyFromReg 0x5619f31be5f8, Register:i64 %44
0x5619f3277678: i64 = Register %44
0x5619f3270df0: i64 = Constant<531>
In function: diNewExt
clang-8: error: clang frontend command failed with exit code 70 (use -v to see
invocation)
clang version 8.0.0 (<a href="https://git.llvm.org/git/clang.git/">https://git.llvm.org/git/clang.git/</a>
dfa39ffd088e0a66bb88239556b029ebb8fc57fc) (<a href="https://github.com/llvm-mirror/llvm">https://github.com/llvm-mirror/llvm</a>
42e23ebc6e40be5e6edf47143145c5c34ec23fe0)
Target: powerpc64-unknown-linux-gnu
Thread model: posix
InstalledDir: /media/external/allmodout/../build/bin
clang-8: note: diagnostic msg: PLEASE submit a bug report to
<a href="https://bugs.llvm.org/">https://bugs.llvm.org/</a> and include the crash backtrace, preprocessed source,
and associated run script.
clang-8: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-8: note: diagnostic msg: /tmp/jfs_imap-5f644f.c
clang-8: note: diagnostic msg: /tmp/jfs_imap-5f644f.sh
clang-8: note: diagnostic msg:
********************
As requested, please find attached the preprocessed source and run script.
Let me know if there's any further information you would like.
Regards,
Daniel</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>