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


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

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


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
armv6-m" problem
in binuitls, which I think have been fixed in binutils 2.22 release.

Could you please provide the failed command line and gcc
version/configuration information?


Thanks.

> -----Original Message-----
> From: newlib-owner@sourceware.org [mailto:newlib-owner@sourceware.org] On
> Behalf Of Krzysztof
> Sent: Friday, July 13, 2012 7:11 AM
> To: newlib@sourceware.org
> Subject: Re: "SVC is not permitted on this architecture" while compiling
> Newlib
> 
> 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.
> Thanks
> 
> Regards,
> Krzysztof





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