> Working on it. The attached patch solves the problem. It is not very elegant to remove -use-linker-plugin from the command line, but it is not used after linking. 2009-10-23 Rafael Avila de Espindola <espind...@google.com>
* gcc.c (LINK_COMMAND_SPEC): Remove -use-linker-plugin from the command line. Cheers, -- Rafael Ávila de Espíndola
diff --git a/gcc/gcc.c b/gcc/gcc.c index 78e0ce8..78ffb0d 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -782,7 +782,8 @@ proper position among the other output files. */ } \ %{flto} %{fwhopr} %l " LINK_PIE_SPEC \ "%X %{o*} %{A} %{d} %{e*} %{m} %{N} %{n} %{r}\ - %{s} %{t} %{u*} %{x} %{z} %{Z} %{!A:%{!nostdlib:%{!nostartfiles:%S}}}\ + %{s} %{t} %<use-linker-plugin \ + %{u*} %{x} %{z} %{Z} %{!A:%{!nostdlib:%{!nostartfiles:%S}}} \ %{static:} %{L*} %(mfwrap) %(link_libgcc) %o\ %{fopenmp|ftree-parallelize-loops=*:%:include(libgomp.spec)%(link_gomp)} %(mflib)\ %{fprofile-arcs|fprofile-generate*|coverage:-lgcov}\