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

iains at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Aug 30 09:47:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58239

Iain Sandoe <iains at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |iains at gcc dot gnu.org

--- Comment #8 from Iain Sandoe <iains at gcc dot gnu.org> ---
note that the patch at:

http://gcc.gnu.org/ml/gcc-patches/2013-08/msg01460.html

is not quite enough to fix this on Darwin - since we use :

 %{static|static-libgcc|static-libstdc++:%:replace-outfile(-lstdc++
libstdc++.a%s)}

to implement -static-libstadc++.

The relevant dir needs to be added as "-B" for this to work - unfortunately,
I'm not able to look at this right now..



More information about the Gcc-bugs mailing list