This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/58239] [4.9 regression] pretty-print.c:789: undefined reference to `operator delete(void*)'


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]