Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2020-07

Problem compiling rtl for arm-embedded with -CfFPV4_SP_D16

4 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Ring

I today updated to latest trunk, I am getting an error compiling rtl for arm-embedded, but only for armv7em with enabled FPU, armv6m and armv7m compile fine.

/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 -darm -dRELEASE -Sg -CfFPV4_SP_D16  -Us -Sg system.pp @system.cfg {standard input}: Assembler messages:
{standard input}:18442: Error: selected FPU does not support instruction -- `vneg.f32 d0,d0'
{standard input}:18517: Error: selected FPU does not support instruction -- `vneg.f32 d0,d0'
{standard input}:18646: Error: selected FPU does not support instruction -- `vneg.f32 d0,d0'
{standard input}:18985: Error: selected FPU does not support instruction -- `vneg.f32 d0,d0'
{standard input}:18992: Error: selected FPU does not support instruction -- `vneg.f32 d0,d0'
{standard input}:18999: Error: selected FPU does not support instruction -- `vneg.f32 d0,d0'
{standard input}:19362: Error: selected FPU does not support instruction -- `vneg.f32 d0,d0'
{standard input}:20095: Error: selected FPU does not support instruction -- `vneg.f32 d0,d0'
{standard input}:20909: Error: selected FPU does not support instruction -- `vneggt.f32 d0,d0'
{standard input}:21049: Error: selected FPU does not support instruction -- `vnegne.f32 d0,d0'
{standard input}:21134: Error: selected FPU does not support instruction -- `vneg.f32 d0,d0'
{standard input}:21619: Error: selected FPU does not support instruction -- `vneglt.f32 d0,d0'
system.pp(339) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted
make[2]: *** [system.ppu] Error 1
make[1]: *** [embedded_all] Error 2
make: *** [rtl_all] Error 2

Reply by email

Michael Ring
to Michael Ring

As the problem is still there I checked where it comes from,

revision 45750

is to blame, 45749 compiles just fine, 45750 kills the build of rtl for armv7em

Michael

Michael Ring wrote 43 lines
I today updated to latest trunk, I am getting an error compiling rtl for arm-embedded, but only for armv7em with enabled FPU, armv6m and armv7m compile fine. /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 -darm -dRELEASE -Sg -CfFPV4_SP_D16  -Us -Sg system.pp @system.cfg {standard input}: Assembler messages: {standard input}:18442: Error: selected FPU does not support instruction -- `vneg.f32 d0,d0' {standard input}:18517: Error: selected FPU does not support instruction -- `vneg.f32 d0,d0' {standard input}:18646: Error: selected FPU does not support instruction -- `vneg.f32 d0,d0' {standard input}:18985: Error: selected FPU does not support instruction -- `vneg.f32 d0,d0' {standard input}:18992: Error: selected FPU does not support instruction -- `vneg.f32 d0,d0' {standard input}:18999: Error: selected FPU does not support instruction -- `vneg.f32 d0,d0' {standard input}:19362: Error: selected FPU does not support instruction -- `vneg.f32 d0,d0' {standard input}:20095: Error: selected FPU does not support instruction -- `vneg.f32 d0,d0' {standard input}:20909: Error: selected FPU does not support instruction -- `vneggt.f32 d0,d0' {standard input}:21049: Error: selected FPU does not support instruction -- `vnegne.f32 d0,d0' {standard input}:21134: Error: selected FPU does not support instruction -- `vneg.f32 d0,d0' {standard input}:21619: Error: selected FPU does not support instruction -- `vneglt.f32 d0,d0' system.pp(339) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted make[2]: *** [system.ppu] Error 1 make[1]: *** [embedded_all] Error 2 make: *** [rtl_all] Error 2 _______________________________________________ fpc-devel maillist  -  https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply by email

Florian Klämpfl
to Michael Ring
Michael Ring wrote 6 lines
As the problem is still there I checked where it comes from, revision 45750 is to blame, 45749 compiles just fine, 45750 kills the build of rtl for armv7em

It is not armv7em related but fpv4_sp_d16. I hope r45799 fixes it.

Reply by email

Michael Ring
to Florian Klämpfl

Compiles again, thank you!

I should have copied the header of the mail into the message, then things would have been more clear, sorry!

Michael

Florian Klämpfl wrote 12 lines
Am 17.07.20 um 18:03 schrieb Michael Ring via fpc-devel: > As the problem is still there I checked where it comes from, > > revision 45750 > > is to blame, 45749 compiles just fine, 45750 kills the build of rtl > for armv7em It is not armv7em related but fpv4_sp_d16. I hope r45799 fixes it. _______________________________________________ fpc-devel maillist  -  https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply by email