This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cross-compiler build failed at libgcc, what is error message saying?


While building a cross compiler (target Android), the process stopped at the libgcc build where it checks if the new compiler can produce executables. This is the error message:

exec: -march=armv5te: not found

What does that mean?  What's not found?
Relevant info below.
Thanks,
John



Here's the command:
===================
> /home/marino/cross-android/work/build/./gcc/xgcc \
  -B/home/marino/cross-android/work/build/./gcc/ \
  -B/AFS/android-9-arm/cross219/armv5-android-eabi/bin/ \
  -B/AFS/android-9-arm/cross219/armv5-android-eabi/lib/ \
  -isystem /AFS/android-9-arm/cross219/armv5-android-eabi/include \
  -isystem /AFS/android-9-arm/cross219/armv5-android-eabi/sys-include \
  -c -v -g -Os test.c



Here is the verbose output:
===========================
Reading specs from /home/marino/cross-android/work/build/./gcc/specs
COLLECT_GCC=/home/marino/cross-android/work/build/./gcc/xgcc
COLLECT_LTO_WRAPPER=/home/marino/cross-android/work/build/./gcc/lto-wrapper
Target: armv5-android-eabi
Configured with: /home/marino/cross-android/work/gcc-4.6-20110125/configure --enable-languages=c,ada --build=x86_64-aux-dragonfly2.8 --host=x86_64-aux-dragonfly2.8 --target=armv5-android-eabi --program-prefix=armv5-android-eabi- --prefix=/AFS/android-9-arm/cross219 --with-arch=armv5te --with-system-zlib --with-gmp=/usr/pkg --with-mpfr=/usr/pkg --with-mpc=/usr/pkg --with-libiconv-prefix=/usr/pkg --with-sysroot=/AFS/android-9-arm --with-float=soft --with-fpu=vfp --enable-target-optspace --enable-threads=posix --enable-__cxa_atexit --disable-bootstrap --disable-multilib --disable-shared --disable-libssp --disable-libgomp --disable-libmudflap --disable-libquadmath --disable-tls --disable-nls
Thread model: posix
gcc version 4.6.0 20110125 (experimental) -=> GNAT AUX [DFLY64 -> Android ARMv5] (GCC)
COLLECT_GCC_OPTIONS='-B' '/home/marino/cross-android/work/build/./gcc/' '-B' '/AFS/android-9-arm/cross219/armv5-android-eabi/bin/' '-B' '/AFS/android-9-arm/cross219/armv5-android-eabi/lib/' '-isystem' '/AFS/android-9-arm/cross219/armv5-android-eabi/include' '-isystem' '/AFS/android-9-arm/cross219/armv5-android-eabi/sys-include' '-c' '-v' '-g' '-Os' '-march=armv5te' '-mfloat-abi=soft' '-mfpu=vfp'
/home/marino/cross-android/work/build/./gcc/cc1 -quiet -v -iprefix /home/marino/cross-android/work/build/gcc/../lib/gcc/armv5-android-eabi/4.6.0/ -isystem /home/marino/cross-android/work/build/./gcc/include -isystem /home/marino/cross-android/work/build/./gcc/include-fixed -D__USES_INITFINI__ -isystem /AFS/android-9-arm/cross219/armv5-android-eabi/include -isystem /AFS/android-9-arm/cross219/armv5-android-eabi/sys-include test.c -quiet -dumpbase test.c -march=armv5te -mfloat-abi=soft -mfpu=vfp -auxbase test -g -Os -version -o /tmp//ccHEgv0T.s
GNU C (GCC) version 4.6.0 20110125 (experimental) -=> GNAT AUX [DFLY64 -> Android ARMv5] (armv5-android-eabi)
compiled by GNU C version 4.6.0 20110109 (experimental) -=> GNAT AUX [DragonFly64], GMP version 5.0.1, MPFR version 3.0.0-p3, MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
ignoring nonexistent directory "/AFS/android-9-arm/cross219/armv5-android-eabi/include"
ignoring nonexistent directory "/AFS/android-9-arm/cross219/armv5-android-eabi/sys-include"
ignoring nonexistent directory "/home/marino/cross-android/work/build/gcc/../lib/gcc/armv5-android-eabi/4.6.0/include"
ignoring nonexistent directory "/home/marino/cross-android/work/build/gcc/../lib/gcc/armv5-android-eabi/4.6.0/include-fixed"
ignoring nonexistent directory "/home/marino/cross-android/work/build/gcc/../lib/gcc/armv5-android-eabi/4.6.0/../../../../armv5-android-eabi/include"
ignoring nonexistent directory "/home/marino/cross-android/work/build/gcc/../lib/gcc/../../lib/gcc/armv5-android-eabi/4.6.0/include"
ignoring nonexistent directory "/AFS/android-9-arm/usr/local/include"
ignoring nonexistent directory "/home/marino/cross-android/work/build/gcc/../lib/gcc/../../lib/gcc/armv5-android-eabi/4.6.0/include-fixed"
ignoring nonexistent directory "/home/marino/cross-android/work/build/gcc/../lib/gcc/../../lib/gcc/armv5-android-eabi/4.6.0/../../../../armv5-android-eabi/include"
#include "..." search starts here:
#include <...> search starts here:
/home/marino/cross-android/work/build/./gcc/include
/home/marino/cross-android/work/build/./gcc/include-fixed
/AFS/android-9-arm/usr/include
End of search list.
GNU C (GCC) version 4.6.0 20110125 (experimental) -=> GNAT AUX [DFLY64 -> Android ARMv5] (armv5-android-eabi)
compiled by GNU C version 4.6.0 20110109 (experimental) -=> GNAT AUX [DragonFly64], GMP version 5.0.1, MPFR version 3.0.0-p3, MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 9a7b101d8196692c46fe177aa27b08a8
COLLECT_GCC_OPTIONS='-B' '/home/marino/cross-android/work/build/./gcc/' '-B' '/AFS/android-9-arm/cross219/armv5-android-eabi/bin/' '-B' '/AFS/android-9-arm/cross219/armv5-android-eabi/lib/' '-isystem' '/AFS/android-9-arm/cross219/armv5-android-eabi/include' '-isystem' '/AFS/android-9-arm/cross219/armv5-android-eabi/sys-include' '-c' '-v' '-g' '-Os' '-march=armv5te' '-mfloat-abi=soft' '-mfpu=vfp'
/home/marino/cross-android/work/build/./gcc/as -march=armv5te -mfloat-abi=soft -mfpu=vfp -meabi=5 -o test.o /tmp//ccHEgv0T.s
exec: -march=armv5te: not found




Here's test.c:
==============
/* 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;
}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]