[LLVMbugs] [Bug 14527] New: make (--enable-optimized) build fails with llvm assertion
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Dec 6 12:08:21 PST 2012
http://llvm.org/bugs/show_bug.cgi?id=14527
Bug #: 14527
Summary: make (--enable-optimized) build fails with llvm
assertion
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: peeter.joot at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 9648
--> http://llvm.org/bugs/attachment.cgi?id=9648
Preprocessed source
Making target:
make[5]: ***
[/home/peeterj/clang/sources/build-optimized/tools/clang/runtime/compiler-rt/clang_linux/full-x86_64/x86_64/SubDir.lib/absvdi2.o]
Error 254
COMPILE: clang_linux/full-x86_64/x86_64:
/home/peeterj/clang/sources/llvm/projects/compiler-rt/lib/absvdi2.c
clang: /home/peeterj/clang/sources/llvm/include/llvm/ADT/DenseMap.h:96: void
llvm::DenseMapBase<DerivedT, KeyT, ValueT, KeyInfoT>::clear() [with DerivedT =
llvm::DenseMap<llvm::MachineBasicBlock*, <unnamed>::BlockChain*,
llvm::DenseMapInfo<llvm::MachineBasicBlock*> >, KeyT =
llvm::MachineBasicBlock*, ValueT = <unnamed>::BlockChain*, KeyInfoT =
llvm::DenseMapInfo<llvm::MachineBasicBlock*>]: Assertion `getNumEntries() == 0
&& "Node count imbalance!"' failed.
0 clang 0x00000000020cc3cf
1 clang 0x00000000020ce396
2 libpthread.so.0 0x00002b3f1364ea90
3 libc.so.6 0x00002b3f1420e645 gsignal + 53
4 libc.so.6 0x00002b3f1420fc33 abort + 387
5 libc.so.6 0x00002b3f14207329 __assert_fail + 233
6 clang 0x0000000001c5105a
7 clang 0x0000000002063bc8
llvm::FPPassManager::runOnFunction(llvm::Function&) + 680
8 clang 0x0000000002063c4b
llvm::FPPassManager::runOnModule(llvm::Module&) + 43
9 clang 0x0000000002063637
llvm::MPPassManager::runOnModule(llvm::Module&) + 743
10 clang 0x000000000206382a llvm::PassManagerImpl::run(llvm::Module&)
+ 186
11 clang 0x0000000000885861
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::Module*,
clang::BackendAction, llvm::raw_ostream*) + 1969
12 clang 0x0000000000882ab7
13 clang 0x00000000009f8a74 clang::ParseAST(clang::Sema&, bool, bool)
+ 356
14 clang 0x00000000008810b5 clang::CodeGenAction::ExecuteAction() +
85
15 clang 0x00000000006f35ba clang::FrontendAction::Execute() + 186
16 clang 0x00000000006d1dd6
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 342
17 clang 0x00000000006b3b66
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1718
18 clang 0x00000000006a9e40 cc1_main(char const**, char const**, char
const*, void*) + 1392
19 clang 0x00000000006b243d main + 6525
20 libc.so.6 0x00002b3f141fa586 __libc_start_main + 230
21 clang 0x00000000006a8d19
Stack dump:
0. Program arguments:
/home/peeterj/clang/sources/build-optimized/Release+Asserts/bin/clang -cc1
-triple x86_64-unknown-linux-gnu -emit-obj -disable-free -main-file-name
absvdi2.c -mrelocation-model pic -pic-level 2 -fmath-errno -masm-verbose
-mconstructor-aliases -munwind-tables -target-cpu x86-64 -target-linker-version
11 -momit-leaf-frame-pointer -coverage-file
/home/peeterj/clang/sources/build-optimized/tools/clang/runtime/compiler-rt/clang_linux/full-x86_64/x86_64/SubDir.lib/absvdi2.o
-resource-dir
/home/peeterj/clang/sources/build-optimized/Release+Asserts/bin/../lib/clang/3.3
-isysroot /home/peeterj/clang/sources/llvm/projects/compiler-rt/SDKs/linux
-fmodule-cache-path /home/peeterj/tmp/clang-module-cache -internal-isystem
/home/peeterj/clang/sources/llvm/projects/compiler-rt/SDKs/linux/usr/local/include
-internal-isystem
/home/peeterj/clang/sources/build-optimized/Release+Asserts/bin/../lib/clang/3.3/include
-internal-externc-isystem
/home/peeterj/clang/sources/llvm/projects/compiler-rt/SDKs/linux/include
-internal-externc-isystem
/home/peeterj/clang/sources/llvm/projects/compiler-rt/SDKs/linux/usr/include
-O3 -Wall -Werror -fdebug-compilation-dir
/home/peeterj/clang/sources/build-optimized/tools/clang/runtime/compiler-rt
-ferror-limit 19 -fmessage-length 0 -mstackrealign -fobjc-runtime=gcc
-fdiagnostics-show-option -o
/home/peeterj/clang/sources/build-optimized/tools/clang/runtime/compiler-rt/clang_linux/full-x86_64/x86_64/SubDir.lib/absvdi2.o
-x c /home/peeterj/clang/sources/llvm/projects/compiler-rt/lib/absvdi2.c
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module
'/home/peeterj/clang/sources/llvm/projects/compiler-rt/lib/absvdi2.c'.
4. Running pass 'Branch Probability Basic Block Placement' on function
'@__absvdi2'
clang: error: unable to execute command: Aborted
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.3 (trunk)
Target: x86_64-unknown-linux-gnu
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:
--
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