Sign in Join

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

Mailing lists / fpc-devel / 2020-08

Revision 45973 breaks build for arm-embedded target on my Mac

5 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

Revision 45972 builds fine, all Revisions since 45973 create this error on my Mac. I checked with armv6m, armv7m and armv7em subarchs:

/Applications/Xcode.app/Contents/Developer/usr/bin/make -C rtl all /Applications/Xcode.app/Contents/Developer/usr/bin/make -C embedded all /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-svn/rtl/units/arm-embedded -vw-n-h-l-d-u-t-p-c- -ap -darm -dRELEASE  -Us -Sg system.pp @system.cfg system.pp(264,10) Error: Overloaded functions have the same parameter list system.inc(704,10) Error: Found declaration: Random(LongInt):LongInt; system.inc(712,10) Error: Found declaration: Random(Int64):Int64; system.inc(747,10) Error: Found declaration: Random:Double; system.pp(339) Fatal: There were 4 errors compiling module, stopping Fatal: Compilation aborted

command doing the RTL build was:

make --directory=/Users/ring/devel/fpc-svn
FPCDIR=/Users/ring/devel/fpc-svn
FPCMAKE=/Users/ring/fpcupdeluxe/fpc/bin/x86_64-darwin/fpcmake PPUMOVE=/Users/ring/fpcupdeluxe/fpc/bin/x86_64-darwin/ppumove INSTALL_PREFIX=/Users/ring/fpcupdeluxe/fpc
INSTALL_BINDIR=/Users/ring/fpcupdeluxe/fpc/bin/x86_64-darwin CROSSBINDIR=/Users/ring/fpcupdeluxe/fpc/bin/x86_64-darwin FPC=/Users/ring/fpcupdeluxe/fpc/bin/x86_64-darwin/ppcarm rtl_clean rtl_all CROSSINSTALL=1 CPU_SOURCE=x86_64 OS_SOURCE=darwin OS_TARGET=embedded CPU_TARGET=arm SUBARCH=armv6m NOGDBMI=1 BINUTILSPREFIX=arm-embedded- OPT='-vw-n-h-l-d-u-t-p-c- -ap' CROSSOPT= INSTALL_UNITDIR=/Users/ring/fpcupdeluxe/fpc/units/arm-embedded/armv6m/rtl

Reply by email

Sven Barth
to Michael Ring

Michael Ring via fpc-devel schrieb am Sa.,
1. Aug. 2020, 13:26:

Revision 45972 builds fine, all Revisions since 45973 create this error on my Mac. I checked with armv6m, armv7m and armv7em subarchs:

It's already on my list, though I can't fix it *right now* as I have an appointment. For now use an earlier revision, please.

Regards,
Sven

Reply by email

Michael Ring
to Sven Barth

Null problemo, thanks for the update!

Michael

Sven Barth wrote 19 lines
Michael Ring via fpc-devel < > schrieb am Sa., 1. Aug. 2020, 13:26: Revision 45972 builds fine, all Revisions since 45973 create this error on my Mac. I checked with armv6m, armv7m and armv7em subarchs: It's already on my list, though I can't fix it *right now* as I have an appointment. For now use an earlier revision, please. Regards, Sven _______________________________________________ fpc-devel maillist - https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply by email