Open ibuclaw opened 1 month ago
Oh wait a second, that job uses macos-latest
, which is now arm64 macOS 14. So default /usr/bin/cc
might not really like x86_64 input. So I'd try reverting to a x86 macOS runner, either macos-13
or macos-12
as first thing.
Findings from that PR: looks Xcode v15-related, as the same assertion happens on macos-13 x86_64, with the same Xcode v15.0.1, but macos-12 with Xcode v14.2 works. https://github.com/dlang/installer/pull/576#issuecomment-2103645297
I almost forgot that I detest Xcode 15.0 - not only for asserting left and right, but also for being buggy as hell.
Building DMD on OSX with
-O -inline -release -flto=full
: https://github.com/dlang/installer/actions/runs/9023729802/job/24796283183Judging from the error, only
-flto=full
seems to be important here.Copy of logs.