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..