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 lto/53831] [4.7/4.8 Regression] Virtuals missing in LTO symtab


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


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