I intent to commit the following patch this evening, which was pre-proved for 4.9/trunk by Richard in the PR. However, I still need to do the bootstrapping and regtesting.
Tobias 2014-10-22 Richard Biener <rguent...@suse.de> Tobias Burnus <bur...@net-b.de> PR lto/63603 * gcc.c (LINK_COMMAND_SPEC): Add %{fno-lto}. diff --git a/gcc/gcc.c b/gcc/gcc.c index 71c76f8..3fafa1e 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -819,7 +819,7 @@ proper position among the other output files. */ %(linker) " \ LINK_PLUGIN_SPEC \ "%{flto|flto=*:%<fcompare-debug*} \ - %{flto} %{flto=*} %l " LINK_PIE_SPEC \ + %{flto} %{fno-lto} %{flto=*} %l " LINK_PIE_SPEC \ "%{fuse-ld=*:-fuse-ld=%*} " LINK_COMPRESS_DEBUG_SPEC \ "%X %{o*} %{e*} %{N} %{n} %{r}\ %{s} %{t} %{u*} %{z} %{Z} %{!nostdlib:%{!nostartfiles:%S}} " VTABLE_VERIFICATION_SPEC " \