[LLVMbugs] [Bug 11639] New: Trunk clang on Redhat Linux configured with --enable-optimized --with-c-include-dirs=/usr/include:/usr/include/c++/4.1.1

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Dec 21 20:47:06 PST 2011


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

             Bug #: 11639
           Summary: Trunk clang on Redhat Linux configured with
                    --enable-optimized
                    --with-c-include-dirs=/usr/include:/usr/include/c++/4.
                    1.1
           Product: compiler-rt
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: compiler-rt
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: kbelco at sandia.gov
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 7788
  --> http://llvm.org/bugs/attachment.cgi?id=7788
build generated script of command that failed.

make[4]: Nothing to be done for `all'.
make[4]: Leaving directory
`/home/kbelco/llvm_linux/build/tools/clang/tools/diagtool'
make[3]: Leaving directory `/home/kbelco/llvm_linux/build/tools/clang/tools'
make[3]: Entering directory `/home/kbelco/llvm_linux/build/tools/clang/runtime'
make[4]: Entering directory
`/home/kbelco/llvm_linux/build/tools/clang/runtime/compiler-rt'
make[5]: Entering directory `/home/kbelco/llvm_linux/llvm/projects/compiler-rt'
  COMPILE:   clang_linux/full-i386/i386:
/home/kbelco/llvm_linux/llvm/projects/compiler-rt/lib/adddf3.c
clang: /home/kbelco/llvm_linux/llvm/include/llvm/ADT/IntervalMap.h:606:
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 = unsigned int, unsigned int N = 9u, Traits =
llvm::IntervalMapInfo<llvm::SlotIndex>]: Assertion `!Traits::stopLess(b, a) &&
"Invalid interval"' failed.
0  clang           0x0000000002246a1f
1  clang           0x0000000002247737
2  libpthread.so.0 0x000000332380eb10
3  libc.so.6       0x0000003322c30265 gsignal + 53
4  libc.so.6       0x0000003322c31d10 abort + 272
5  libc.so.6       0x0000003322c296e6 __assert_fail + 246
6  clang           0x0000000001d0987c
llvm::IntervalMapImpl::LeafNode<llvm::SlotIndex, unsigned int, 9u,
llvm::IntervalMapInfo<llvm::SlotIndex> >::insertFrom(unsigned int&, unsigned
int, llvm::SlotIndex, llvm::SlotIndex, unsigned int) + 716
7  clang           0x0000000001d0a032 llvm::IntervalMap<llvm::SlotIndex,
unsigned int, 9u, llvm::IntervalMapInfo<llvm::SlotIndex>
>::insert(llvm::SlotIndex, llvm::SlotIndex, unsigned int) + 178
8  clang           0x0000000001cfdb4a
llvm::SplitEditor::useIntv(llvm::SlotIndex, llvm::SlotIndex) + 90
9  clang           0x0000000001d01c14
llvm::SplitEditor::splitRegInBlock(llvm::SplitAnalysis::BlockInfo const&,
unsigned int, llvm::SlotIndex) + 1524
10 clang           0x0000000001cb5b8a
11 clang           0x0000000001cb89dd
12 clang           0x0000000001cbc347
13 clang           0x0000000001cbc7f6
14 clang           0x0000000001d8f5d0 llvm::RegAllocBase::allocatePhysRegs() +
320
15 clang           0x0000000001cb790f
16 clang           0x0000000001c5cd85
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 53
17 clang           0x00000000021db676
llvm::FPPassManager::runOnFunction(llvm::Function&) + 646
18 clang           0x00000000021db70d
llvm::FPPassManager::runOnModule(llvm::Module&) + 45
19 clang           0x00000000021db11c
llvm::MPPassManager::runOnModule(llvm::Module&) + 556
20 clang           0x00000000021db27e llvm::PassManagerImpl::run(llvm::Module&)
+ 174
21 clang           0x00000000021db3dd llvm::PassManager::run(llvm::Module&) +
13
22 clang           0x00000000008dbdab
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::Module*,
clang::BackendAction, llvm::raw_ostream*) + 1419
23 clang           0x00000000008d9463
clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) + 787
24 clang           0x0000000000a7891b clang::ParseAST(clang::Sema&, bool) + 443
25 clang           0x00000000008d7602 clang::CodeGenAction::ExecuteAction() +
66
26 clang           0x0000000000738344
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 756
27 clang           0x00000000007133f2
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1218
28 clang           0x000000000070a1a2 cc1_main(char const**, char const**, char
const*, void*) + 754
29 clang           0x00000000007121d0 main + 3984
30 libc.so.6       0x0000003322c1d994 __libc_start_main + 244
31 clang           0x0000000000707cc9
Stack dump:
0.    Program arguments:
/home/kbelco/llvm_linux/build/Release+Asserts/bin/clang -cc1 -triple
i386-unknown-linux-gnu -S -disable-free -main-file-name adddf3.c -pic-level 2
-masm-verbose -mconstructor-aliases -target-cpu pentium4 -target-linker-version
2.17.50.0.6 -momit-leaf-frame-pointer -coverage-file /tmp/adddf3-f4md0C.s
-resource-dir
/home/kbelco/llvm_linux/build/Release+Asserts/bin/../lib/clang/3.1 -isysroot
/home/kbelco/llvm_linux/llvm/projects/compiler-rt/SDKs/linux
-fmodule-cache-path /var/tmp/clang-module-cache -internal-isystem
/home/kbelco/llvm_linux/llvm/projects/compiler-rt/SDKs/linux/usr/local/include
-internal-isystem
/home/kbelco/llvm_linux/build/Release+Asserts/bin/../lib/clang/3.1/include
-internal-externc-isystem
/home/kbelco/llvm_linux/llvm/projects/compiler-rt/SDKs/linux/usr/include
-internal-externc-isystem
/home/kbelco/llvm_linux/llvm/projects/compiler-rt/SDKs/linux/usr/include/c++/4.1.1
-O3 -Wall -Werror -fno-dwarf-directory-asm -fdebug-compilation-dir
/home/kbelco/llvm_linux/build/tools/clang/runtime/compiler-rt -ferror-limit 19
-fmessage-length 152 -mstackrealign -fgnu-runtime -fobjc-runtime-has-arc
-fobjc-runtime-has-weak -fobjc-fragile-abi -fdiagnostics-show-option
-fcolor-diagnostics -o /tmp/adddf3-f4md0C.s -x c
/home/kbelco/llvm_linux/llvm/projects/compiler-rt/lib/adddf3.c 
1.    <eof> parser at end of file
2.    Code generation
3.    Running pass 'Function Pass Manager' on module
'/home/kbelco/llvm_linux/llvm/projects/compiler-rt/lib/adddf3.c'.
4.    Running pass 'Greedy Register Allocator' on function '@__adddf3'
clang: error: unable to execute command: Aborted (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang: note: diagnostic msg: Please submit a bug report to
http://llvm.org/bugs/ and include command line arguments and all diagnostic
information.
clang: note: diagnostic msg: Preprocessed source(s) and associated run
script(s) are located at:
clang: note: diagnostic msg: /tmp/adddf3-6sfvBj.i
clang: note: diagnostic msg: /tmp/adddf3-6sfvBj.sh
make[5]: ***
[/home/kbelco/llvm_linux/build/tools/clang/runtime/compiler-rt/clang_linux/full-i386/i386/SubDir.lib/adddf3.o]
Error 254
make[5]: Leaving directory `/home/kbelco/llvm_linux/llvm/projects/compiler-rt'
make[4]: *** [BuildRuntimeLibraries] Error 2
make[4]: Leaving directory
`/home/kbelco/llvm_linux/build/tools/clang/runtime/compiler-rt'
make[3]: *** [compiler-rt/.makeall] Error 2
make[3]: Leaving directory `/home/kbelco/llvm_linux/build/tools/clang/runtime'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/home/kbelco/llvm_linux/build/tools/clang'
make[1]: *** [clang/.makeall] Error 2
make[1]: Leaving directory `/home/kbelco/llvm_linux/build/tools'
make: *** [all] Error 1

-- 
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