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 #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


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