[LLVMbugs] [Bug 13577] New: llvm/clang compile error: "fatal error: error in backend"
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sat Aug 11 01:12:36 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=13577
Bug #: 13577
Summary: llvm/clang compile error: "fatal error: error in
backend"
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: lbalbalba at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
When using llvm/clang (r161493) to compile llvm/clang (r161724), the following
error is produced.
make[5]: Entering directory `/usr/local/src/llvm/llvm/projects/compiler-rt'
MKDIR:
/usr/local/src/llvm/build/tools/clang/runtime/compiler-rt/clang_linux/full-i386/i386/SubDir.lib
COMPILE: clang_linux/full-i386/i386:
/usr/local/src/llvm/llvm/projects/compiler-rt/lib/absvdi2.c
COMPILE: clang_linux/full-i386/i386:
/usr/local/src/llvm/llvm/projects/compiler-rt/lib/absvsi2.c
COMPILE: clang_linux/full-i386/i386:
/usr/local/src/llvm/llvm/projects/compiler-rt/lib/absvti2.c
COMPILE: clang_linux/full-i386/i386:
/usr/local/src/llvm/llvm/projects/compiler-rt/lib/adddf3.c
COMPILE: clang_linux/full-i386/i386:
/usr/local/src/llvm/llvm/projects/compiler-rt/lib/addsf3.c
COMPILE: clang_linux/full-i386/i386:
/usr/local/src/llvm/llvm/projects/compiler-rt/lib/addvdi3.c
COMPILE: clang_linux/full-i386/i386:
/usr/local/src/llvm/llvm/projects/compiler-rt/lib/addvsi3.c
COMPILE: clang_linux/full-i386/i386:
/usr/local/src/llvm/llvm/projects/compiler-rt/lib/addvti3.c
COMPILE: clang_linux/full-i386/i386:
/usr/local/src/llvm/llvm/projects/compiler-rt/lib/apple_versioning.c
MKDIR:
/usr/local/src/llvm/build/tools/clang/runtime/compiler-rt/clang_linux/full-i386/i386/SubDir.lib__i386
ASSEMBLE: clang_linux/full-i386/i386:
/usr/local/src/llvm/llvm/projects/compiler-rt/lib/i386/ashldi3.S
COMPILE: clang_linux/full-i386/i386:
/usr/local/src/llvm/llvm/projects/compiler-rt/lib/ashlti3.c
ASSEMBLE: clang_linux/full-i386/i386:
/usr/local/src/llvm/llvm/projects/compiler-rt/lib/i386/ashrdi3.S
COMPILE: clang_linux/full-i386/i386:
/usr/local/src/llvm/llvm/projects/compiler-rt/lib/ashrti3.c
COMPILE: clang_linux/full-i386/i386:
/usr/local/src/llvm/llvm/projects/compiler-rt/lib/clear_cache.c
COMPILE: clang_linux/full-i386/i386:
/usr/local/src/llvm/llvm/projects/compiler-rt/lib/clzdi2.c
COMPILE: clang_linux/full-i386/i386:
/usr/local/src/llvm/llvm/projects/compiler-rt/lib/clzsi2.c
COMPILE: clang_linux/full-i386/i386:
/usr/local/src/llvm/llvm/projects/compiler-rt/lib/clzti2.c
COMPILE: clang_linux/full-i386/i386:
/usr/local/src/llvm/llvm/projects/compiler-rt/lib/cmpdi2.c
COMPILE: clang_linux/full-i386/i386:
/usr/local/src/llvm/llvm/projects/compiler-rt/lib/cmpti2.c
COMPILE: clang_linux/full-i386/i386:
/usr/local/src/llvm/llvm/projects/compiler-rt/lib/comparedf2.c
COMPILE: clang_linux/full-i386/i386:
/usr/local/src/llvm/llvm/projects/compiler-rt/lib/comparesf2.c
COMPILE: clang_linux/full-i386/i386:
/usr/local/src/llvm/llvm/projects/compiler-rt/lib/ctzdi2.c
COMPILE: clang_linux/full-i386/i386:
/usr/local/src/llvm/llvm/projects/compiler-rt/lib/ctzsi2.c
COMPILE: clang_linux/full-i386/i386:
/usr/local/src/llvm/llvm/projects/compiler-rt/lib/ctzti2.c
COMPILE: clang_linux/full-i386/i386:
/usr/local/src/llvm/llvm/projects/compiler-rt/lib/divdc3.c
COMPILE: clang_linux/full-i386/i386:
/usr/local/src/llvm/llvm/projects/compiler-rt/lib/divdf3.c
ASSEMBLE: clang_linux/full-i386/i386:
/usr/local/src/llvm/llvm/projects/compiler-rt/lib/i386/divdi3.S
COMPILE: clang_linux/full-i386/i386:
/usr/local/src/llvm/llvm/projects/compiler-rt/lib/divmoddi4.c
COMPILE: clang_linux/full-i386/i386:
/usr/local/src/llvm/llvm/projects/compiler-rt/lib/divmodsi4.c
COMPILE: clang_linux/full-i386/i386:
/usr/local/src/llvm/llvm/projects/compiler-rt/lib/divsc3.c
COMPILE: clang_linux/full-i386/i386:
/usr/local/src/llvm/llvm/projects/compiler-rt/lib/divsf3.c
COMPILE: clang_linux/full-i386/i386:
/usr/local/src/llvm/llvm/projects/compiler-rt/lib/divsi3.c
COMPILE: clang_linux/full-i386/i386:
/usr/local/src/llvm/llvm/projects/compiler-rt/lib/divti3.c
COMPILE: clang_linux/full-i386/i386:
/usr/local/src/llvm/llvm/projects/compiler-rt/lib/divxc3.c
fatal error: error in backend: Cannot select: 0xaf1aae0: f80,glue =
X86ISD::CMOV 0xaf159c0, 0xaf15608, 0xaf1a9d0, 0xaf19fa0 [ID=30]
0xaf159c0: f80,ch = load 0xaef2250, 0xaf15690, 0xaf15828<LD4[ConstantPool],
anyext from f32> [ID=26]
0xaf15690: i32 = add 0xaf1a138, 0xaf163d8 [ID=23]
0xaf1a138: i32 = X86ISD::GlobalBaseReg [ID=13]
0xaf163d8: i32 = X86ISD::Wrapper 0xaf1a0b0 [ID=20]
0xaf1a0b0: i32 = TargetConstantPool<float 0x7FF0000000000000> 0 [TF=4]
[ID=12]
0xaf15828: i32 = undef [ID=8]
0xaf15608: f80,ch = load 0xaef2250, 0xaf15580, 0xaf15828<LD4[ConstantPool],
anyext from f32> [ID=27]
0xaf15580: i32 = add 0xaf1a138, 0xaf19b60 [ID=24]
0xaf1a138: i32 = X86ISD::GlobalBaseReg [ID=13]
0xaf19b60: i32 = X86ISD::Wrapper 0xaf16020 [ID=21]
0xaf16020: i32 = TargetConstantPool<float 0xFFF0000000000000> 0 [TF=4]
[ID=15]
0xaf15828: i32 = undef [ID=8]
0xaf1a9d0: i8 = Constant<15> [ID=14]
0xaf19fa0: i32 = X86ISD::CMP 0xaf19588, 0xaf1a1c0 [ID=29]
0xaf19588: i32 = shl 0xaf1ac78, 0xaf19c70 [ID=28]
0xaf1ac78: i32,ch = load 0xaf1a028, 0xaf15718,
0xaf15828<LD4[FixedStack1+8]> [ID=25]
0xaf15718: i32 = add 0xaf15cf0, 0xaf15e88 [ID=19]
0xaf15cf0: i32 = FrameIndex<1> [ID=7]
0xaf15e88: i32 = Constant<8> [ID=9]
0xaf15828: i32 = undef [ID=8]
0xaf19c70: i8 = Constant<16> [ID=10]
0xaf1a1c0: i32 = Constant<0> [ID=11]
In function: __divxc3
make[5]: ***
[/usr/local/src/llvm/build/tools/clang/runtime/compiler-rt/clang_linux/full-i386/i386/SubDir.lib/divxc3.o]
Error 1
make[5]: Leaving directory `/usr/local/src/llvm/llvm/projects/compiler-rt'
make[4]: *** [BuildRuntimeLibraries] Error 2
make[4]: Leaving directory
`/usr/local/src/llvm/build/tools/clang/runtime/compiler-rt'
make[3]: *** [compiler-rt/.makeall] Error 2
make[3]: Leaving directory `/usr/local/src/llvm/build/tools/clang/runtime'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/usr/local/src/llvm/build/tools/clang'
make[1]: *** [clang/.makeall] Error 2
make[1]: Leaving directory `/usr/local/src/llvm/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