OSX support in dmd appears to be having problems
Richard (Rikki) Andrew Cattermole
richard at cattermole.co.nz
Fri Oct 17 00:35:28 UTC 2025
On 15/10/2025 6:04 PM, Richard (Rikki) Andrew Cattermole wrote:
> I'm looking over the OSX build logs atm, and I'm noticing a lot of
> warnings being generated.
>
> These warnings appear to come in the forms:
>
> 1. ``warning: could not find referenced DIE`` (debug info)
>
> 2. ``warning: (x86_64) could not find object file symbol for symbol
> SYMBOL``
>
> 3. ``ld: warning: could not create compact unwind for SYMBOL: offset of
> saved registers too far to encode``
>
> See: https://github.com/dlang/dmd/actions/runs/18517485989/
> job/52770757595?pr=21970
> https://github.com/dlang/dmd/actions/runs/18517485989/job/52770757597?
> pr=21970
>
> The result is the OSX build for dmd appears not to finish CI and times
> out at 40m (we should be able to bump that up).
>
> Unfortunately, I am of no help to debug let alone fix these issues.
Uck bumping to osx-15 won't be happening.
https://github.com/dlang/dmd/actions/runs/18578513719/job/52968627848?pr=21985
The x87 real's are not turned on (perhaps 15 doesn't have it).
The backend then trys to use the longdouble module, only it is disabled
there.
I'll also have to disable the bootstrap CI instance for 14:
ld: multiple errors: symbol count from symbol table and dynamic symbol
table differ in '/Users/runner/work/dmd/dmd/generated/build.o' in
'/Users/runner/work/dmd/dmd/generated/build.o'; address=0x0 points to
section(2) with no content in
'/Users/runner/dlang/dmd-2.099.1/osx/lib/libphobos2.a[2942](config_982_4c3.o)'
More information about the Digitalmars-d
mailing list