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 testsuite/48245] FAIL: gcc.dg/lto/pr46940 c_lto_pr46940_0.o assemble on *-apple-darwin*


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*} \


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