"SVC is not permitted on this architecture" while compiling Newlib

Sebastian Huber sebastian.huber@embedded-brains.de
Fri Jul 13 07:58:00 GMT 2012

On 07/11/2012 11:40 PM, Krzysztof wrote:
> Hello all,
> I am in the process of building myself a toolset for playing with ARM chips
> and  Newlib is another thing on my list.
> I am trying to crosscompile Newlib for stm32 M3 ARM using Codesourcery compiled.
> The configure command: "../newlib/configure --target=arm-none-eabi
> --disable-newlib-supplied-syscalls"
> Host OS Linux 32bit
> but i am getting following error:
> "../../../../../newlib/libgloss/arm/linux-syscalls0.S: Assembler messages:
>   ../../../../../newlib/libgloss/arm/linux-syscalls0.S:44: Error: SVC is not
> permitted on this architecture"
> Could  you please advice how to fix it.
> I am not entirely sure what SVC is to be honest but from the little reading i
> did it seem that SVC is supported on M3 devices. Do i miss an argument during a
> configure part??

This is a bug in the Binutils.  It should be fixed at least on the CVS head.

Sebastian Huber, embedded brains GmbH

Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone   : +49 89 18 90 80 79-6
Fax     : +49 89 18 90 80 79-9
E-Mail  : sebastian.huber@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

More information about the Newlib mailing list