[kaffe] error wihle compiling for xscale

Dalibor Topic robilad at kaffe.org
Wed Jun 30 11:13:00 PDT 2004


Fabien Renaud wrote:
> 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.

Actually, this one was due to stfd not being available on xscale, afaik. 
At least that's what the compiler error message says:)

cheers,
dalibor topic




More information about the kaffe mailing list