[fpc-devel] Revision 45973 breaks build for arm-embedded target on my Mac

Michael Ring mail at michael-ring.org
Sat Aug 1 13:25:56 CEST 2020


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



More information about the fpc-devel mailing list