[fpc-devel] freepascal on armhf again

Sven Barth pascaldragon at googlemail.com
Sun Mar 4 10:36:48 CET 2012


On 03.03.2012 23:45, peter green wrote:
> I decided to take another look at the freepascal armhf issue and decided
> that the first step would be to build freepascal with vfp enabled but
> still the softfloat ABI then once that was working.
>
> (note: i'm currently working on upstream fpc svn, if/when I get things
> working reasonablly on armhf I will look into backporting to the version
> in debian)
>
> Unfortunately when I try to build freepascal with vfp enabled
>
> make all 'OPT=-dFPC_ARMEL -CfVFPV3'
>
> I get assembler errors.
>
> /fpc/rtl/units/arm-linux/system.s:43697: Error: selected processor does
> not support ARM mode `fmdrr d0,r2,r3'
> /fpc/rtl/units/arm-linux/system.s:43698: Error: selected processor does
> not support ARM mode `fmrrd r2,r3,d0'
> /fpc/rtl/units/arm-linux/system.s:45460: Error: selected processor does
> not support ARM mode `fmsr s0,r0'
> /fpc/rtl/units/arm-linux/system.s:45461: Error: selected processor does
> not support ARM mode `fuitod d0,s0'
> /fpc/rtl/units/arm-linux/system.s:45463: Error: selected processor does
> not support ARM mode `fldd d1,[r0]'
> /fpc/rtl/units/arm-linux/system.s:45464: Error: selected processor does
> not support ARM mode `fmuld d0,d0,d1'
> /fpc/rtl/units/arm-linux/system.s:45465: Error: selected processor does
> not support ARM mode `fmrrd r0,r1,d0'
> /fpc/rtl/units/arm-linux/system.s:47271: Error: selected processor does
> not support ARM mode `fstmiax r0!,{d8,d9,d10,d11,d12,d13,d14,d15}'
> /fpc/rtl/units/arm-linux/system.s:47294: Error: selected processor does
> not support ARM mode `fldmiax r12!,{d8,d9,d10,d11,d12,d13,d14,d15}'
> /fpc/rtl/units/arm-linux/system.s:55773: Error: selected processor does
> not support ARM mode `fldd d0,[r11,#4]'
> /fpc/rtl/units/arm-linux/system.s:55795: Error: selected processor does
> not support ARM mode `fmrrd r2,r3,d0'
> /fpc/rtl/units/arm-linux/system.s:55827: Error: selected processor does
> not support ARM mode `fldd d0,[r11,#4]'
> /fpc/rtl/units/arm-linux/system.s:55849: Error: selected processor does
> not support ARM mode `fmrrd r2,r3,d0'
>
> Any idea what exactly these errors mean (e.g. do any processors support
> these instructions and if so which ones), what is causing this (e.g. why
> is freepascal generating these instructions) and what if anything I can
> do about it?

Maybe this will help you: 
http://wiki.freepascal.org/FPC_New_Features_2.6.0#Support_for_VFPv2_and_VFPv3

Thus additionially defining -Cparmv6 might allow the build to be completed.

Regards,
Sven



More information about the fpc-devel mailing list