<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 - clang frontend command failed with exit code 70"
href="https://bugs.llvm.org/show_bug.cgi?id=40918">40918</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>clang frontend command failed with exit code 70
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>3.4
</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>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Frontend
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>shi1986000@126.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org, neeilans@live.com, richard-llvm@metafoo.co.uk
</td>
</tr></table>
<p>
<div>
<pre>Tips:
when building libclc-20140901gite822ae3 source package, I encountered the
following error message associated with CLANG. Here I will provide some
compilation environment and software version information.
ENV Info:
(1) clang info
[loongson@localhost rpmbuild]$ clang --version
clang version 3.4.2 (tags/RELEASE_34/dot2-final)
Target: mips64el-unknown-linux-gnu
Thread model: posix
(2)arch info:
Linux localhost 4.16.0-rc7+ #73 SMP PREEMPT Thu Feb 14 15:24:32 CST 2019 mips64
mips64 mips64 GNU/Linux
(3)CPU info:
[loongson@localhost rpmbuild]$ lscpu
Architecture: mips64
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
... ... ... ... ...
(4)llvm verson:
[loongson@localhost rpmbuild]$ rpm -qa | grep llvm
llvm-static-3.4-15.fc21.loongson.mips64el
llvm-libs-3.4-15.fc21.loongson.mips64el
llvm-doc-3.4-15.fc21.loongson.noarch
llvm-3.4-15.fc21.loongson.mips64el
llvm-devel-3.4-15.fc21.loongson.mips64el
[loongson@localhost rpmbuild]$ cat /etc/
The following is Eerror Message:
************************************************************************
CXX utils/prepare-builtins.o
fatal error: error in backend: Invalid primitive type
clang: error: clang frontend command failed with exit code 70 (use -v to see
invocation)
clang version 3.4.2 (tags/RELEASE_34/dot2-final)
Target: mips64el-unknown-linux-gnu
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: /tmp/prepare-builtins-3b2064.cpp
clang: note: diagnostic msg: /tmp/prepare-builtins-3b2064.sh
clang: note: diagnostic msg:
********************
Makefile:8: recipe for target 'utils/prepare-builtins.o' failed
make: *** [utils/prepare-builtins.o] Error 70
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.
************************************************************************</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>