[LLVMbugs] [Bug 7212] New: Error while compiling llvm-gcc for ARM

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon May 24 05:38:33 PDT 2010


           Summary: Error while compiling llvm-gcc for ARM
           Product: tools
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: llvm-gcc
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: rengolin at gmail.com
                CC: llvmbugs at cs.uiuc.edu

Compiled LLVM trunk in Release mode.

Downloaded LLVM-GCC from svn trunk.

Configured LLVM-GCC:

/work/temp/obj-arm$ ../llvm-gcc/configure --prefix=/work/temp/obj-arm/install
--program-prefix=llvm- --enable-llvm=/work/temp/llvm --enable-languages=c,c++

Ran "make", got error:

/work/temp/obj-arm/./gcc/xgcc -B/work/temp/obj-arm/./gcc/
-B/work/temp/obj-arm/install/arm-none-eabi/lib/ -isystem
/work/temp/obj-arm/install/arm-none-eabi/include -isystem
/work/temp/obj-arm/install/arm-none-eabi/sys-include  -O2  -O2 -g -O2  -DIN_GCC
-DCROSS_DIRECTORY_STRUCTURE   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem ./include  -fno-inline -g
 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I.
-I../../llvm-gcc/gcc -I../../llvm-gcc/gcc/. -I../../llvm-gcc/gcc/../include
-I../../llvm-gcc/gcc/../libcpp/include  -I../../llvm-gcc/gcc/../libdecnumber
-I../libdecnumber -I/work/temp/llvm/include -mthumb  -fexceptions -c
../../llvm-gcc/gcc/unwind-c.c -o libgcc/thumb/unwind-c.o

cc1: error in backend: Cannot yet select: 0x1cf3d3f0: i32 = sign_extend_inreg
0x1cf56430, 0x1cf39f40 [ID=16] dbg:unwind-pe.h:266
  0x1cf56430: i32 = AssertZext 0x1cf3a550, 0x1cf39f40 [ORD=254] [ID=14]
    0x1cf3a550: i32,ch = CopyFromReg 0x1cee14f0, 0x1cf55920 [ORD=254] [ID=12]
      0x1cee14f0: ch = EntryToken [ORD=252] [ID=0]
      0x1cf55920: i32 = Register %reg1025 [ORD=254] [ID=4]
    0x1cf39f40: ch = ValueType:i8 [ORD=254] [ID=5]
  0x1cf39f40: ch = ValueType:i8 [ORD=254] [ID=5]

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