This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


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

newlib error while cross compiling gcc


Hi 

I am trying to build  the gnu gcc toolchain for arm7tdmi cpu and I encountered the following error when doing the make for gcc. What is the resolution for this? Please help !

the packages I am using are 
binutils: binutils-2.25
newlib:  newlib-2.2.0.20150323
gcc:      gcc-4.9.2
gmp:     gmp-6.0.0
mpc:     mpc-1.0.3
mpfr:     mpfr-3.1.2

gcc is configured as follows

~/armtoolchain/src/gcc-4.9.2/configure --target=arm-none-eabi --prefix=/home/user/armtoolchain/binaries/ --enable-languages=c,c++ --with-gnu-as --with-gnu-ld --with-newlib --with-gxx-include-dir=/home/user/armtoolchain/binaries/arm-none-eabi/include --with-cpu=arm7tdmi --with-gmp=/home/user/armtoolchain/binaries --with-mpfr=/home/user/armtoolchain/binaries --with-mpc=/home/user/armtoolchain/binaries


the error messages displayed are 
/home/user/armtoolchain/src/gcc-4.9.2/newlib/libc/machine/arm/aeabi_memset-arm.S: Assembler messages:
/home/user/armtoolchain/src/gcc-4.9.2/newlib/libc/machine/arm/aeabi_memset-arm.S:43: Error: selected processor does not support ARM mode `uxtb lr,r2'
/home/user/armtoolchain/src/gcc-4.9.2/newlib/libc/machine/arm/aeabi_memset-arm.S:58: Error: selected processor does not support ARM mode `uxtb lr,r2'
/home/user/armtoolchain/src/gcc-4.9.2/newlib/libc/machine/arm/aeabi_memset-arm.S:93: Error: selected processor does not support ARM mode `uxtbne r2,r2'
make[9]: *** [lib_a-aeabi_memset-soft.o] Error 1
make[9]: Leaving directory `/home/user/armtoolchain/builds/gcc-4.9.2/arm-none-eabi/fpu/newlib/libc/machine/arm'
make[8]: *** [all-recursive] Error 1
make[8]: Leaving directory `/home/user/armtoolchain/builds/gcc-4.9.2/arm-none-eabi/fpu/newlib/libc/machine'
make[7]: *** [all-recursive] Error 1
make[7]: Leaving directory `/home/user/armtoolchain/builds/gcc-4.9.2/arm-none-eabi/fpu/newlib/libc'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/home/user/armtoolchain/builds/gcc-4.9.2/arm-none-eabi/fpu/newlib'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/home/user/armtoolchain/builds/gcc-4.9.2/arm-none-eabi/fpu/newlib'
make[4]: *** [multi-do] Error 1
make[4]: Leaving directory `/home/user/armtoolchain/builds/gcc-4.9.2/arm-none-eabi/newlib'
make[3]: *** [all-multi] Error 2
make[3]: Leaving directory `/home/user/armtoolchain/builds/gcc-4.9.2/arm-none-eabi/newlib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/user/armtoolchain/builds/gcc-4.9.2/arm-none-eabi/newlib'
make[1]: *** [all-target-newlib] Error 2
make[1]: Leaving directory `/home/user/armtoolchain/builds/gcc-4.9.2'
make: *** [all] Error 2

Thanks and Regards,
Yogesh

--
For unsubscribe information see http://sourceware.org/lists.html#faq


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