[fpc-devel] What is the best match for for -mfpu=fpv4-sp-d16 on fpc-arm?

Florian Klämpfl florian at freepascal.org
Sun Apr 12 20:06:43 CEST 2020


Am 12.04.20 um 17:35 schrieb Michael Ring via fpc-devel:
> Thanks, but unfortunately this created some issues, both when I build 
> plain armv6m/armv7em embedded compiler+rtl and my freertos target 
> (Errors are the same)
> 
> armv6m embedded from trunk compiling without -Cf flag:
> 
> /Users/ring/fpcupdeluxe/fpc/bin/x86_64-darwin/ppcarm -Cparmv6m -Ur 
> -Tembedded -Parm -XParm-embedded- -Xr -Ur -Xs -O2 -n -Fi../inc -Fi../arm 
> -FD/Users/ring/fpcupdeluxe/fpc/bin/x86_64-darwin -FE. 
> -FU/Users/ring/devel/fpc/rtl/units/arm-embedded -vw-n-h-l-d-u-t-p-c- -ap 
> -darm -dRELEASE ../inc/iso7185.pp
> iso7185.pp(267,13) Fatal: Internal error 2009112404
> 
> armv7em compiling with -CfFPV4_SP_D16
> 
> /Library/Developer/CommandLineTools/usr/bin/make -C embedded all
> /Users/ring/fpcupdeluxe/fpc/bin/x86_64-darwin/ppcarm -Cparmv7em -Ur 
> -Tembedded -Parm -XParm-embedded- -Xr -Ur -Xs -O2 -n -Fi../inc -Fi../arm 
> -FD/Users/ring/fpcupdeluxe/fpc/bin/x86_64-darwin -FE. 
> -FU/Users/ring/devel/fpc/rtl/units/arm-embedded -vw-n-h-l-d-u-t-p-c- -ap 
> -CfFPV4_SP_D16 -darm -dRELEASE  -Us -Sg system.pp @system.cfg
> {standard input}: Assembler messages:
> {standard input}:19643: Error: selected FPU does not support instruction 
> -- `vmov d0,r0,r1'
> 
> {standard input}:19659: Error: selected FPU does not support instruction 
> -- `vmov d0,r0,r1'

Hopefully all fixed.


More information about the fpc-devel mailing list