[LLVMbugs] [Bug 2404] New: llvm-gcc-4.2 bootstrap failure: triggered assertion in eh_terminate.cc

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Jun 2 02:44:05 PDT 2008


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

           Summary: llvm-gcc-4.2 bootstrap failure: triggered assertion in
                    eh_terminate.cc
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: kenneth.hoste at elis.ugent.be
                CC: llvmbugs at cs.uiuc.edu


I'm seeing the following ICE while trying to bootstrap llvm-gcc on x86
(32-bit):

/home/kehoste/LLVM/llvm-gcc-4.2_obj/./gcc/xgcc -shared-libgcc
-B/home/kehoste/LLVM/llvm-gcc-4.2_obj/./gcc -nostdinc++
-L/home/kehoste/LLVM/llvm-gcc-4.2_obj/i686-pc-linux-gnu/libstdc++-v3/src
-L/home/kehoste/LLVM/llvm-gcc-4.2_obj/i686-pc-linux-gnu/libstdc++-v3/src/.libs
-B/user/kehoste/LLVM/llvm-gcc-4.2/i686-pc-linux-gnu/bin/
-B/user/kehoste/LLVM/llvm-gcc-4.2/i686-pc-linux-gnu/lib/ -isystem
/user/kehoste/LLVM/llvm-gcc-4.2/i686-pc-linux-gnu/include -isystem
/user/kehoste/LLVM/llvm-gcc-4.2/i686-pc-linux-gnu/sys-include
-I/home/kehoste/LLVM/llvm-gcc-4.2_src/libstdc++-v3/../gcc
-I/home/kehoste/LLVM/llvm-gcc-4.2_obj/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu
-I/home/kehoste/LLVM/llvm-gcc-4.2_obj/i686-pc-linux-gnu/libstdc++-v3/include
-I/home/kehoste/LLVM/llvm-gcc-4.2_src/libstdc++-v3/libsupc++
-fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual
-fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -O2
-D_GNU_SOURCE -c
../../../../llvm-gcc-4.2_src/libstdc++-v3/libsupc++/eh_term_handler.cc  -fPIC
-DPIC -o eh_term_handler.o
/bin/sh ../libtool --tag CXX --tag disable-shared --mode=compile
/home/kehoste/LLVM/llvm-gcc-4.2_obj/./gcc/xgcc -shared-libgcc
-B/home/kehoste/LLVM/llvm-gcc-4.2_obj/./gcc -nostdinc++
-L/home/kehoste/LLVM/llvm-gcc-4.2_obj/i686-pc-linux-gnu/libstdc++-v3/src
-L/home/kehoste/LLVM/llvm-gcc-4.2_obj/i686-pc-linux-gnu/libstdc++-v3/src/.libs
-B/user/kehoste/LLVM/llvm-gcc-4.2/i686-pc-linux-gnu/bin/
-B/user/kehoste/LLVM/llvm-gcc-4.2/i686-pc-linux-gnu/lib/ -isystem
/user/kehoste/LLVM/llvm-gcc-4.2/i686-pc-linux-gnu/include -isystem
/user/kehoste/LLVM/llvm-gcc-4.2/i686-pc-linux-gnu/sys-include
-I/home/kehoste/LLVM/llvm-gcc-4.2_src/libstdc++-v3/../gcc
-I/home/kehoste/LLVM/llvm-gcc-4.2_obj/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu
-I/home/kehoste/LLVM/llvm-gcc-4.2_obj/i686-pc-linux-gnu/libstdc++-v3/include
-I/home/kehoste/LLVM/llvm-gcc-4.2_src/libstdc++-v3/libsupc++ 
-fno-implicit-templates -prefer-pic -Wall -Wextra -Wwrite-strings -Wcast-qual 
-fdiagnostics-show-location=once  -ffunction-sections -fdata-sections  -g -O2 
-D_GNU_SOURCE  -c -o eh_terminate.lo
../../../../llvm-gcc-4.2_src/libstdc++-v3/libsupc++/eh_terminate.cc
/home/kehoste/LLVM/llvm-gcc-4.2_obj/./gcc/xgcc -shared-libgcc
-B/home/kehoste/LLVM/llvm-gcc-4.2_obj/./gcc -nostdinc++
-L/home/kehoste/LLVM/llvm-gcc-4.2_obj/i686-pc-linux-gnu/libstdc++-v3/src
-L/home/kehoste/LLVM/llvm-gcc-4.2_obj/i686-pc-linux-gnu/libstdc++-v3/src/.libs
-B/user/kehoste/LLVM/llvm-gcc-4.2/i686-pc-linux-gnu/bin/
-B/user/kehoste/LLVM/llvm-gcc-4.2/i686-pc-linux-gnu/lib/ -isystem
/user/kehoste/LLVM/llvm-gcc-4.2/i686-pc-linux-gnu/include -isystem
/user/kehoste/LLVM/llvm-gcc-4.2/i686-pc-linux-gnu/sys-include
-I/home/kehoste/LLVM/llvm-gcc-4.2_src/libstdc++-v3/../gcc
-I/home/kehoste/LLVM/llvm-gcc-4.2_obj/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu
-I/home/kehoste/LLVM/llvm-gcc-4.2_obj/i686-pc-linux-gnu/libstdc++-v3/include
-I/home/kehoste/LLVM/llvm-gcc-4.2_src/libstdc++-v3/libsupc++
-fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual
-fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -O2
-D_GNU_SOURCE -c
../../../../llvm-gcc-4.2_src/libstdc++-v3/libsupc++/eh_terminate.cc  -fPIC
-DPIC -o eh_terminate.o
cc1plus: /home/kehoste/LLVM/llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp:644:
void llvm::ScheduleDAG::AddOperand(llvm::MachineInstr*, llvm::SDOperand,
unsigned int, const llvm::TargetInstrDesc*, llvm::DenseMap<llvm::SDOperand,
unsigned int, llvm::DenseMapInfo<llvm::SDOperand>, llvm::DenseMapInfo<unsigned
int> >&): Assertion `Op.getValueType() != MVT::Other && Op.getValueType() !=
MVT::Flag && "Chain and flag operands should occur at end of operand list!"'
failed.
../../../../llvm-gcc-4.2_src/libstdc++-v3/libsupc++/eh_terminate.cc:83:
internal compiler error: Aborted

I configured/build LLVM and llvm-gcc as follows:

=> llvm:

../llvm/configure --prefix=/home/kehoste/LLVM/llvm-bin

make ENABLE_OPTIMIZED=1

=> llvm-gcc:

../llvm-gcc-4.2_src/configure --prefix=/user/kehoste/LLVM/llvm-gcc-4.2
--program-prefix=llvm- --enable-llvm=/user/kehoste/LLVM/llvm-obj
--enable-languages=c,c++,fortran

make

This is using revision 51865.


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