[LLVMbugs] [Bug 13877] New: clang: error: unable to execute command: Illegal instruction

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Sep 19 11:53:59 PDT 2012


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

             Bug #: 13877
           Summary: clang: error: unable to execute command: Illegal
                    instruction
           Product: clang
           Version: 3.1
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: ludwig.huegelschaefer at gmx.de
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 9236
  --> http://llvm.org/bugs/attachment.cgi?id=9236
Preprocessed source(s) and associated run script(s)

Hi, while compiling Thunderbird trunk, clang 3.1 (obtained by macports)
stumbles:
-------------------------------------------------
Assertion failed: (isa<Argument>(Val) && "Unknown live-in to the entry block"),
function solveBlockValueNonLocal, file LazyValueInfo.cpp, line 605.
0  libLLVM-3.1.dylib 0x0000000102d806e2 PrintStackTrace(void*) + 34
1  libLLVM-3.1.dylib 0x0000000102d81563 SignalHandler(int) + 707
2  libSystem.B.dylib 0x00007fff85ee71ba _sigtramp + 26
3  libSystem.B.dylib 0x000100000225c442 _sigtramp + 2084000418
4  libLLVM-3.1.dylib 0x0000000101f02242 __assert_rtn + 66
5  libLLVM-3.1.dylib 0x000000010225e35d (anonymous
namespace)::LazyValueInfoCache::solveBlockValueNonLocal((anonymous
namespace)::LVILatticeVal&, llvm::Value*, llvm::BasicBlock*) + 1389
6  libLLVM-3.1.dylib 0x000000010225f1bb (anonymous
namespace)::LazyValueInfoCache::solve() + 1467
7  libLLVM-3.1.dylib 0x000000010225f758 (anonymous
namespace)::LazyValueInfoCache::getValueOnEdge(llvm::Value*, llvm::BasicBlock*,
llvm::BasicBlock*) + 248
8  libLLVM-3.1.dylib 0x000000010225febc
llvm::LazyValueInfo::getConstantOnEdge(llvm::Value*, llvm::BasicBlock*,
llvm::BasicBlock*) + 76
9  libLLVM-3.1.dylib 0x0000000102a2f170 (anonymous
namespace)::CorrelatedValuePropagation::runOnFunction(llvm::Function&) + 512
10 libLLVM-3.1.dylib 0x00000001026f1de0
llvm::FPPassManager::runOnFunction(llvm::Function&) + 704
11 libLLVM-3.1.dylib 0x0000000102fba9f0 (anonymous
namespace)::CGPassManager::RunPassOnSCC(llvm::Pass*, llvm::CallGraphSCC&,
llvm::CallGraph&, bool&, bool&) + 272
12 libLLVM-3.1.dylib 0x0000000102fbb231 (anonymous
namespace)::CGPassManager::runOnModule(llvm::Module&) + 977
13 libLLVM-3.1.dylib 0x00000001026f3b6c
llvm::MPPassManager::runOnModule(llvm::Module&) + 604
14 libLLVM-3.1.dylib 0x00000001026f3e72
llvm::PassManagerImpl::run(llvm::Module&) + 178
15 libLLVM-3.1.dylib 0x00000001026f3f5d llvm::PassManager::run(llvm::Module&) +
13
16 clang             0x00000001001d124b
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::Module*,
clang::BackendAction, llvm::raw_ostream*) + 1275
17 clang             0x00000001003351c3
clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) + 691
18 clang             0x0000000100384554 clang::ParseAST(clang::Sema&, bool,
bool) + 500
19 clang             0x0000000100332b7c clang::CodeGenAction::ExecuteAction() +
60
20 clang             0x00000001000328dd
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 413
21 clang             0x000000010000cc9d
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1677
22 clang             0x0000000100003318 cc1_main(char const**, char const**,
char const*, void*) + 1016
23 clang             0x000000010000ba6e main + 4798
24 clang             0x0000000100001b88 start + 52
Stack dump:
0.    Program arguments: /opt/local/libexec/llvm-3.1/bin/clang -cc1 -triple
x86_64-apple-macosx10.6.0 -emit-obj -disable-free -main-file-name
nsMsgMaildirStore.cpp -pic-level 2 -relaxed-aliasing -masm-verbose
-munwind-tables -target-cpu core2 -target-linker-version 127.2 -g
-ffunction-sections -fdata-sections -coverage-file nsMsgMaildirStore.o
-resource-dir /opt/local/libexec/llvm-3.1/bin/../lib/clang/3.1 -dependency-file
.deps/nsMsgMaildirStore.pp -MT nsMsgMaildirStore.o -sys-header-deps -isysroot
/Developer/SDKs/MacOSX10.6.sdk -include ../../../comm-config.h -D
MOZILLA_INTERNAL_API -D _IMPL_NS_COM -D EXPORT_XPT_API -D EXPORT_XPTC_API -D
_IMPL_NS_GFX -D _IMPL_NS_WIDGET -D IMPL_XREAPI -D IMPL_NS_NET -D IMPL_THEBES -D
ZLIB_INTERNAL -D MOZ_THUNDERBIRD=1 -D OSTYPE="Darwin10.8.0" -D OSARCH=Darwin -D
HAVE_MOVEMAIL -D NO_X11 -D NDEBUG -D TRIMMED -D MOZILLA_CLIENT -I
/Users/em/em/nightlies/trunk_64/mozilla/mailnews/local/src -I . -I
../../../mozilla/dist/include -I ../../../mozilla/dist/include/nsprpub -I
/Users/em/em/nightlies/trunk_64/build-lh-objdir/mozilla/dist/include/nspr -I
/Users/em/em/nightlies/trunk_64/build-lh-objdir/mozilla/dist/include/nss
-fmodule-cache-path /var/tmp/clang-module-cache -O3 -Wall -Wpointer-arith
-Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body
-Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof
-Wno-variadic-macros -Wno-c++0x-extensions -Wno-extended-offsetof
-Wno-unknown-warning-option -Wno-return-type-c-linkage -Wno-mismatched-tags
-std=gnu++0x -fdeprecated-macro -fdebug-compilation-dir
/Users/em/em/nightlies/trunk_64/build-lh-objdir/mailnews/local/src
-ferror-limit 19 -fmessage-length 80 -fvisibility hidden -pthread
-stack-protector 1 -mstackrealign -fblocks -fno-rtti
-fobjc-dispatch-method=mixed -fobjc-default-synthesize-properties -fno-common
-fdiagnostics-show-option -fcolor-diagnostics -o nsMsgMaildirStore.o -x c++
/Users/em/em/nightlies/trunk_64/mozilla/mailnews/local/src/nsMsgMaildirStore.cpp 
1.    <eof> parser at end of file
2.    Per-module optimization passes
3.    Running pass 'CallGraph Pass Manager' on module
'/Users/em/em/nightlies/trunk_64/mozilla/mailnews/local/src/nsMsgMaildirStore.cpp'.
4.    Running pass 'Value Propagation' on function
'@_ZN17nsMsgMaildirStore10CopyFolderEP12nsIMsgFolderS1_bP12nsIMsgWindowP25nsIMsgCopyServiceListener'
clang: error: unable to execute command: Illegal instruction

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list