http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53831



--- Comment #28 from Jan Hubicka <hubicka at ucw dot cz> 2012-10-06 16:20:57 
UTC ---

> There is also H.J.'s proposal to add automatic plugin support, or

> mine to add an environment variable. See:

> http://sourceware.org/ml/binutils/2012-10/msg00050.html

Interesting, I missed this.



Why nm/ar/ld can't just support multiple plugins and load all plugins from its

default plugin directory (where all installed compilers will drop one) and

choose

the one claiming the file?

I see it would need some work on linker side if one plugin claims one file and

other

plugin other file, but there don't seem to be anything in the plugin API making

this

impossible and we can just error out in this case until mixing LTO from

different

compilers become fashionable.



Honza

Reply via email to