Hi,

I have problem during compilation of the newlib-1.15.0 using gcc-4.3.0. Target 
is arm-elf.

The exact version of GCC, the system type, the options given when GCC was 
configured/built:

Target: arm-elf
Configured with: ../gcc-4.3.0/configure --target=arm-elf 
--prefix=/opt/gnuarm-4.3.0 --enable-interwork --enable-multilib 
--with-float=soft --enable-languages=c,c++ --with-newlib 
--with-headers=../newlib-1.15.0/newlib/libc/include --with-mpfr=/usr/local
Thread model: single
gcc version 4.3.0 (GCC)

The complete command line that triggers the bug:

arm-elf-gcc 
-B/home/mjaniak/tmp/install/GNUARM/gcc-4.3.0/build-newlib/arm-elf/newlib/ 
-isystem 
/home/mjaniak/tmp/install/GNUARM/gcc-4.3.0/build-newlib/arm-elf/newlib/targ-include
 -isystem 
/home/mjaniak/tmp/install/GNUARM/gcc-4.3.0/newlib-1.15.0/newlib/libc/include 
-O2 -DARM_RDI_MONITOR -fno-builtin   -mthumb -march=armv7 -c -o lib_a-setjmp.o 
`test -f 'setjmp.S' || echo 
'../../../../../../../../newlib-1.15.0/newlib/libc/machine/arm/'`setjmp.S

The compiler output:

../../../../../../../../newlib-1.15.0/newlib/libc/machine/arm/setjmp.S: 
Assembler messages:
../../../../../../../../newlib-1.15.0/newlib/libc/machine/arm/setjmp.S:123: 
Error: SP not allowed in register list -- `stmea a1!,{v1-v7,fp,ip,sp,lr}'
../../../../../../../../newlib-1.15.0/newlib/libc/machine/arm/setjmp.S:145: 
Error: SP not allowed in register list -- `ldmfd a1!,{v1-v7,fp,ip,sp,lr}'

Best regards
Mairusz Janiak

Reply via email to