[LLVMbugs] [Bug 1239] NEW: ICE compiling LLVM with LLVM-GCC

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Mar 3 15:31:59 PST 2007


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

           Summary: ICE compiling LLVM with LLVM-GCC
           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: me22.ca at gmail.com


Compiling LLVM (cvs) using a bootstrapped LLVM-GCC (svn):

llvm-cvs/lib/Analysis $ llvm-g++ -I/home/me22/programming/llvm-cvs/lib/Analysis
-I/home/me22/programming/llvm-cvs/lib/Analysis
-I/home/me22/programming/llvm-cvs/include
-I/home/me22/programming/llvm-cvs/include
-I/home/me22/programming/llvm-cvs/include
-I/home/me22/programming/llvm-cvs/include  -D_GNU_SOURCE -D__STDC_LIMIT_MACROS
-O3 -fomit-frame-pointer -fno-exceptions -D_DEBUG  -Woverloaded-virtual
-pedantic -Wall -W -Wwrite-strings -Wno-long-long -Wunused -Wno-unused-parameter
 -c -MD -MT
/home/me22/programming/llvm-cvs/lib/Analysis/Release/ConstantFolding.o -MP -MF
/home/me22/programming/llvm-cvs/lib/Analysis/Release/ConstantFolding.LACXXd
ConstantFolding.cpp -o
/home/me22/programming/llvm-cvs/lib/Analysis/Release/ConstantFolding.o
cc1plus: ScheduleDAG.cpp:378: void
llvm::ScheduleDAG::AddOperand(llvm::MachineInstr*, llvm::SDOperand, unsigned
int, const llvm::TargetInstrDescriptor*, llvm::DenseMap<llvm::SDNode*, unsigned
int, llvm::DenseMapKeyInfo<llvm::SDNode*> >&): Assertion
`RegMap->getRegClass(VReg) == RC && "Register class of operand and regclass of
use don't agree!"' failed.
ConstantFolding.cpp:487: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://llvm.org/bugs> for instructions.

aKor suggesting trying with -D__NO_MATH_INLINES:

llvm-cvs/lib/Analysis $ llvm-g++ -I/home/me22/programming/llvm-cvs/lib/Analysis
-I/home/me22/programming/llvm-cvs/lib/Analysis
-I/home/me22/programming/llvm-cvs/include
-I/home/me22/programming/llvm-cvs/include
-I/home/me22/programming/llvm-cvs/include
-I/home/me22/programming/llvm-cvs/include  -D_GNU_SOURCE -D__STDC_LIMIT_MACROS
-O3 -fomit-frame-pointer -fno-exceptions -D_DEBUG  -Woverloaded-virtual
-pedantic -Wall -W -Wwrite-strings -Wno-long-long -Wunused -Wno-unused-parameter
 -c -MD -MT
/home/me22/programming/llvm-cvs/lib/Analysis/Release/ConstantFolding.o -MP -MF
/home/me22/programming/llvm-cvs/lib/Analysis/Release/ConstantFolding.LACXXd
ConstantFolding.cpp -o
/home/me22/programming/llvm-cvs/lib/Analysis/Release/ConstantFolding.o
-D__NO_MATH_INLINES
NODE: 0x8eb6600: f32 = fpowi 0x8eb1f20, 0x8eb55b0
cc1plus: LegalizeDAG.cpp:3159:
llvm::SDOperand<unnamed>::SelectionDAGLegalize::PromoteOp(llvm::SDOperand):
Assertion `0 && "Do not know how to promote this operator!"' failed.
ConstantFolding.cpp:487: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://llvm.org/bugs> for instructions.

bytecode file attached, generated with:
llvm-g++ -I/home/me22/programming/llvm-cvs/lib/Analysis
-I/home/me22/programming/llvm-cvs/lib/Analysis
-I/home/me22/programming/llvm-cvs/include
-I/home/me22/programming/llvm-cvs/include
-I/home/me22/programming/llvm-cvs/include
-I/home/me22/programming/llvm-cvs/include  -D_GNU_SOURCE -D__STDC_LIMIT_MACROS
-O3 -fomit-frame-pointer -fno-exceptions -D_DEBUG  -Woverloaded-virtual
-pedantic -Wall -W -Wwrite-strings -Wno-long-long -Wunused -Wno-unused-parameter
 -c -MD -MT
/home/me22/programming/llvm-cvs/lib/Analysis/Release/ConstantFolding.o -MP -MF
/home/me22/programming/llvm-cvs/lib/Analysis/Release/ConstantFolding.LACXXd
ConstantFolding.cpp --emit-llvm

recompiling with GCC to get a working llc & bugpoint to narrow it further...



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list