macOS Sonoma Linker Issue
Renato
renato at athaydes.com
Wed Dec 13 18:32:50 UTC 2023
On Wednesday, 4 October 2023 at 11:01:08 UTC, Johan wrote:
> On Tuesday, 3 October 2023 at 23:55:05 UTC, confuzzled wrote:
>> Any known workaround for this most recent issue on macOS
>> Sonoma? The file I'm compiling contains a blank main() without
>> any imports but this error shows up on everything I've
>> attempted to compile since upgrading to Sonoma.
>>
>> (dmd-2.105.2) confuzzled at test ~ % dmd add
>> ld: multiple errors: symbol count from symbol table and
>> dynamic symbol table differ in '/Users/confuzzled/add.o' in
>> '/Users/confuzzled/add.o'; address=0x0 points to section(2)
>> with no content in
>> '/Users/confuzzled/dlang/dmd-2.105.2/osx/lib/libphobos2.a[3177](config_a68_4c3.o)'
>> clang: error: linker command failed with exit code 1 (use -v
>> to see invocation)
>> Error: linker exited with status 1
>
> Try passing `-ld_classic` to the linker. (`dmd -L-ld_classic`)
>
> https://github.com/ldc-developers/ldc/issues/4501#issuecomment-1738295459
>
> -Johan
Thanks, it worked for me as well on MacOS Sonoma! The issue
you've linked has been resolved now. I am completely new to D, so
if I may ask, how often do they release? The fix was merged 2
weeks ago, should we expect a release within a few weeks or it's
not released that often?
More information about the Digitalmars-d-learn
mailing list