On 11/06/2010 13:59, Richard Guenther wrote:

> Well, we can't.  We specifically support mixed LTO/non LTO objects
> (think of shared libraries for example).  With the linker-plugin and gold
> we can do better, but with just GNU ld and collect2 we can't.

  Well then shouldn't we warn if -fwhole-program is used with mixed LTO and
non-LTO objects?  Or disable it, or both?

    cheers,
      DaveK

Reply via email to