OSX support in dmd appears to be having problems

Walter Bright newshound2 at digitalmars.com
Wed Oct 15 20:23:56 UTC 2025


On 10/15/2025 10:10 AM, Luna wrote:
> On Wednesday, 15 October 2025 at 05:04:17 UTC, 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.
> 
> I plan to track down these issues once the arm64 support lands in DMD, some of 
> the work debugging and fixing osx things in DMD would likely interfere with that 
> work so I don’t want to risk creating a major headache for Walter there.
> 

I haven't worked at all on the AArch64 debug info generation, so I don't think 
this would be a problem.


More information about the Digitalmars-d mailing list