https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82172
--- Comment #25 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Gubbins from comment #24) > > > Does anyone know how I would raise this with someone who can fix it on the > > > Darwin side? Or could it be worked around by gcc? > > > > Linker should provide precise information to GCC. > > FWIW, I have raised a bug report on the Apple Developer Bug Reporter > regarding the similar behaviour of the OSX linker. Dave, the fix for PR 86138 might also fix this case for Darwin - could you check that please? The fix is committed to the tip of trunk and gcc-8-branch and gcc-7-branch.