[Bug bootstrap/70519] genmatch fails to compile under gcc-5.2.0 - missing '-lstdc++' .
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Apr 6 17:24:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70519
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Jason Vas Dias from comment #9)
> (In reply to Jakub Jelinek from comment #8)
> > 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, ...
>
> Yes, sorry, -nostdlib is not being used explicitly - but we seem to be
> getting the same effect with xg++ .
Only you seem to be getting that effect, for everybody else it works just fine.
So the question is why it doesn't work for you.
More information about the Gcc-bugs
mailing list