[LLVMbugs] [Bug 16865] New: clang: error: unable to execute command: Floating point exception: 8

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Aug 12 11:10:32 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=16865

            Bug ID: 16865
           Summary: clang: error: unable to execute command: Floating
                    point exception: 8
           Product: clang
           Version: 3.3
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++11
          Assignee: unassignedclangbugs at nondot.org
          Reporter: soonhok at cs.cmu.edu
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

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*>
>::_M_insert_aux(__gnu_cxx::__normal_iterator<clang::serialization::ModuleFile**,
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*>
>::_M_insert_aux(__gnu_cxx::__normal_iterator<clang::CXXRecordDecl const**,
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*> >
>::_M_insert_aux(__gnu_cxx::__normal_iterator<std::pair<llvm::WeakVH,
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*>
>::_M_insert_aux(__gnu_cxx::__normal_iterator<clang::CXXRecordDecl const**,
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> >
>::_M_erase(std::_Rb_tree_node<std::pair<clang::edit::FileOffset const,
clang::edit::EditedSource::FileEdit> >*) + 3624
17 clang             0x000000010d8f2196 std::vector<clang::CompilerInstance*,
std::allocator<clang::CompilerInstance*>
>::_M_insert_aux(__gnu_cxx::__normal_iterator<clang::CompilerInstance**,
std::vector<clang::CompilerInstance*, std::allocator<clang::CompilerInstance*>
> >, clang::CompilerInstance* const&) + 10790
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>
>::_M_insert_aux(__gnu_cxx::__normal_iterator<llvm::SourceMgr::SrcBuffer*,
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
http://llvm.org/bugs/ 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 
=========================================

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130812/a5e00151/attachment.html>


More information about the llvm-bugs mailing list