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



--- Comment #12 from Iain Sandoe <iains at gcc dot gnu.org> 2011-03-23 17:38:57 
UTC ---

(In reply to comment #10)

> > --- Comment #8 from Dominique d'Humieres <dominiq at lps dot ens.fr> 
> > 2011-03-23 17:08:59 UTC ---

> > With the change in comment #5, bootstrapping fails with

> >

> > ld: file not found: LINK_PLUGIN_SPEC

> > collect2: ld returned 1 exit status

> > make[5]: *** [libgcc_s.dylib] Error 1

> 

> Iain is right:



au contraire, I think Rainer is right... ;) ... Iain did not engage brain

sufficiently...



but one needs the " " around the insert spec - see below.



> we need to turn this into a proper spec since



that still might be a nice idea,

Iain



=====





Index: gcc/config/darwin.h

===================================================================

--- gcc/config/darwin.h    (revision 171353)

+++ gcc/config/darwin.h    (working copy)

@@ -185,6 +185,7 @@ extern GTY(()) int darwin_ms_struct;

 #define LINK_COMMAND_SPEC_A \

    "%{!fdump=*:%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:\

     %(linker) \

+    " LINK_PLUGIN_SPEC " \

     %{flto*:%<fcompare-debug*} \

     %{flto*} \

     %l %X %{s} %{t} %{Z} %{u*} \

Reply via email to