"SVC is not permitted on this architecture" while compiling Newlib
Fri Jul 13 11:15:00 GMT 2012
I tried to build newlib-1.20 with binutils-2.22 and it works.
I think the issue might have something to do with the "OS extension on
in binuitls, which I think have been fixed in binutils 2.22 release.
Could you please provide the failed command line and gcc
> -----Original Message-----
> From: email@example.com [mailto:firstname.lastname@example.org] On
> Behalf Of Krzysztof
> Sent: Friday, July 13, 2012 7:11 AM
> To: email@example.com
> Subject: Re: "SVC is not permitted on this architecture" while compiling
> On 12/07/12 09:17, Sebastian Huber wrote:
> > 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.
> Hello and thanks for the reply.
> I compiled the newest binutils.
> Typing ld -v displays:
> kris@caspinol $ ld -v
> GNU ld (GNU Binutils) 2.22
> But when i build newlib i get the same error:
> "../../../../../newlib/libgloss/arm/linux-syscalls0.S: Assembler messages:
> ../../../../../newlib/libgloss/arm/linux-syscalls0.S:44: Error: SVC
> is not
> permitted on this architecture"
> I cleared all the old files and run ./configure and make again but the
> error persists.
More information about the Newlib