http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48245
--- Comment #5 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> 2011-03-23 15:38:08 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? Thanks. Rainer