https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97304
--- Comment #13 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #11) > *** Bug 112745 has been marked as a duplicate of this bug. *** And as suggested in Bug 112745, either lld should Just Work or GCC should work around whatever weirdness means it can't find libc. (In reply to Andrew Pinski from comment #12) > I think this is related to PR 104707 . Aha, maybe - I was using --disable-multilib It doesn't look like Rainer was though.