<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 --- - clang 3.7 crash, Not supported Instruction" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D23662&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=Jx1EyssDoNZCYEkAmdvexHp3kwyNJ2MlL0Ik52FDKLA&s=amjNuiWMtIWtLd09i5jw6esVQxbwnKmpRgk5pzk45R0&e=">23662</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>clang 3.7 crash, Not supported Instruction
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>FreeBSD
</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>Backend: MIPS
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>sbruno@freebsd.org
</td>
</tr>
<tr>
<th>CC</th>
<td>emaste@freebsd.org, joerg@NetBSD.org, llvmbugs@cs.uiuc.edu, sbruno@freebsd.org, toma.tabacu@imgtec.com
</td>
</tr>
<tr>
<th>Depends on</th>
<td>23660
</td>
</tr>
<tr>
<th>Blocks</th>
<td>23370
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>/home/sbruno/clang/build/bin/clang -march=mips3 -target
mips-unknown-freebsd11.0
--sysroot=/var/tmp/mips.mips/usr/home/sbruno/freebsd/tmp
-B/var/tmp/mips.mips/usr/home/sbruno/freebsd/tmp/usr/bin -O -pipe -G0
-I/usr/home/sbruno/freebsd/lib/libc/include
-I/usr/home/sbruno/freebsd/lib/libc/../../include
-I/usr/home/sbruno/freebsd/lib/libc/mips -DNLS -DSOFTFLOAT
-D__DBINTERFACE_PRIVATE -I/usr/home/sbruno/freebsd/lib/libc/../../contrib/gdtoa
-I/usr/home/sbruno/freebsd/lib/libc/../../contrib/libc-vis -DINET6
-I/var/tmp/mips.mips/usr/home/sbruno/freebsd/lib/libc
-I/usr/home/sbruno/freebsd/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE
-I/usr/home/sbruno/freebsd/lib/libc/../libmd
-I/usr/home/sbruno/freebsd/lib/libc/../../contrib/jemalloc/include
-DMALLOC_PRODUCTION
-I/usr/home/sbruno/freebsd/lib/libc/../../contrib/tzcode/stdtime
-I/usr/home/sbruno/freebsd/lib/libc/stdtime
-I/usr/home/sbruno/freebsd/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN
-I/usr/home/sbruno/freebsd/lib/libc/rpc
-I/usr/home/sbruno/freebsd/lib/libc/mips/softfloat
-I/usr/home/sbruno/freebsd/lib/libc/softfloat -DSOFTFLOAT_FOR_GCC -DYP
-DNS_CACHING -DSYMBOL_VERSIONING -std=gnu99 -Wsystem-headers -Wall
-Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body
-Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare
-Wno-unused-value -Wno-parentheses-equality -Wno-unused-function
-Wno-enum-conversion -Wno-unused-local-typedef -Wno-switch -Wno-switch-enum
-Wno-knr-promoted-parameter -Qunused-arguments -c
/usr/home/sbruno/freebsd/lib/libc/gen/dlfcn.c -o dlfcn.o
fatal error: error in backend: Not supported instr: <MCInst 0 <MCOperand
Reg:30> <MCOperand Reg:25>>
clang-3.7: error: clang frontend command failed with exit code 70 (use -v to
see invocation)
clang version 3.7.0 (trunk 238152)
Target: mips-unknown-freebsd11.0
Thread model: posix
clang-3.7: note: diagnostic msg: PLEASE submit a bug report to
<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_bugs_&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=Jx1EyssDoNZCYEkAmdvexHp3kwyNJ2MlL0Ik52FDKLA&s=p_frncMsFAyO14tgJil2NAJjsRRmD7tqLQcUWObiakY&e=">http://llvm.org/bugs/</a> and include the crash backtrace, preprocessed source, and
associated run script.
clang-3.7: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-3.7: note: diagnostic msg: /tmp/dlfcn-8f6f0e.c
clang-3.7: note: diagnostic msg: /tmp/dlfcn-8f6f0e.sh
clang-3.7: note: diagnostic msg:
********************
*** Error code 70</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>