[fpc-devel] Test suite error wrong PPU

Sven Barth pascaldragon at googlemail.com
Thu Jun 23 18:52:21 CEST 2022


Hairy Pixels via fpc-devel <fpc-devel at lists.freepascal.org> schrieb am Do.,
23. Juni 2022, 04:08:

> 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.
>


As you can see at the end (see below) it falls back to 3.2.2 at the end.
What commands did you execute to build FPC itself?


> /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,
Sven

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20220623/5b230096/attachment.htm>


More information about the fpc-devel mailing list