[LLVMbugs] [Bug 15776] New: clang frontend command failed due to signal

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Apr 18 01:27:24 PDT 2013


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

            Bug ID: 15776
           Summary: clang frontend command failed due to signal
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: canri62 at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

I tried to build clang with './configure --enable-optimized', but get error:

  COMPILE:   clang_linux/full-i386/i386:
/apsara/huian/llvm_proposal/llvm/projects/compiler-rt/lib/gcc_personality_v0.c
clang: /apsara/huian/llvm_proposal/llvm/include/llvm/ADT/IntervalMap.h:626:
unsigned int llvm::IntervalMapImpl::LeafNode< <template-parameter-1-1>,
<template-
parameter-1-2>, <anonymous>, <template-parameter-1-4> >::insertFrom(unsigned
int&, unsigned int, KeyT, KeyT, ValT) [with KeyT = llvm::SlotIndex, ValT =
unsign
ed int, unsigned int N = 9u, Traits = llvm::IntervalMapInfo<llvm::SlotIndex>]:
Assertion `!Traits::stopLess(b, a) && "Invalid interval"' failed.
0  clang           0x000000000298aa72 llvm::sys::PrintStackTrace(_IO_FILE*) +
34
1  clang           0x000000000298b7d7
2  libpthread.so.0 0x000000385a60e7c0
3  libc.so.6       0x0000003859e30265 gsignal + 53
4  libc.so.6       0x0000003859e31d10 abort + 272
5  libc.so.6       0x0000003859e296e6 __assert_fail + 246
6  clang           0x000000000235fdd3
llvm::IntervalMapImpl::LeafNode<llvm::SlotIndex, unsigned int, 9u,
llvm::IntervalMapInfo<llvm::SlotIndex> >::insertFrom(
unsigned int&, unsigned int, llvm::SlotIndex, llvm::SlotIndex, unsigned int) +
739
7  clang           0x0000000002361cec
8  clang           0x0000000002356b4a
llvm::SplitEditor::useIntv(llvm::SlotIndex, llvm::SlotIndex) + 90
9  clang           0x0000000002357816
llvm::SplitEditor::splitRegInBlock(llvm::SplitAnalysis::BlockInfo const&,
unsigned int, llvm::SlotIndex) + 1350
10 clang           0x00000000022fd3ec
11 clang           0x0000000002301b13
12 clang           0x000000000230695d
13 clang           0x0000000002306e7d
14 clang           0x0000000002434666 llvm::RegAllocBase::allocatePhysRegs() +
278
15 clang           0x0000000002300b1f
16 clang           0x0000000002287fd5
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 53
17 clang           0x000000000290bd15
llvm::FPPassManager::runOnFunction(llvm::Function&) + 677
18 clang           0x000000000290bdab
llvm::FPPassManager::runOnModule(llvm::Module&) + 43
19 clang           0x000000000290b93f
llvm::MPPassManager::runOnModule(llvm::Module&) + 751
20 clang           0x000000000290d592 llvm::PassManagerImpl::run(llvm::Module&)
+ 290
21 clang           0x000000000290d6ad llvm::PassManager::run(llvm::Module&) +
13
22 clang           0x000000000091d1b9
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::La
ngOptions const&, llvm::Module*, clang::BackendAction, llvm::raw_ostream*) +
1897
23 clang           0x0000000000919e83
24 clang           0x0000000000b2b067 clang::ParseAST(clang::Sema&, bool, bool)
+ 391
25 clang           0x0000000000917c9c clang::CodeGenAction::ExecuteAction() +
60
26 clang           0x00000000006fdd29 clang::FrontendAction::Execute() + 297
27 clang           0x00000000006d4f6e
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 350
28 clang           0x00000000006ac31c
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 892
28 clang           0x00000000006ac31c
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 892
29 clang           0x00000000006a2bf4 cc1_main(char const**, char const**, char
const*, void*) + 1268
30 clang           0x00000000006aa2f5 main + 5637
31 libc.so.6       0x0000003859e1d994 __libc_start_main + 244
32 clang           0x00000000006a1899
Stack dump:
0.      Program arguments:
/apsara/huian/llvm_proposal/llvm_build/Release+Asserts/bin/clang -cc1 -triple
i386-unknown-linux-gnu -emit-obj -disable-free -main-file-name
gcc_personality_v0.c -mrelocation-model pic -pic-level 2 -fmath-errno
-masm-verbose -mconstructor-aliases -target-cpu pentium4 -target-linker-version
2.17.50.0.6 -momit-leaf-frame-pointer -coverage-file
/apsara/huian/llvm_proposal/llvm_build/tools/clang/runtime/compiler-rt/clang_linux/full-i386/i386/SubDir.lib/gcc_personality_v0.o
-resource-dir
/apsara/huian/llvm_proposal/llvm_build/Release+Asserts/bin/../lib/clang/3.3
-isysroot /apsara/huian/llvm_proposal/llvm/projects/compiler-rt/SDKs/linux
-internal-isystem
/apsara/huian/llvm_proposal/llvm/projects/compiler-rt/SDKs/linux/usr/local/include
-internal-isystem
/apsara/huian/llvm_proposal/llvm_build/Release+Asserts/bin/../lib/clang/3.3/include
-internal-externc-isystem
/apsara/huian/llvm_proposal/llvm/projects/compiler-rt/SDKs/linux/include
-internal-externc-isystem
/apsara/huian/llvm_proposal/llvm/projects/compiler-rt/SDKs/linux/usr/include
-O3 -Wall -Werror -fdebug-compilation-dir
/apsara/huian/llvm_proposal/llvm_build/tools/clang/runtime/compiler-rt
-ferror-limit 19 -fmessage-length 158 -mstackrealign -fobjc-runtime=gcc
-fobjc-default-synthesize-properties -fdiagnostics-show-option
-fcolor-diagnostics -backend-option -vectorize-loops -o
/apsara/huian/llvm_proposal/llvm_build/tools/clang/runtime/compiler-rt/clang_linux/full-i386/i386/SubDir.lib/gcc_personality_v0.o
-x c
/apsara/huian/llvm_proposal/llvm/projects/compiler-rt/lib/gcc_personality_v0.c
1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'Function Pass Manager' on module
'/apsara/huian/llvm_proposal/llvm/projects/compiler-rt/lib/gcc_personality_v0.c'.
4.      Running pass 'Greedy Register Allocator' on function
'@readEncodedPointer'
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 179747)
Target: i386-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:

-- 
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/20130418/93356bb4/attachment.html>


More information about the llvm-bugs mailing list