hi@all

i try to build the linaro-gcc on a ubuntu host 11.10 32 bit for a cortex a9.
but it doenst build to the end.
this is the first time ever i try to build a toolchain on my own, so excuse
me if its just a beginner-mistake.
somebody has any idea?

configured like this

*./configure --target=arm-linux-gnueabi --disable-bootstrap
--enable-languages=c,c++ --with-mode=thumb --with-arch=armv7-a
--with-tune=cortex-a9 --with-fpu=neon --with-float=softfp
--prefix=/home/user/bruno/pandaboard/linaro/gcc-linaro-4.6-2011.10*
*
*
no errors when configuring,
but it fails during building with this error:

*checking for suffix of object files... configure: error: in
`/home/bruno/pandaboard/linaro/gcc-linaro-4.6-2011.10_src/arm-linux-gnueabi/libgcc':
*
*configure: error: cannot compute suffix of object files: cannot compile*
*See `config.log' for more details.*
*make[1]: *** [configure-target-libgcc] Fehler 1*
*make[1]: Verlasse Verzeichnis
'/home/bruno/pandaboard/linaro/gcc-linaro-4.6-2011.10_src'*
*make: *** [all] Fehler 2*

when i check the ./arm-linux-gnueabi/libgcc/config.log the errors which
return 1 are:

*configure:3028:
/home/bruno/pandaboard/linaro/gcc-linaro-4.6-2011.10_src/host-i686-pc-linux-gnu/gcc/xgcc
-B/home/bruno/pandaboard/linaro/gcc-linaro-4.6-2011.10_src/host-i686-pc-linux-gnu/gcc/
-B/home/user/bruno/pandaboard/linaro/gcc-linaro-4.6-2011.10/arm-linux-gnueabi/bin/
-B/home/user/bruno/pandaboard/linaro/gcc-linaro-4.6-2011.10/arm-linux-gnueabi/lib/
-isystem
/home/user/bruno/pandaboard/linaro/gcc-linaro-4.6-2011.10/arm-linux-gnueabi/include
-isystem
/home/user/bruno/pandaboard/linaro/gcc-linaro-4.6-2011.10/arm-linux-gnueabi/sys-include
   -V >&5*
*xgcc: error: unrecognized option '-V'*
*xgcc: fatal error: no input files*
*compilation terminated.*
*configure:3039: $? = 1*
*configure:3028:
/home/bruno/pandaboard/linaro/gcc-linaro-4.6-2011.10_src/host-i686-pc-linux-gnu/gcc/xgcc
-B/home/bruno/pandaboard/linaro/gcc-linaro-4.6-2011.10_src/host-i686-pc-linux-gnu/gcc/
-B/home/user/bruno/pandaboard/linaro/gcc-linaro-4.6-2011.10/arm-linux-gnueabi/bin/
-B/home/user/bruno/pandaboard/linaro/gcc-linaro-4.6-2011.10/arm-linux-gnueabi/lib/
-isystem
/home/user/bruno/pandaboard/linaro/gcc-linaro-4.6-2011.10/arm-linux-gnueabi/include
-isystem
/home/user/bruno/pandaboard/linaro/gcc-linaro-4.6-2011.10/arm-linux-gnueabi/sys-include
   -qversion >&5*
*xgcc: error: unrecognized option '-qversion'*
*xgcc: fatal error: no input files*
*compilation terminated.*
*configure:3039: $? = 1*
*configure:3055:
/home/bruno/pandaboard/linaro/gcc-linaro-4.6-2011.10_src/host-i686-pc-linux-gnu/gcc/xgcc
-B/home/bruno/pandaboard/linaro/gcc-linaro-4.6-2011.10_src/host-i686-pc-linux-gnu/gcc/
-B/home/user/bruno/pandaboard/linaro/gcc-linaro-4.6-2011.10/arm-linux-gnueabi/bin/
-B/home/user/bruno/pandaboard/linaro/gcc-linaro-4.6-2011.10/arm-linux-gnueabi/lib/
-isystem
/home/user/bruno/pandaboard/linaro/gcc-linaro-4.6-2011.10/arm-linux-gnueabi/include
-isystem
/home/user/bruno/pandaboard/linaro/gcc-linaro-4.6-2011.10/arm-linux-gnueabi/sys-include
   -o conftest -g -O2   conftest.c  >&5*
*/home/bruno/pandaboard/linaro/gcc-linaro-4.6-2011.10_src/host-i686-pc-linux-gnu/gcc/as:
line 87: exec: -m: invalid option*
*exec: usage: exec [-cl] [-a name] [command [arguments ...]] [redirection
...]*
*configure:3058: $? = 1*
*configure:3246: checking for suffix of object files*
*configure:3268:
/home/bruno/pandaboard/linaro/gcc-linaro-4.6-2011.10_src/host-i686-pc-linux-gnu/gcc/xgcc
-B/home/bruno/pandaboard/linaro/gcc-linaro-4.6-2011.10_src/host-i686-pc-linux-gnu/gcc/
-B/home/user/bruno/pandaboard/linaro/gcc-linaro-4.6-2011.10/arm-linux-gnueabi/bin/
-B/home/user/bruno/pandaboard/linaro/gcc-linaro-4.6-2011.10/arm-linux-gnueabi/lib/
-isystem
/home/user/bruno/pandaboard/linaro/gcc-linaro-4.6-2011.10/arm-linux-gnueabi/include
-isystem
/home/user/bruno/pandaboard/linaro/gcc-linaro-4.6-2011.10/arm-linux-gnueabi/sys-include
   -c -g -O2  conftest.c >&5*
*/home/bruno/pandaboard/linaro/gcc-linaro-4.6-2011.10_src/host-i686-pc-linux-gnu/gcc/as:
line 87: exec: -m: invalid option*
*exec: usage: exec [-cl] [-a name] [command [arguments ...]] [redirection
...]*
*configure:3272: $? = 1*
*configure: failed program was:*
*| /* confdefs.h */*
*| #define PACKAGE_NAME "GNU C Runtime Library"*
*| #define PACKAGE_TARNAME "libgcc"*
*| #define PACKAGE_VERSION "1.0"*
*| #define PACKAGE_STRING "GNU C Runtime Library 1.0"*
*| #define PACKAGE_BUGREPORT ""*
*| #define PACKAGE_URL "http://www.gnu.org/software/libgcc/"*
*| /* end confdefs.h.  */*
*| *
*| int*
*| main ()*
*| {*
*| *
*|   ;*
*|   return 0;*
*| }*
*configure:3286: error: in
`/home/bruno/pandaboard/linaro/gcc-linaro-4.6-2011.10_src/arm-linux-gnueabi/libgcc':
*
*configure:3289: error: cannot compute suffix of object files: cannot
compile*
*See `config.log' for more details.*
_______________________________________________
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain

Reply via email to