<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 --- - RDRAND intrinsic and "error: clang frontend command failed with exit code 70""
href="https://llvm.org/bugs/show_bug.cgi?id=25152">25152</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>RDRAND intrinsic and "error: clang frontend command failed with exit code 70"
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>3.6
</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>Driver
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>noloader@gmail.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>Created <span class=""><a href="attachment.cgi?id=15058" name="attach_15058" title="rdrand-clang.cxx, rdrand-clang-8c9091.cpp and rdrand-clang-8c9091.sh">attachment 15058</a> <a href="attachment.cgi?id=15058&action=edit" title="rdrand-clang.cxx, rdrand-clang-8c9091.cpp and rdrand-clang-8c9091.sh">[details]</a></span>
rdrand-clang.cxx, rdrand-clang-8c9091.cpp and rdrand-clang-8c9091.sh
I'm attempting to use the RDRAND intrinsics with Clang 3.6 on OS X 10.8.5.
Clang 3.6 was built from sources.
$ /usr/local/bin/clang++ -g2 -O2 rdrand-clang.cxx -o rdrand-clang.exe
fatal error: error in backend: Cannot select: 0x7fc162aa6220: i32,glue,ch =
X86ISD::RDRAND 0x7fc16245e890 [ORD=3] [ID=6] dbg:rdrand-clang.cxx:54:7
In function: main
clang: error: clang frontend command failed with exit code 70 (use -v to see
invocation)
clang version 3.6.0 (tags/RELEASE_360/final)
Target: x86_64-apple-darwin12.6.0
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> and include the crash backtrace, preprocessed source, and
associated run script.
clang: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg:
/var/folders/mk/y7lk0xrx72lcn_2q3d12jcch0000gn/T/rdrand-clang-8c9091.cpp
clang: note: diagnostic msg:
/var/folders/mk/y7lk0xrx72lcn_2q3d12jcch0000gn/T/rdrand-clang-8c9091.sh
clang: note: diagnostic msg:
********************</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>