Building newlib-1.15.0 with gcc-4.3.0 for arm-elf

Jim Wilson wilson@tuliptree.org
Mon Apr 14 18:23:00 GMT 2008


Mariusz Janiak wrote:
> ../../../../../../../../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}'

This is an assembler error for a .S file, which means it has nothing to 
do with gcc.  It is either a newlib bug or a binutils bug.  Probably a 
newlib bug.  Looks like newlib doesn't support thumb2.

By the way, we don't track bugs mailed to the gcc-bugs mailing list. 
GCC bugs should be filed into bugzilla, or ask a question on the 
gcc-help mailing list.

Jim



More information about the Gcc-bugs mailing list