吴伟
2010-Jul-07 07:22 UTC
[LLVMdev] llvm-gcc : Did not get a target machine! Triplet is mips64el-unknown-linux-gnu
Hi all, I met this error(title) when i was trying to compile llvm-gcc-4.2-2.7 on loongson2f,a mips compatible platform.I also failed to build a cross-compiler and the error message was the same . Is that means llvm-gcc cannot support mips back-end now? Thanks. Here is my configure options: $export TARGET=mips64el-unknown-linux-gnu $../../src/llvm-gcc-4.2-2.7.source/configure --target=$TARGET --prefix=$PREFIX --without-headers --disable-shared --disable-nls --enable-checking --with-gnu-as --with-gnu-id --enable-languages=c,c++ --enable-llvm=$(pwd)/../llvm-2.7 && make all-gcc ------------------------------------------------------ echo '#endif' >> tp-bit.c /home/ext3/loongson/build/llvm-gcc/./gcc/xgcc -B/home/ext3/loongson/build/llvm-gcc/./gcc/ -B/home/ext3/loongson/install/mips64el-unknown-linux-gnu/bin/ -B/home/ext3/loongson/install/mips64el-unknown-linux-gnu/lib/ -isystem /home/ext3/loongson/install/mips64el-unknown-linux-gnu/include -isystem /home/ext3/loongson/install/mips64el-unknown-linux-gnu/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../../../src/llvm-gcc-4.2-2.7.source/gcc -I../../../src/llvm-gcc-4.2-2.7.source/gcc/. -I../../../src/llvm-gcc-4.2-2.7.source/gcc/../include -I../../../src/llvm-gcc-4.2-2.7.source/gcc/../libcpp/include -I../../../src/llvm-gcc-4.2-2.7.source/gcc/../libdecnumber -I../libdecnumber -I/home/ext3/loongson/build/llvm-gcc/../llvm-2.7/include -I/home/ext3/loongson/src/llvm-2.7/include -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-toplevel-reorder -Dinhibit_libc \ -c ../../../src/llvm-gcc-4.2-2.7.source/gcc/crtstuff.c -DCRT_BEGIN \ -o crtbegin.o *Did not get a target machine! Triplet is mips64el-unknown-linux-gnu* make[1]: *** [crtbegin.o] Error 1 make[1]: Leaving directory `/home/ext3/loongson/build/llvm-gcc/gcc' make: *** [all-gcc] Error 2 -- Wei Wu wuwei08 at iscas.ac.cn -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100707/8e1104c8/attachment.html>
Chris Lattner
2010-Jul-07 15:36 UTC
[LLVMdev] llvm-gcc : Did not get a target machine! Triplet is mips64el-unknown-linux-gnu
On Jul 7, 2010, at 12:22 AM, 吴伟 wrote:> Hi all, > I met this error(title) when i was trying to compile llvm-gcc-4.2-2.7 on loongson2f,a mips compatible platform.I also failed to build a cross-compiler and the error message was the same . Is that means llvm-gcc cannot support mips back-end now?I don't think that LLVM supports mips64 yet... Bruno? -Chris> Thanks. > > Here is my configure options: > $export TARGET=mips64el-unknown-linux-gnu > $../../src/llvm-gcc-4.2-2.7.source/configure --target=$TARGET --prefix=$PREFIX --without-headers --disable-shared --disable-nls --enable-checking --with-gnu-as --with-gnu-id --enable-languages=c,c++ --enable-llvm=$(pwd)/../llvm-2.7 && make all-gcc > > ------------------------------------------------------ > echo '#endif' >> tp-bit.c > /home/ext3/loongson/build/llvm-gcc/./gcc/xgcc -B/home/ext3/loongson/build/llvm-gcc/./gcc/ -B/home/ext3/loongson/install/mips64el-unknown-linux-gnu/bin/ -B/home/ext3/loongson/install/mips64el-unknown-linux-gnu/lib/ -isystem /home/ext3/loongson/install/mips64el-unknown-linux-gnu/include -isystem /home/ext3/loongson/install/mips64el-unknown-linux-gnu/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../../../src/llvm-gcc-4.2-2.7.source/gcc -I../../../src/llvm-gcc-4.2-2.7.source/gcc/. -I../../../src/llvm-gcc-4.2-2.7.source/gcc/../include -I../../../src/llvm-gcc-4.2-2.7.source/gcc/../libcpp/include -I../../../src/llvm-gcc-4.2-2.7.source/gcc/../libdecnumber -I../libdecnumber -I/home/ext3/loongson/build/llvm-gcc/../llvm-2.7/include -I/home/ext3/loongson/src/llvm-2.7/include -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-toplevel-reorder -Dinhibit_libc \ > -c ../../../src/llvm-gcc-4.2-2.7.source/gcc/crtstuff.c -DCRT_BEGIN \ > -o crtbegin.o > Did not get a target machine! Triplet is mips64el-unknown-linux-gnu > make[1]: *** [crtbegin.o] Error 1 > make[1]: Leaving directory `/home/ext3/loongson/build/llvm-gcc/gcc' > make: *** [all-gcc] Error 2 > > > -- > Wei Wu > wuwei08 at iscas.ac.cn > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100707/3792396e/attachment.html>
Bruno Cardoso Lopes
2010-Jul-07 18:08 UTC
[LLVMdev] llvm-gcc : Did not get a target machine! Triplet is mips64el-unknown-linux-gnu
Hi,> Hi all, > I met this error(title) when i was trying to compile llvm-gcc-4.2-2.7 on > loongson2f,a mips compatible platform.I also failed to build a > cross-compiler and the error message was the same . Is that means llvm-gcc > cannot support mips back-end now? > > I don't think that LLVM supports mips64 yet... Bruno?There is some support for 64 bit fp, but not for mips64 though -- Bruno Cardoso Lopes http://www.brunocardoso.cc
Possibly Parallel Threads
- [LLVMdev] llvm-gcc : Did not get a target machine! Triplet is mips64el-unknown-linux-gnu
- Compiling OpenJDK8 with LLVM for mips64el
- mips64el stat/time/…? problem
- error: ordered comparison between pointer and zero ('address' (aka 'unsigned char *') and 'int')
- error: ordered comparison between pointer and zero ('address' (aka 'unsigned char *') and 'int')