http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48245
Dominique d'Humieres <dominiq at lps dot ens.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |howarth at nitro dot | |med.uc.edu, iains at gcc | |dot gnu.org, mrs at gcc dot | |gnu.org --- Comment #6 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-03-23 16:43:42 UTC --- > I see what's going on now: Darwin (in gcc/config/darwin.h) is one of > only two targets (besides i386/djgpp.h) that override > LINK_COMMAND_SPEC. > > I think darwin.h should use/honor LINK_PLUGIN_SPEC. Can you try > inserting > > LINK_PLUGIN_SPEC \ > > in LINK_COMMAND_SPEC_A just after > > %(linker) \ > > as is done in gcc.c (LINK_COMMAND_SPEC) for other targets? I'll do the check ASAP (CC Iain Sandoe, Mike Stump, and Jack Howarth). Meanwhile the following patch skips the test: --- /opt/gcc/_clean/gcc/testsuite/gcc.dg/lto/pr46940_0.c 2010-12-16 08:01:29.000000000 +0100 +++ /opt/gcc/work/gcc/testsuite/gcc.dg/lto/pr46940_0.c 2011-03-23 17:17:07.000000000 +0100 @@ -1,4 +1,5 @@ /* { dg-require-linker-plugin "" } */ +/* { dg-require-alias "" } */ /* { dg-extra-ld-options "-fuse-linker-plugin" } */ #include <stdio.h>