I can't seem to build the latest FPC 3.3.1 'main' branch under 64-bit linux.

My build script, which I've always been using:

-----
graemeg@graeme-linux-desktop:/data/devel/fpc-3.3.1$ cat go.sh
#!/bin/sh

TARGET_VER=3.3.1
TARGET=x86_64-linux
COMPILER=/data/devel/fpc-3.2.2/$TARGET/bin/ppcx64
#COMPILER=/usr/bin/fpc

cd src

make clean
make all FPC=$COMPILER OPT="-Fl/usr/local/lib"
make install INSTALL_PREFIX=/data/devel/fpc-$TARGET_VER/$TARGET FPC=/data/devel/fpc-$TARGET_VER/src/compiler/ppcx64
-----


graemeg@graeme-linux-desktop:/data/devel/fpc-3.3.1/src (main)$ git status
On branch main
nothing to commit, working tree clean

graemeg@graeme-linux-desktop:/data/devel/fpc-3.3.1/src (main)$ git log -1 commit 8003027a8cc96f42f15663e7d8189b1854fb0447 (HEAD -> main, gitlab/main)
Author: Rika Ichinose <[email protected]>
Date:   Wed Apr 1 13:24:43 2026 +0300

    Simplify overflow checks in heap.inc.
-----



And when I try and build using my script, it crashes out with this error:


Start compiling package fcl-base for target x86_64-linux.
       Compiling fcl-base/units/x86_64-linux/BuildUnit_fcl_base.pp
External command "/data/devel/fpc-3.3.1/src/compiler/ppcx64 -Tlinux -FUfcl-base/units/x86_64-linux/ -Fu/data/devel/fpc-3.3.1/src/rtl/units/x86_64-linux/ -Fu/data/devel/fpc-3.3.1/src/packages/rtl-objpas/units/x86_64-linux/ -Fu/data/devel/fpc-3.3.1/src/packages/pthreads/units/x86_64-linux/ -Fufcl-base/src -Fifcl-base/src -Fifcl-base/src/linux -Fifcl-base/src/unix -Fifcl-base/src/dummy -Fl/usr/lib/gcc/x86_64-linux-gnu/13 -Ur -Xs -O2 -n -Cg -Fl/usr/lib/gcc/x86_64-linux-gnu/13 -dx86_64 -dRELEASE -Sc -viq fcl-base/units/x86_64-linux/BuildUnit_fcl_base.pp" failed with exit code 256. Console output:
Target OS: Linux for x86-64
Compiling fcl-base/units/x86_64-linux/BuildUnit_fcl_base.pp
PPU Loading ./rtl-objpas/units/x86_64-linux/system.timespan.ppu
PPU Source: system.timespan.pp not available
Recompiling system.timespan, checksum changed for /data/devel/fpc-3.3.1/src/rtl/units/x86_64-linux/classes.ppu
Fatal: Can't find unit system.timespan used by SyncObjs
Fatal: Compilation aborted

The installer encountered the following error:
Compilation of "units/x86_64-linux/BuildUnit_fcl_base.pp" failed
  $0000000000539F79
  $0000000000544FDB
  $0000000000543E71
  $0000000000545311
  $00000000005430BD
  $0000000000545502
  $00000000005452FE
  $00000000005430BD
  $0000000000545502
  $00000000005452FE
  $0000000000545E59
  $00000000005495CF
  $00000000005387E2
  $0000000000538E44
  $00000000004878B6
make[3]: *** [Makefile:2064: distinstall] Error 1
make[3]: Leaving directory '/data/devel/fpc-3.3.1/src/packages'



Regards,
  Graeme
_______________________________________________
fpc-devel maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to