http://llvm.org/bugs/show_bug.cgi?id=6816
Summary: LLVM-GCC fails to build when configured for mips
target
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Created an attachment (id=4665)
--> (http://llvm.org/bugs/attachment.cgi?id=4665)
Terminal output during attempted installation
The following set of commands is used to configure/build the llvm-gcc
installation:
LLVM_OBJ=/home/maldham/llvm/llvm-svn-obj/
cd llvm-gcc-obj
../llvm-gcc-svn-Apr-10-2010-source/configure
--prefix=/home/maldham/llvm/llvm-gcc-install --program-prefix=llvm- \
--enable-llvm=$LLVM_OBJ --enable-languages=c,c++ \
--build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=mips-unknown-elf
make > MAKE_LOG.txt
make install
The following error occurs:
/home/maldham/llvm/llvm-gcc-obj/./gcc/xgcc
-B/home/maldham/llvm/llvm-gcc-obj/./gcc/
-B/home/maldham/llvm/llvm-gcc-install/mips-unknown-elf/bin/
-B/home/maldham/llvm/llvm-gcc-install/mips-unknown-elf/lib/ -isystem
/home/maldham/llvm/llvm-gcc-install/mips-unknown-elf/include -isystem
/home/maldham/llvm/llvm-gcc-install/mips-unknown-elf/sys-include -O2 -O2 -g -O2
-DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem
./include -I. -I. -I../../llvm-gcc-svn-Apr-10-2010-source/gcc
-I../../llvm-gcc-svn-Apr-10-2010-source/gcc/.
-I../../llvm-gcc-svn-Apr-10-2010-source/gcc/../include
-I../../llvm-gcc-svn-Apr-10-2010-source/gcc/../libcpp/include
-I../../llvm-gcc-svn-Apr-10-2010-source/gcc/../libdecnumber -I../libdecnumber
-I/home/maldham/llvm/llvm-svn-obj//include
-I/home/maldham/llvm/llvm-svn-Apr-10-2010-source/include -g0
-finhibit-size-directive -fno-inline-functions -fno-exceptions
-fno-zero-initialized-in-bss -fno-toplevel-reorder -Dinhibit_libc -G 0 \
-c ../../llvm-gcc-svn-Apr-10-2010-source/gcc/crtstuff.c -DCRT_BEGIN \
-o crtbegin.o
exec: 2: -G: not found
Attached is config.log, MAKE_LOG.txt, and the capture of the onscreen output in
ONSCREEN_LOG.txt
--
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs