http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58239
--- Comment #15 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > As I was trying to say in earlier comments (and failing to be clear, I > suppose), Darwin needs the library dirs as "-B" in addition to "-L", because > we have to use spec substitution to access static libs. > > The "-B" have always been missing - and the fact that the gcc driver was > invoked with "-static-libstdc++" would not show this up, since that > option/driver combination does not cause any libraries to be added to the > link line. > > Anyway, the revised patch includes -B where you've added the -L. My bad, and the -B's are also present in the CXX variable of the gcc/ Makefile, from which I cooked up the new variable... Thanks for fixing it! > With this (and a fix for pr58269), x86_64-darwin12 bootstraps and completes > the ada and gnat test-suites with no new fails. That's great, thanks again.