[fpc-pascal] fpc 3.3.1 compile on darwin aarch64 broken?
Mattias Gaertner
nc-gaertnma at netcologne.de
Fri Aug 1 15:28:21 CEST 2025
Hi,
Compiling fpc 3.3.1 with fpc 3.2.2 as starting compiler on macos 15.5
aarch64 stops on linking fppkg:
Target OS: Darwin for AArch64
Compiling fppkg/fppkg.pp
Assembling fppkg
Linking fppkg/bin/aarch64-darwin/fppkg
Error: Error while linking
Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
-macosx_version_min has been renamed to -macos_version_min
ld: warning: ignoring duplicate libraries: '-lc'
Undefined symbols for architecture arm64:
"_TC_$NULLABLE_$$_NULL", referenced from:
_FPSOCKETS_$$_RECEIVEFROMNONBLOCKING$hl1LkqBRhqaF in fpsockets.o
ld: symbol(s) not found for architecture arm64
$00000001003AE74C
$00000001003AEA78
$00000001003B5008
I used
make distclean all
OPT='-XR/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/'
Mattias
More information about the fpc-pascal
mailing list