"SVC is not permitted on this architecture" while compiling Newlib
Krzysztof
krzysztof.grobelak@gmail.com
Fri Jul 13 07:58:00 GMT 2012
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
More information about the Newlib
mailing list