Griffin Wright
2011-Jul-27 19:35 UTC
[LLVMdev] Problem with llvm-gcc 'make' and arm-none-linux-gnueabi-as
Hello: I recently attempted to update the ARM cross-compilation setup I had with llvm, and it did not work, so I wanted to revert back to my initial configuration. I reconfigured/make/make install'ed my llvm which executed fine, and then cleared out my llvm-gcc obj and install folders, and reconfigured gcc from within llvm-gcc/obj as follows: ../llvm-gcc-4.2-2.9.source/configure --target=arm-none-linux-gnueabi --program-prefix=llvm- --prefix=/net/coldwater/w/grwright/Research/llvm/llvm-gcc/install -with-sysroot=/net/coldwater/w/grwright/Research/llvm/arm-2011.03/arm-none-linux-gnueabi/libc --with-gnu-ld=/net/coldwater/w/grwright/Research/llvm/arm-2011.03/bin/arm-none-linux-gnueabi-ld --with-gnu-as=/net/coldwater/w/grwright/Research/llvm/arm-2011.03/bin/arm-none-linux-gnueabi-as --with-gnu-ar=/net/coldwater/w/grwright/Research/llvm/arm-2011.03/bin/arm-none-linux-gnueabi-ar --enable-llvm=/net/coldwater/w/grwright/Research/llvm/llvm-obj --disable-optimized --disable-multilib --disable-bootstrap --disable-shared --enable-checking --enable-languages=c,c++ This seemed to work fine. However, when I then executed 'make', it would make it about 10 minutes into the build and then terminate as follows: ./llvm-gcc-4.2-2.9.source/gcc/../libdecnumber -I../libdecnumber -I/net/coldwater/w/grwright/Research/llvm/llvm-obj/include -I/net/coldwater/w/grwright/Research/llvm/llvm-2.9/include ../../llvm-gcc-4.2-2.9.source/gcc/cp/g++spec.c) /net/coldwater/w/grwright/Research/llvm/arm-2010q1/bin/arm-none-linux-gnueabi-as: unrecognized option '-Qy' make[2]: *** [g++spec.o] Error 1 make[2]: Leaving directory `/net/coldwater/w/grwright/Research/llvm/llvm-gcc/obj/gcc' make[1]: *** [all-gcc] Error 2 make[1]: Leaving directory `/net/coldwater/w/grwright/Research/llvm/llvm-gcc/obj' make: *** [all] Error 2 I cannot for the life of me figure out why this is not working as I have reverted to a setup with no changes over what was working a day ago. I am at a loss for what to do, and was hoping I could get some guidance on correcting whatever my bug is. Many thanks, Griffin Wright -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110727/a3eba7ec/attachment.html>
陳韋任
2011-Jul-28 01:29 UTC
[LLVMdev] Problem with llvm-gcc 'make' and arm-none-linux-gnueabi-as
Hi, Griffin> /net/coldwater/w/grwright/Research/llvm/arm-2010q1/bin/arm-none-linux-gnueabi-as:^^^^^^^^^^^ Maybe using a newer codesourcery toolchain can help you? Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667
Griffin Wright
2011-Jul-28 02:43 UTC
[LLVMdev] Problem with llvm-gcc 'make' and arm-none-linux-gnueabi-as
I tried using 2011-03 for gnu/linux, but I got the exact same problem. -Griffin On Jul 27, 2011 9:29 PM, "陳韋任" <chenwj at iis.sinica.edu.tw> wrote:> > Hi, Griffin > > >/net/coldwater/w/grwright/Research/llvm/arm-2010q1/bin/arm-none-linux-gnueabi-as:> ^^^^^^^^^^^ > > Maybe using a newer codesourcery toolchain can help you? > > Regards, > chenwj > > -- > Wei-Ren Chen (陳韋任) > Computer Systems Lab, Institute of Information Science, > Academia Sinica, Taiwan (R.O.C.) > Tel:886-2-2788-3799 #1667-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110727/75049b66/attachment.html>
Jin Gu Kang
2011-Jul-29 05:32 UTC
[LLVMdev] Problem with llvm-gcc 'make' and arm-none-linux-gnueabi-as
Hi Griffin,> ../llvm-gcc-4.2-2.9.source/configure --target=arm-none-linux-gnueabi --program-prefix=llvm- --prefix=/net/coldwater/w/grwright/Research/llvm/llvm-gcc/install -with-sysroot=/net/coldwater/w/grwright/Research/llvm/arm-2011.03/arm-none-linux-gnueabi/libc --with-gnu-ld=/net/coldwater/w/grwright/Research/llvm/arm-2011.03/bin/arm-none-linux-gnueabi-ld --with-gnu-as=/net/coldwater/w/grwright/Research/llvm/arm-2011.03/bin/arm-none-linux-gnueabi-as --with-gnu-ar=/net/coldwater/w/grwright/Research/llvm/arm-2011.03/bin/arm-none-linux-gnueabi-ar --enable-llvm=/net/coldwater/w/grwright/Research/llvm/llvm-obj --disable-optimized --disable-multilib --disable-bootstrap --disable-shared --enable-checking --enable-languages=c,c++I recommend following cofigure options. --with-ld==/net/coldwater/w/grwright/Research/llvm/arm-2011.03/arm-none-linux-gnueabi/bin/ld --with-as=/net/coldwater/w/grwright/Research/llvm/arm-2011.03/arm-none-linux-gnueabi/bin/as --with-ar=/net/coldwater/w/grwright/Research/llvm/arm-2011.03/arm-none-linux-gnueabi/bin/ar Your error messase may be because installed tools on system is invoked. good luck, Jin-Gu Kang -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110729/fb0a8cb9/attachment.html>
Reasonably Related Threads
- [LLVMdev] Problem with llvm-gcc 'make' and arm-none-linux-gnueabi-as
- [LLVMdev] Problem with llvm-gcc 'make' and arm-none-linux-gnueabi-as
- [LLVMdev] PLEASE help with Alias Analysis initialization assertion at the end of my pass
- [LLVMdev] PLEASE help with Alias Analysis initialization assertion at the end of my pass
- [LLVMdev] PLEASE help with Alias Analysis initialization assertion at the end of my pass