<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 --- - clang: error: unable to execute command: Floating point exception: 8"
href="http://llvm.org/bugs/show_bug.cgi?id=16865">16865</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>clang: error: unable to execute command: Floating point exception: 8
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>3.3
</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>C++11
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>soonhok@cs.cmu.edu
</td>
</tr>
<tr>
<th>CC</th>
<td>dgregor@apple.com, llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Compilation failed with the following error message:
==============================================================
FAILED: /usr/local/bin/clang++ -Wall -std=c++11 -stdlib=libc++
-I/usr/local/Cellar/libcxx/3.3/lib/c++/v1 -I/Users/soonhok/work/lean/src/util
-I/Users/soonhok/work/lean/src/util/numerics
-I/Users/soonhok/work/lean/src/interval -I/Users/soonhok/work/lean/src/kernel
-I/Users/soonhok/work/lean/src/kernel/arith
-I/Users/soonhok/work/lean/src/parsers -I/Users/soonhok/work/lean/src/frontend
-MMD -MT util/numerics/CMakeFiles/numerics.dir/mpbq.cpp.o -MF
"util/numerics/CMakeFiles/numerics.dir/mpbq.cpp.o.d" -o
util/numerics/CMakeFiles/numerics.dir/mpbq.cpp.o -c
/Users/soonhok/work/lean/src/util/numerics/mpbq.cpp
0 libLLVM-3.3.dylib 0x000000010ebb4ad2 llvm::sys::PrintStackTrace(__sFILE*) +
40
1 libLLVM-3.3.dylib 0x000000010ebb4ed9 SignalHandler(int) + 241
2 libsystem_c.dylib 0x00007fff8c24294a _sigtramp + 26
3 libsystem_c.dylib 0x00007fcf64479a28 _sigtramp + 3626201336
4 libLLVM-3.3.dylib 0x000000010e976f01
llvm::MachObjectWriter::WriteObject(llvm::MCAssembler&, llvm::MCAsmLayout
const&) + 1347
5 libLLVM-3.3.dylib 0x000000010e95444e llvm::MCAssembler::Finish() + 1050
6 libLLVM-3.3.dylib 0x000000010e967338 (anonymous
namespace)::MCMachOStreamer::FinishImpl() + 372
7 libLLVM-3.3.dylib 0x000000010e66705c
llvm::AsmPrinter::doFinalization(llvm::Module&) + 1402
8 libLLVM-3.3.dylib 0x000000010e86b058
llvm::FPPassManager::doFinalization(llvm::Module&) + 56
9 libLLVM-3.3.dylib 0x000000010e86b28a
llvm::MPPassManager::runOnModule(llvm::Module&) + 538
10 libLLVM-3.3.dylib 0x000000010e86b585
llvm::PassManagerImpl::run(llvm::Module&) + 155
11 libLLVM-3.3.dylib 0x000000010e86b6c9 llvm::PassManager::run(llvm::Module&) +
13
12 clang 0x000000010d9fc990
std::vector<clang::serialization::ModuleFile*,
std::allocator<clang::serialization::ModuleFile*>
<span class="quote">>::_M_insert_aux(__gnu_cxx::__normal_iterator<clang::serialization::ModuleFile**,</span >
std::vector<clang::serialization::ModuleFile*,
std::allocator<clang::serialization::ModuleFile*> > >,
clang::serialization::ModuleFile* const&) + 7120
13 clang 0x000000010dac5dc2 std::vector<clang::CXXRecordDecl
const*, std::allocator<clang::CXXRecordDecl const*>
<span class="quote">>::_M_insert_aux(__gnu_cxx::__normal_iterator<clang::CXXRecordDecl const**,</span >
std::vector<clang::CXXRecordDecl const*, std::allocator<clang::CXXRecordDecl
const*> > >, clang::CXXRecordDecl const* const&) + 5616
14 clang 0x000000010daffdfa std::vector<std::pair<llvm::WeakVH,
llvm::Constant*>, std::allocator<std::pair<llvm::WeakVH, llvm::Constant*> >
<span class="quote">>::_M_insert_aux(__gnu_cxx::__normal_iterator<std::pair<llvm::WeakVH,</span >
llvm::Constant*>*, std::vector<std::pair<llvm::WeakVH, llvm::Constant*>,
std::allocator<std::pair<llvm::WeakVH, llvm::Constant*> > > >,
std::pair<llvm::WeakVH, llvm::Constant*> const&) + 76038
15 clang 0x000000010dac54eb std::vector<clang::CXXRecordDecl
const*, std::allocator<clang::CXXRecordDecl const*>
<span class="quote">>::_M_insert_aux(__gnu_cxx::__normal_iterator<clang::CXXRecordDecl const**,</span >
std::vector<clang::CXXRecordDecl const*, std::allocator<clang::CXXRecordDecl
const*> > >, clang::CXXRecordDecl const* const&) + 3353
16 clang 0x000000010d90cd22 std::_Rb_tree<clang::edit::FileOffset,
std::pair<clang::edit::FileOffset const, clang::edit::EditedSource::FileEdit>,
std::_Select1st<std::pair<clang::edit::FileOffset const,
clang::edit::EditedSource::FileEdit> >, std::less<clang::edit::FileOffset>,
std::allocator<std::pair<clang::edit::FileOffset const,
clang::edit::EditedSource::FileEdit> >
<span class="quote">>::_M_erase(std::_Rb_tree_node<std::pair<clang::edit::FileOffset const,</span >
clang::edit::EditedSource::FileEdit> >*) + 3624
17 clang 0x000000010d8f2196 std::vector<clang::CompilerInstance*,
std::allocator<clang::CompilerInstance*>
<span class="quote">>::_M_insert_aux(__gnu_cxx::__normal_iterator<clang::CompilerInstance**,</span >
std::vector<clang::CompilerInstance*, std::allocator<clang::CompilerInstance*>
<span class="quote">> >, clang::CompilerInstance* const&) + 10790</span >
18 clang 0x000000010d8c9b0d std::_Rb_tree<std::string, std::string,
std::_Identity<std::string>, std::less<std::string>,
std::allocator<std::string> >::_M_insert(std::_Rb_tree_node_base*,
std::_Rb_tree_node_base*, std::string const&) + 3535
19 clang 0x000000010d8c364a
20 clang 0x000000010d8c8629 std::vector<llvm::SourceMgr::SrcBuffer,
std::allocator<llvm::SourceMgr::SrcBuffer>
<span class="quote">>::_M_insert_aux(__gnu_cxx::__normal_iterator<llvm::SourceMgr::SrcBuffer*,</span >
std::vector<llvm::SourceMgr::SrcBuffer,
std::allocator<llvm::SourceMgr::SrcBuffer> > >, llvm::SourceMgr::SrcBuffer
const&) + 7585
21 libdyld.dylib 0x00007fff8bd0a7e1 start + 0
22 libdyld.dylib 0x0000000000000048 start + 1949259879
Stack dump:
0. Program arguments: /usr/local/Cellar/llvm/3.3/bin/clang -cc1 -triple
x86_64-apple-macosx10.8.0 -emit-obj -mrelax-all -disable-free -main-file-name
mpbq.cpp -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -masm-verbose
-munwind-tables -target-cpu core2 -target-linker-version 136 -coverage-file
/Users/soonhok/work/lean/build/debug/util/numerics/CMakeFiles/numerics.dir/mpbq.cpp.o
-resource-dir /usr/local/Cellar/llvm/3.3/bin/../lib/clang/3.3 -dependency-file
util/numerics/CMakeFiles/numerics.dir/mpbq.cpp.o.d -MT
util/numerics/CMakeFiles/numerics.dir/mpbq.cpp.o -I
/usr/local/Cellar/libcxx/3.3/lib/c++/v1 -I /Users/soonhok/work/lean/src/util -I
/Users/soonhok/work/lean/src/util/numerics -I
/Users/soonhok/work/lean/src/interval -I /Users/soonhok/work/lean/src/kernel -I
/Users/soonhok/work/lean/src/kernel/arith -I
/Users/soonhok/work/lean/src/parsers -I /Users/soonhok/work/lean/src/frontend
-stdlib=libc++ -Wall -std=c++11 -fdeprecated-macro -fdebug-compilation-dir
/Users/soonhok/work/lean/build/debug -ferror-limit 19 -fmessage-length 0
-stack-protector 1 -mstackrealign -fblocks -fobjc-runtime=macosx-10.8.0
-fobjc-dispatch-method=mixed -fobjc-default-synthesize-properties
-fencode-extended-block-signature -fcxx-exceptions -fexceptions
-fdiagnostics-show-option -backend-option -vectorize-loops -o
util/numerics/CMakeFiles/numerics.dir/mpbq.cpp.o -x c++
/Users/soonhok/work/lean/src/util/numerics/mpbq.cpp
1. <eof> parser at end of file
2. Code generation
clang: error: unable to execute command: Floating point exception: 8
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.3 (tags/RELEASE_33/final)
Target: x86_64-apple-darwin12.4.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/wz/6j2w2jp510g6b0ty330hqs7r0000gn/T/mpbq-kxediq.cpp
clang: note: diagnostic msg:
/var/folders/wz/6j2w2jp510g6b0ty330hqs7r0000gn/T/mpbq-kxediq.sh
clang: note: diagnostic msg:
********************
Since the system only allows one file to attach, here is another script file
generated for the bug report
===================================
/usr/local/Cellar/llvm/3.3/bin/clang -cc1 -triple x86_64-apple-macosx10.8.0
-emit-obj -mrelax-all -disable-free -m ain-file-name mpbq.cpp
-mrelocation-model pic -pic-level 2 -mdisable-fp-elim -masm-verbose
-munwind-tables -target -cpu core2 -target-linker-version 136 -stdlib=libc++
-Wall -std=c++11 -fdeprecated-macro -ferror-limit 19 -fmessag e-length 0
-stack-protector 1 -mstackrealign -fblocks -fobjc-runtime=macosx-10.8.0
-fobjc-dispatch-method=mixed -f objc-default-synthesize-properties
-fencode-extended-block-signature -fcxx-exceptions -fexceptions -fdiagnostics-s
how-option -backend-option -vectorize-loops -x c++ mpbq-kxediq.cpp
=========================================</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>