Re: fpc 3.3.1 compile on darwin aarch64 broken?

Mattias Gaertner via fpc-pascal <[email protected]>
Newsgroups gmane.comp.compilers.free-pascal.general
Message-ID <[email protected]>
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  -  [email protected]
>> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>>
> _______________________________________________
> fpc-pascal maillist  -  [email protected]
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

_______________________________________________
fpc-pascal maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.