[LLVMdev] Problem with llvm-gcc 'make' and arm-none-linux-gnueabi-as

Griffin Wright gwright215 at gmail.com
Wed Jul 27 12:35:03 PDT 2011


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>


More information about the llvm-dev mailing list