build stuck: rtems-4.10.2, arm-elf, nds
Matt Wette
mwette at alumni.caltech.edu
Wed Apr 10 02:18:26 UTC 2013
I'm looking for hints.
I built tools, then configure rtems-4.10.2 for --target=arm-elf, then make RTEMS_BSP=nds
It fails in configure for arm/nds, saying compiler cannot generate executables. But I verified:
localhost$ cat zzz.c
int
main ()
{
;
return 0;
}
localhost$ vi zzz.c
localhost$ cat zzz.c
int main () {
;
return 0;
}
localhost$ arm-elf-gcc zzz.c
localhost$ file a.out
a.out: ELF 32-bit LSB executable, ARM, version 1, statically linked, not stripped
localhost$
==================================================================
Here is extract from arm/nds/config.log:
configure:3340: checking for C compiler version
configure:3349: arm-elf-gcc --version >&5
arm-elf-gcc (GCC) 3.4.6
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3360: $? = 0
configure:3349: arm-elf-gcc -v >&5
Reading specs from /opt/rtool-4.10/lib/gcc/arm-elf/3.4.6/specs
Configured with: ./configure --prefix=/opt/rtool-4.10 --target=arm-elf
Thread model: single
gcc version 3.4.6
configure:3360: $? = 0
configure:3349: arm-elf-gcc -V >&5
arm-elf-gcc: `-V' option must have argument
configure:3360: $? = 1
configure:3349: arm-elf-gcc -qversion >&5
arm-elf-gcc: unrecognized option `-qversion'
arm-elf-gcc: no input files
configure:3360: $? = 1
configure:3380: checking whether the C compiler works
configure:3402: arm-elf-gcc -mstructure-size-boundary=8 -mcpu=arm9tdmi -mfpu=vfp -mfloat-abi=soft -mthumb-interwork -O2 conftest.c >&5
cc1: error: invalid option `fpu=vfp'
cc1: error: invalid option `float-abi=soft'
configure:3406: $? = 1
configure:3444: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "rtems-c-src"
| #define PACKAGE_TARNAME "rtems-c-src"
| #define PACKAGE_VERSION "4.10.2"
| #define PACKAGE_STRING "rtems-c-src 4.10.2"
| #define PACKAGE_BUGREPORT "http://www.rtems.org/bugzilla"
| #define PACKAGE_URL ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3449: error: in `/home/maintL/rtems/rtems-build/arm-elf/c/nds':
configure:3451: error: C compiler cannot create executables
See `config.log' for more details
More information about the users
mailing list