https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87788
--- Comment #2 from Iain Sandoe <iains at gcc dot gnu.org> --- that gets us to a fail because of an ELF-specific section directive in atomic.d .section minfo It looks like there's an OS_X-specific sections file there - but ISTM that the configuration expansion of : DRUNTIME_OS_MINFO_BRACKETING doesn't have a Darwin version .. maybe there's code you can borrow from elsewhere - I've not gone looking yet.