<html>
<head>
<base href="http://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 --- - c++: error: unable to execute command: Bus error"
href="http://llvm.org/bugs/show_bug.cgi?id=20638">20638</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>c++: error: unable to execute command: Bus error
</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>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>-New Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>iron@mail.ua
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>I use FreeBSD 10.0-STABLE r269799 with clang 3.4.1. I tried to compile world
and got error:
c++ -O2 -pipe -march=native -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2
-I/usr/src/usr.bin/clang/tblgen/../../../contrib/llvm/include
-I/usr/src/usr.bin/clang/tblgen/../../../contrib/llvm/tools/clang/include
-I/usr/src/usr.bin/clang/tblgen/../../../contrib/llvm/utils/TableGen -I.
-I/usr/src/usr.bin/clang/tblgen/../../../contrib/llvm/../../lib/clang/include
-DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS
-DNDEBUG -fno-strict-aliasing
-DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd10.0\"
-DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd10.0\" -DDEFAULT_SYSROOT=\"\"
-DNDEBUG -I/usr/obj/usr/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti
-c
/usr/src/usr.bin/clang/tblgen/../../../contrib/llvm/utils/TableGen/X86ModRMFilters.cpp
--- CodeGenInstruction.o ---
0. Program arguments: /usr/bin/c++ -cc1 -triple x86_64-unknown-freebsd10.0
-emit-obj -disable-free -disable-llvm-verifier -main-file-name
CodeGenInstruction.cpp -mrelocation-model static -mdisable-fp-elim
-relaxed-aliasing -masm-verbose -mconstructor-aliases -munwind-tables
-target-cpu corei7 -target-feature +mmx -target-feature +sse -target-feature
+sse2 -target-feature +sse3 -target-feature +ssse3 -target-feature +sse4.1
-target-feature +sse4.2 -coverage-file
/usr/obj/usr/src/tmp/usr/src/usr.bin/clang/tblgen/CodeGenInstruction.o
-resource-dir /usr/bin/../lib/clang/3.4.1 -D LLVM_ON_UNIX -D LLVM_ON_FREEBSD -D
__STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -D NDEBUG -D
LLVM_DEFAULT_TARGET_TRIPLE="x86_64-unknown-freebsd10.0" -D
LLVM_HOST_TRIPLE="x86_64-unknown-freebsd10.0" -D DEFAULT_SYSROOT="" -D NDEBUG
-I /usr/src/usr.bin/clang/tblgen/../../../contrib/llvm/include -I
/usr/src/usr.bin/clang/tblgen/../../../contrib/llvm/tools/clang/include -I
/usr/src/usr.bin/clang/tblgen/../../../contrib/llvm/utils/TableGen -I . -I
/usr/src/usr.bin/clang/tblgen/../../../contrib/llvm/../../lib/clang/include -I
/usr/obj/usr/src/tmp/legacy/usr/include -internal-isystem /usr/include/c++/v1
-O2 -fdeprecated-macro -fdebug-compilation-dir
/usr/obj/usr/src/tmp/usr/src/usr.bin/clang/tblgen -ferror-limit 19
-fmessage-length 0 -mstackrealign -fno-rtti -fobjc-runtime=gnustep
-fdiagnostics-show-option -vectorize-loops -vectorize-slp -o
CodeGenInstruction.o -x c++
/usr/src/usr.bin/clang/tblgen/../../../contrib/llvm/utils/TableGen/CodeGenInstruction.cpp
1. <eof> parser at end of file
2. Per-module optimization passes
3. Running pass 'CallGraph Pass Manager' on module
'/usr/src/usr.bin/clang/tblgen/../../../contrib/llvm/utils/TableGen/CodeGenInstruction.cpp'.
4. Running pass 'Global Value Numbering' on function
'@_ZN4llvm18CodeGenInstructionC2EPNS_6RecordE'
c++: error: unable to execute command: Bus error
c++: error: clang frontend command failed due to signal (use -v to see
invocation)
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
Target: x86_64-unknown-freebsd10.0
Thread model: posix
c++: 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.
--- X86RecognizableInstr.o ---
c++ -O2 -pipe -march=native -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2
-I/usr/src/usr.bin/clang/tblgen/../../../contrib/llvm/include
-I/usr/src/usr.bin/clang/tblgen/../../../contrib/llvm/tools/clang/include
-I/usr/src/usr.bin/clang/tblgen/../../../contrib/llvm/utils/TableGen -I.
-I/usr/src/usr.bin/clang/tblgen/../../../contrib/llvm/../../lib/clang/include
-DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS
-DNDEBUG -fno-strict-aliasing
-DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd10.0\"
-DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd10.0\" -DDEFAULT_SYSROOT=\"\"
-DNDEBUG -I/usr/obj/usr/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti
-c
/usr/src/usr.bin/clang/tblgen/../../../contrib/llvm/utils/TableGen/X86RecognizableInstr.cpp
--- CodeGenInstruction.o ---</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>