[fpc-pascal] fpc 3.3.1 compile on darwin aarch64 broken?

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Aug 1 17:15:12 CEST 2025


Thank You! Works.

On 8/1/25 15:52, Michael Van Canneyt via fpc-pascal wrote:
> 
> Hi,
> 
> I applied a patch that should fix the issue.
> 
> Michael.
> 
> On Fri, 1 Aug 2025, Mattias Gaertner via fpc-pascal wrote:
> 
>> 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
>>
>>
>> _______________________________________________
>> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
>> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>>
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal



More information about the fpc-pascal mailing list