https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116378
--- Comment #13 from Iain Sandoe <iains at gcc dot gnu.org> --- (In reply to Gaius Mulley from comment #12) > Created attachment 58943 [details] > Proposed fix v8 > > Here is a proposed patch for PR 116181, I was wondering how this patch > affects darwin? git master + this patch bootstraps on aarch64, ppc64le, > amd64 GNU Linux. > It resolves all -Wodr warnings (except two). Posting it here as the initial > patch for PR 116181 caused this PR (apologies). I applied the patch and bootstrapped all languages on x86_64-darwin21, smoke test for m2, rust and ada look 'nominal'.. so seems OK for Darwin too.