[kaffe] error wihle compiling for xscale

Fabien Renaud renaud at nentec.de
Tue Jun 29 01:02:48 PDT 2004


Dalibor Topic wrote:

> ramprasad wrote:
>
>> Hi All,
>>
>> I have download the latest sources from CVS.I am trying to cross 
>> compile for PXA.I am getting this error.
>>
>> support.c:1212: warning: comparison between signed and unsigned
>> support.c:1217: warning: will never be executed
>> /tmp/ccinW69c.s: Assembler messages:
>> /tmp/ccinW69c.s:2542: Error: selected processor does not support 
>> `stfd f0,[r3,#0]'
>> /tmp/ccinW69c.s:2553: Error: selected processor does not support 
>> `stfs f0,[r3,#0]'
>> make[3]: *** [support.lo] Error 1
>> make[3]: Leaving directory `/home/rprasad/kaffe/kaffe/kaffe/kaffevm'
>>
>> I am using GCC-332,GLIBC232 and binutils-2.14. Tool-chain is built 
>> for Xscale.
>
>
> It seems that xscale doesn't have those instructions. I've rewritten 
> the code in CVS head to just use plain C to achieve the same results. 

These errors are due to a bad value of SP_OFFSET.
Compile only developpers/sp_offset.c and run it on your box. That will 
give you the correct value.
Then correct the value (define in config/arm/linux/md.h) For me it´s 8 
instead of 20

Cheers ,
Fabien

>
>
> cheers,
> dalibor topic
>
> _______________________________________________
> kaffe mailing list
> kaffe at kaffe.org
> http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
>
>





More information about the kaffe mailing list