Issue with LTO/-fwhole-program
Dave Korn
dave.korn.cygwin@gmail.com
Fri Jun 11 13:04:00 GMT 2010
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
More information about the Gcc
mailing list