https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123633
--- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> --- > --- Comment #1 from Iain Buclaw <ibuclaw at gcc dot gnu.org> --- > pragma(mangle) is the wrong tool to do this. > > FreeBSD C headers don't even use .symver, rather toplevel asm hacks to do > symbol versions. > > Fix is to just remove the whole block. > > https://github.com/dlang/dmd/pull/21726 Great, thanks a lot! I see that the other instances of that construct are already disabled with version(GNU). That should get me going.
