[fpc-devel] Test suite error wrong PPU
Hairy Pixels
genericptr at gmail.com
Thu Jun 23 04:08:37 CEST 2022
I usually solve this by deleting the units folder but for some reason after pulling from main it simply won’t build. Can anyone explain why the PPU version is wrong? It’s all building from the same source directory so the PPU version in ppu.pas should be the same. Before I tried this I did build the RTL using the same compiler.
The current version of the PPU is 208/16 and I’m not even sure what version it’s looking for, it just says 208 is invalid.
========================
tests$ cd $HOME/Developer/fpc-gitlab/tests; make full TEST_FPC=$HOME/Developer/fpc-gitlab/compiler/${FPC_ARCH}/pp
/Applications/Xcode.app/Contents/Developer/usr/bin/make clean
/bin/rm -f
/bin/rm -f gparmake createlst gparmake.o createlst.o gparmake.bc createlst.bclibpgparmake.a libpcreatelst.a libimpgparmake.a libimpcreatelst.a
/bin/rm -rf gparmake.dSYM createlst.dSYM
/bin/rm -f fpcmade.aarch64-darwin *aarch64-darwin.fpm Package.fpc *.s
/bin/rm -f script*.res link*.res *_script.res *_link.res
/bin/rm -f ./ppas.sh *_ppas.sh ppas.sh ppaslink.sh
/Applications/Xcode.app/Contents/Developer/usr/bin/make clean_test CPU_TARGET=aarch64 OS_TARGET=darwin SUBARCH=
/bin/rm -rf output/aarch64-darwin
/bin/rm -f core gmon.out testprep-stamp.aarch64-darwin dotgz.sh
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C tstunits clean CPU_TARGET=aarch64 OS_TARGET=darwin SUBARCH=
/bin/rm -rf aarch64-darwin
/bin/rm -rf /Users/ryanjoseph/Developer/fpc-gitlab/tests/tstunits/tmp
/bin/rm -f rtl-stamp.aarch64-darwin
/bin/rm -f units/aarch64-darwin/erroru.ppu units/aarch64-darwin/popuperr.ppu units/aarch64-darwin/ptest.ppu
/bin/rm -rf units
/bin/rm -rf bin
/bin/rm -f *.o *.bc *.ppu *.rst *.s *.a *.so *.ppl
/bin/rm -rf *.sl
/bin/rm -f fpcmade.* Package.fpc *.fpm
/bin/rm -f script*.res link*.res *_script.res *_link.res
/bin/rm -f ./ppas.sh *_ppas.sh ppas.sh ppaslink.sh
/bin/rm -rf aarch64-darwin
/bin/rm -rf /Users/ryanjoseph/Developer/fpc-gitlab/tests/tstunits/tmp
/bin/rm -f fpcunit-stamp.aarch64-darwin
/bin/rm -rf aarch64-darwin
/bin/rm -rf /Users/ryanjoseph/Developer/fpc-gitlab/tests/tstunits/tmp
/bin/rm -f packages-stamp.aarch64-darwin
/bin/rm -f filelisttest.lst filelisttbs.lst filelisttbf.lst filelistwebtbs.lst filelistwebtbf.lst
/Applications/Xcode.app/Contents/Developer/usr/bin/make allexectests
make[2]: `units/aarch64-darwin' is up to date.
/usr/local/lib/fpc/3.2.2/ppca64 -FE. utils/createlst.pp
Free Pascal Compiler version 3.2.2 [2021/05/16] for aarch64
Copyright (c) 1993-2021 by Florian Klaempfl and others
Target OS: Darwin for AArch64
Compiling utils/createlst.pp
createlst.pp(40,9) Warning: unreachable code
Assembling createlst
Linking ./createlst
72 lines compiled, 0.6 sec
1 warning(s) issued
make[2]: `units/aarch64-darwin' is up to date.
/usr/local/lib/fpc/3.2.2/ppca64 -FE. utils/gparmake.pp
Free Pascal Compiler version 3.2.2 [2021/05/16] for aarch64
Copyright (c) 1993-2021 by Florian Klaempfl and others
Target OS: Darwin for AArch64
Compiling utils/gparmake.pp
gparmake.pp(49,3) Note: Local variable "FileList" not used
Assembling gparmake
Linking ./gparmake
207 lines compiled, 0.5 sec
1 note(s) issued
/bin/mkdir -p output/aarch64-darwin
/Applications/Xcode.app/Contents/Developer/usr/bin/make gparmake_allexectests
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C utils utils
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C tstunits FPC_VERSION= FPC=/Users/ryanjoseph/Developer/fpc-gitlab/compiler/aarch64/pp NATIVE_FPC=/usr/local/lib/fpc/3.2.2/ppca64 CPU_TARGET=aarch64 OS_TARGET=darwin SUBARCH= 'OPT= -Fd' CCOMPILER=/usr/bin/gcc BINUTILSPREFIX=
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C ../../rtl all 'OPT=-Fd -n' 'CROSSOPT=' FPC=/Users/ryanjoseph/Developer/fpc-gitlab/compiler/aarch64/pp
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C darwin all
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C ../../rtl install INSTALL_PREFIX=/Users/ryanjoseph/Developer/fpc-gitlab/tests/tstunits/tmp INSTALL_UNITDIR=/Users/ryanjoseph/Developer/fpc-gitlab/tests/tstunits/aarch64-darwin OPT= CROSSOPT= FPC=/Users/ryanjoseph/Developer/fpc-gitlab/compiler/aarch64/pp
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C darwin all
/usr/local/bin/fpcmake -p -Taarch64-darwin Makefile.fpc
Processing Makefile.fpc
Writing Package.fpc
/usr/bin/install -m 755 -d /Users/ryanjoseph/Developer/fpc-gitlab/tests/tstunits/aarch64-darwin
/usr/bin/install -c -m 644 Package.fpc /Users/ryanjoseph/Developer/fpc-gitlab/tests/tstunits/aarch64-darwin
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C darwin install
/usr/bin/install -m 755 -d /Users/ryanjoseph/Developer/fpc-gitlab/tests/tstunits/aarch64-darwin
/usr/bin/install -c -m 644 ../../rtl/units/aarch64-darwin/system.ppu ../../rtl/units/aarch64-darwin/sysinit.ppu ../../rtl/units/aarch64-darwin/uuchar.ppu ../../rtl/units/aarch64-darwin/unixtype.ppu ../../rtl/units/aarch64-darwin/ctypes.ppu ../../rtl/units/aarch64-darwin/objpas.ppu ../../rtl/units/aarch64-darwin/macpas.ppu ../../rtl/units/aarch64-darwin/iso7185.ppu ../../rtl/units/aarch64-darwin/extpas.ppu ../../rtl/units/aarch64-darwin/strings.ppu ../../rtl/units/aarch64-darwin/sysctl.ppu ../../rtl/units/aarch64-darwin/baseunix.ppu ../../rtl/units/aarch64-darwin/unixutil.ppu ../../rtl/units/aarch64-darwin/unix.ppu ../../rtl/units/aarch64-darwin/initc.ppu ../../rtl/units/aarch64-darwin/cmem.ppu ../../rtl/units/aarch64-darwin/dynlibs.ppu ../../rtl/units/aarch64-darwin/dos.ppu ../../rtl/units/aarch64-darwin/dl.ppu ../../rtl/units/aarch64-darwin/blockrtl.ppu ../../rtl/units/aarch64-darwin/sysutils.ppu ../../rtl/units/aarch64-darwin/typinfo.ppu ../../rtl/units/aarch64-darwin/sortbase.ppu ../../rtl/units/aarch64-darwin/fgl.ppu ../../rtl/units/aarch64-darwin/classes.ppu ../../rtl/units/aarch64-darwin/math.ppu ../../rtl/units/aarch64-darwin/types.ppu ../../rtl/units/aarch64-darwin/charset.ppu ../../rtl/units/aarch64-darwin/cpall.ppu ../../rtl/units/aarch64-darwin/character.ppu ../../rtl/units/aarch64-darwin/getopts.ppu ../../rtl/units/aarch64-darwin/heaptrc.ppu ../../rtl/units/aarch64-darwin/lineinfo.ppu ../../rtl/units/aarch64-darwin/lnfodwrf.ppu ../../rtl/units/aarch64-darwin/lnfogdb.ppu ../../rtl/units/aarch64-darwin/errors.ppu ../../rtl/units/aarch64-darwin/termio.ppu ../../rtl/units/aarch64-darwin/sysconst.ppu ../../rtl/units/aarch64-darwin/cthreads.ppu ../../rtl/units/aarch64-darwin/rtlconsts.ppu ../../rtl/units/aarch64-darwin/cwstring.ppu ../../rtl/units/aarch64-darwin/bsd.ppu ../../rtl/units/aarch64-darwin/fpwidestring.ppu ../../rtl/units/aarch64-darwin/fpintres.ppu ../../rtl/units/aarch64-darwin/fpextres.ppu ../../rtl/units/aarch64-darwin/objc.ppu ../../rtl/units/aarch64-darwin/objcbase.ppu ../../rtl/units/aarch64-darwin/unixcp.ppu ../../rtl/units/aarch64-darwin/softfpu.ppu ../../rtl/units/aarch64-darwin/sfpux80.ppu ../../rtl/units/aarch64-darwin/ufloatx80.ppu ../../rtl/units/aarch64-darwin/sfpu128.ppu ../../rtl/units/aarch64-darwin/ufloat128.ppu ../../rtl/units/aarch64-darwin/exeinfo.ppu ../../rtl/units/aarch64-darwin/cp1250.ppu ../../rtl/units/aarch64-darwin/cp1251.ppu ../../rtl/units/aarch64-darwin/cp1252.ppu ../../rtl/units/aarch64-darwin/cp1253.ppu ../../rtl/units/aarch64-darwin/cp1254.ppu ../../rtl/units/aarch64-darwin/cp1255.ppu ../../rtl/units/aarch64-darwin/cp1256.ppu ../../rtl/units/aarch64-darwin/cp1257.ppu ../../rtl/units/aarch64-darwin/cp1258.ppu ../../rtl/units/aarch64-darwin/cp437.ppu ../../rtl/units/aarch64-darwin/cp646.ppu ../../rtl/units/aarch64-darwin/cp737.ppu ../../rtl/units/aarch64-darwin/cp775.ppu ../../rtl/units/aarch64-darwin/cp850.ppu ../../rtl/units/aarch64-darwin/cp852.ppu ../../rtl/units/aarch64-darwin/cp855.ppu ../../rtl/units/aarch64-darwin/cp856.ppu ../../rtl/units/aarch64-darwin/cp857.ppu ../../rtl/units/aarch64-darwin/cp860.ppu ../../rtl/units/aarch64-darwin/cp861.ppu ../../rtl/units/aarch64-darwin/cp862.ppu ../../rtl/units/aarch64-darwin/cp863.ppu ../../rtl/units/aarch64-darwin/cp864.ppu ../../rtl/units/aarch64-darwin/cp865.ppu ../../rtl/units/aarch64-darwin/cp866.ppu ../../rtl/units/aarch64-darwin/cp869.ppu ../../rtl/units/aarch64-darwin/cp874.ppu ../../rtl/units/aarch64-darwin/cp3021.ppu ../../rtl/units/aarch64-darwin/cp8859_1.ppu ../../rtl/units/aarch64-darwin/cp8859_2.ppu ../../rtl/units/aarch64-darwin/cp8859_3.ppu ../../rtl/units/aarch64-darwin/cp8859_4.ppu ../../rtl/units/aarch64-darwin/cp8859_5.ppu ../../rtl/units/aarch64-darwin/cp8859_6.ppu ../../rtl/units/aarch64-darwin/cp8859_7.ppu ../../rtl/units/aarch64-darwin/cp8859_8.ppu ../../rtl/units/aarch64-darwin/cp8859_9.ppu ../../rtl/units/aarch64-darwin/cp8859_10.ppu ../../rtl/units/aarch64-darwin/cp8859_11.ppu ../../rtl/units/aarch64-darwin/cp8859_13.ppu ../../rtl/units/aarch64-darwin/cp8859_14.ppu ../../rtl/units/aarch64-darwin/cp8859_15.ppu ../../rtl/units/aarch64-darwin/cp8859_16.ppu ../../rtl/units/aarch64-darwin/cpkoi8_r.ppu ../../rtl/units/aarch64-darwin/cpkoi8_u.ppu ../../rtl/units/aarch64-darwin/unicodedata.ppu /Users/ryanjoseph/Developer/fpc-gitlab/tests/tstunits/aarch64-darwin
/usr/bin/install -c -m 644 ../../rtl/units/aarch64-darwin/system.o ../../rtl/units/aarch64-darwin/sysinit.o ../../rtl/units/aarch64-darwin/uuchar.o ../../rtl/units/aarch64-darwin/unixtype.o ../../rtl/units/aarch64-darwin/ctypes.o ../../rtl/units/aarch64-darwin/objpas.o ../../rtl/units/aarch64-darwin/macpas.o ../../rtl/units/aarch64-darwin/iso7185.o ../../rtl/units/aarch64-darwin/extpas.o ../../rtl/units/aarch64-darwin/strings.o ../../rtl/units/aarch64-darwin/sysctl.o ../../rtl/units/aarch64-darwin/baseunix.o ../../rtl/units/aarch64-darwin/unixutil.o ../../rtl/units/aarch64-darwin/unix.o ../../rtl/units/aarch64-darwin/initc.o ../../rtl/units/aarch64-darwin/cmem.o ../../rtl/units/aarch64-darwin/dynlibs.o ../../rtl/units/aarch64-darwin/dos.o ../../rtl/units/aarch64-darwin/dl.o ../../rtl/units/aarch64-darwin/blockrtl.o ../../rtl/units/aarch64-darwin/sysutils.o ../../rtl/units/aarch64-darwin/typinfo.o ../../rtl/units/aarch64-darwin/sortbase.o ../../rtl/units/aarch64-darwin/fgl.o ../../rtl/units/aarch64-darwin/classes.o ../../rtl/units/aarch64-darwin/math.o ../../rtl/units/aarch64-darwin/types.o ../../rtl/units/aarch64-darwin/charset.o ../../rtl/units/aarch64-darwin/character.o ../../rtl/units/aarch64-darwin/getopts.o ../../rtl/units/aarch64-darwin/heaptrc.o ../../rtl/units/aarch64-darwin/lineinfo.o ../../rtl/units/aarch64-darwin/lnfodwrf.o ../../rtl/units/aarch64-darwin/lnfogdb.o ../../rtl/units/aarch64-darwin/errors.o ../../rtl/units/aarch64-darwin/termio.o ../../rtl/units/aarch64-darwin/sysconst.o ../../rtl/units/aarch64-darwin/cthreads.o ../../rtl/units/aarch64-darwin/rtlconsts.o ../../rtl/units/aarch64-darwin/cwstring.o ../../rtl/units/aarch64-darwin/bsd.o ../../rtl/units/aarch64-darwin/fpwidestring.o ../../rtl/units/aarch64-darwin/fpintres.o ../../rtl/units/aarch64-darwin/fpextres.o ../../rtl/units/aarch64-darwin/objc.o ../../rtl/units/aarch64-darwin/objcbase.o ../../rtl/units/aarch64-darwin/unixcp.o ../../rtl/units/aarch64-darwin/softfpu.o ../../rtl/units/aarch64-darwin/sfpux80.o ../../rtl/units/aarch64-darwin/ufloatx80.o ../../rtl/units/aarch64-darwin/sfpu128.o ../../rtl/units/aarch64-darwin/ufloat128.o ../../rtl/units/aarch64-darwin/exeinfo.o ../../rtl/units/aarch64-darwin/cp1250.o ../../rtl/units/aarch64-darwin/cp1251.o ../../rtl/units/aarch64-darwin/cp1252.o ../../rtl/units/aarch64-darwin/cp1253.o ../../rtl/units/aarch64-darwin/cp1254.o ../../rtl/units/aarch64-darwin/cp1255.o ../../rtl/units/aarch64-darwin/cp1256.o ../../rtl/units/aarch64-darwin/cp1257.o ../../rtl/units/aarch64-darwin/cp1258.o ../../rtl/units/aarch64-darwin/cp437.o ../../rtl/units/aarch64-darwin/cp646.o ../../rtl/units/aarch64-darwin/cp737.o ../../rtl/units/aarch64-darwin/cp775.o ../../rtl/units/aarch64-darwin/cp850.o ../../rtl/units/aarch64-darwin/cp852.o ../../rtl/units/aarch64-darwin/cp855.o ../../rtl/units/aarch64-darwin/cp856.o ../../rtl/units/aarch64-darwin/cp857.o ../../rtl/units/aarch64-darwin/cp860.o ../../rtl/units/aarch64-darwin/cp861.o ../../rtl/units/aarch64-darwin/cp862.o ../../rtl/units/aarch64-darwin/cp863.o ../../rtl/units/aarch64-darwin/cp864.o ../../rtl/units/aarch64-darwin/cp865.o ../../rtl/units/aarch64-darwin/cp866.o ../../rtl/units/aarch64-darwin/cp869.o ../../rtl/units/aarch64-darwin/cp874.o ../../rtl/units/aarch64-darwin/cp3021.o ../../rtl/units/aarch64-darwin/cp8859_1.o ../../rtl/units/aarch64-darwin/cp8859_2.o ../../rtl/units/aarch64-darwin/cp8859_3.o ../../rtl/units/aarch64-darwin/cp8859_4.o ../../rtl/units/aarch64-darwin/cp8859_5.o ../../rtl/units/aarch64-darwin/cp8859_6.o ../../rtl/units/aarch64-darwin/cp8859_7.o ../../rtl/units/aarch64-darwin/cp8859_8.o ../../rtl/units/aarch64-darwin/cp8859_9.o ../../rtl/units/aarch64-darwin/cp8859_10.o ../../rtl/units/aarch64-darwin/cp8859_11.o ../../rtl/units/aarch64-darwin/cp8859_13.o ../../rtl/units/aarch64-darwin/cp8859_14.o ../../rtl/units/aarch64-darwin/cp8859_15.o ../../rtl/units/aarch64-darwin/cp8859_16.o ../../rtl/units/aarch64-darwin/cpkoi8_r.o ../../rtl/units/aarch64-darwin/cpkoi8_u.o ../../rtl/units/aarch64-darwin/unicodedata.o /Users/ryanjoseph/Developer/fpc-gitlab/tests/tstunits/aarch64-darwin
/bin/echo Compiled > rtl-stamp.aarch64-darwin
/Users/ryanjoseph/Developer/fpc-gitlab/compiler/aarch64/pp -n -FEaarch64-darwin -Tdarwin -Fd -Fu/Users/ryanjoseph/Developer/fpc-gitlab/tests/tstunits/aarch64-darwin ../../packages/fcl-fpcunit/src/testutils
/Users/ryanjoseph/Developer/fpc-gitlab/compiler/aarch64/pp -n -FEaarch64-darwin -Tdarwin -Fd -Fu/Users/ryanjoseph/Developer/fpc-gitlab/tests/tstunits/aarch64-darwin ../../packages/fcl-fpcunit/src/fpcunit
/bin/echo Compiled > fpcunit-stamp.aarch64-darwin
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C ../../packages all 'OPT=-Fd -n' 'CROSSOPT=' FPC=/Users/ryanjoseph/Developer/fpc-gitlab/compiler/aarch64/pp
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C ../rtl all FPC=/usr/local/lib/fpc/3.2.2/ppca64
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C darwin all
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C fpmkunit bootstrap FPC=/usr/local/lib/fpc/3.2.2/ppca64
/usr/local/lib/fpc/3.2.2/ppca64 src/fpmkunit.pp -Fu../../rtl/units/aarch64-darwin -FUunits_bs/aarch64-darwin -Fu../paszlib/src -Fu../hash/src -Fi../paszlib/src -Fi../fcl-process/src/unix -Fu../fcl-process/src -Fi../fcl-process/src/darwin -Fi../fcl-process/src/dummy -Fu../libtar/src -Fd -n
PPU Loading /Users/ryanjoseph/Developer/fpc-gitlab/rtl/units/aarch64-darwin/system.ppu
PPU Invalid Version 208
Fatal: Can't find unit system used by fpmkunit
Fatal: Compilation aborted
make[5]: *** [bootstrap] Error 1
make[4]: *** [fpmake] Error 2
make[3]: *** [packages-stamp.aarch64-darwin] Error 2
make[2]: *** [tstunits] Error 2
make[1]: *** [allexectests] Error 2
make: *** [full] Error 2
tests$
Regards,
Ryan Joseph
More information about the fpc-devel
mailing list