[LLVMbugs] [Bug 3068] New: llvm-gcc cross-compilation for mips fails: unhandled type f32

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Nov 14 06:16:34 PST 2008


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

           Summary: llvm-gcc cross-compilation for mips fails: unhandled
                    type f32
           Product: tools
           Version: 2.4
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: build-problem, compile-fail
          Severity: normal
          Priority: P2
         Component: llvm-gcc
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: go0 at go.ru
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=2204)
 --> (http://llvm.org/bugs/attachment.cgi?id=2204)
log file and gentoo'ish build script

Any luck cross compiling? I tried to compile for MIPS (mips-pc-linux-gnu)

xgcc built during compilation fails to compile: 

====== log fragment starts ====================
/tmp/portage/sys-devel/llvm-gcc-mips-2.4/work/obj/./gcc/xgcc
-B/tmp/portage/sys-devel/llvm-gcc-mips-2.4/work/obj/./gcc/
-B/usr/lib/llvm-gcc_mips/mips-pc-linux-gnu/bin/
-B/usr/lib/llvm-gcc_mips/mips-pc-linux-gnu/lib/ -isystem
/usr/lib/llvm-gcc_mips/mips-pc-linux-gnu/include -isystem
/usr/lib/llvm-gcc_mips/mips-pc-linux-gnu/sys-include  -O2  -O2 -O2  -DIN_GCC
-DCROSS_DIRECTORY_STRUCTURE   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem ./include  -fPIC -g
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I.
-I. -I/tmp/portage/sys-devel/llvm-gcc-mips-2.4/work/llvm-gcc4.2-2.4.source/gcc
-I/tmp/portage/sys-devel/llvm-gcc-mips-2.4/work/llvm-gcc4.2-2.4.source/gcc/.
-I/tmp/portage/sys-devel/llvm-gcc-mips-2.4/work/llvm-gcc4.2-2.4.source/gcc/../include
-I/tmp/portage/sys-devel/llvm-gcc-mips-2.4/work/llvm-gcc4.2-2.4.source/gcc/../libcpp/include

-I/tmp/portage/sys-devel/llvm-gcc-mips-2.4/work/llvm-gcc4.2-2.4.source/gcc/../libdecnumber
-I../libdecnumber -I/usr/include -DL_powisf2 -c
/tmp/portage/sys-devel/llvm-gcc-mips-2.4/work/llvm-gcc4.2-2.4.source/gcc/libgcc2.c
-o libgcc/./_powisf2.o
Formal argument #0 has unhandled type f32
/tmp/portage/sys-devel/llvm-gcc-mips-2.4/work/llvm-gcc4.2-2.4.source/gcc/libgcc2.c:1765:
internal compiler error: Aborted
====== log fragment   ends ====================

Am i building it wrong? Or maybe i should try some svn version?

I enclose full log and ebuild


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