Issue with LTO/-fwhole-program

Jan Hubicka hubicka@ucw.cz
Fri Jun 11 14:52:00 GMT 2010


> On 11/06/2010 14:26, Jan Hubicka wrote:
> 
> > Perhaps we can somehow poison the object names that are brought local with -fwhole-program
> > so linking explode, but I am not sure there is way to do so.
> 
>   Could emit warning symbols, but, like the others, I don't see why collect2
> can't spot this.
It doesn't know what symbol is declared externally_visible.

Honza
> 
>     cheers,
>       DaveK
> 



More information about the Gcc mailing list