[Bug ada/58239] [4.9 regression] pretty-print.c:789: undefined reference to `operator delete(void*)'
gdr at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Aug 26 00:23:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58239
--- Comment #7 from Gabriel Dos Reis <gdr at gcc dot gnu.org> ---
(In reply to Eric Botcazou from comment #4)
> > OK, I see the emitted reference to 'operator delete', and I suspect I
> > have an idea of why the compiler generated this reference even though
> > it isn't used anywhere in the input source code.
> >
> > Why are we linking gnatlink with xgcc and not with xg++ -nostdc++?
>
> Because we haven't had a real need up to now, IOW we always managed to
> massage things so as to avoid the dependency. Maybe it's the end of the
> road...
One more thing: Ada was already using -static-libstdc++ to build those tools.
More information about the Gcc-bugs
mailing list