[fpc-devel] More on freepascal armhf porting attempt, some progress made but now stuck.
jonas.maebe at elis.ugent.be
Sun Mar 11 12:43:15 CET 2012
On 11 Mar 2012, at 12:01, peter green wrote:
> When I try to build my patched compiler (using make compiler_cycle 'OPT=-dFPC_ARMHF' ) the starting compiler builds the RTL and compiler successfully (as would be expected) but when ppc1 tries to build the RTL things fail with assembler errors. The errors below are a sample of the types of error seen (there are a HUGE number of each)
> /fpc/rtl/units/arm-linux/system.s:19075: Error: selected processor does not support ARM mode `mvfd d0,f0'
> /fpc/rtl/units/arm-linux/system.s:19077: Error: selected processor does not support ARM mode `ldfd f0,[r13]'
> /fpc/rtl/units/arm-linux/system.s:41169: Error: selected processor does not support ARM mode `ldfs f0,[r13]'
> It appears to me (i'm not an expert on arm assembler and I can't seem to find any documentation on FPA) that FPC is generating FPA instructions even though the FPU is set to a VFP type.
Where is the FPU set to a VFP type? You have to add -Cfvfpv2 or so to OPT to select a VFP FPU.
More information about the fpc-devel