https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70519
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Where do you see -nostdlib being used? I see it neither in your #c0, nor in #c1. Looking at my buildlog, -nostdlib is used to link only some libraries, like libstdc++.so.6 itself, or libvtv, libsanitizer libraries, libcc1/libcc1plugin, libcilkrts, libgcj, libgcj_bc, libgij, libjvm, libgcj-tools, but certainly not when linking build/*, or gcov, or cc1, ...