[Bug lto/64860] [5 Regression] multiple definition of typeinfo in 5.0 (4.9.2 works)

hubicka at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 18 18:30:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64860

--- Comment #5 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Well, the problem is that -r is the only case where we get LDPR_PREVAILING_DEF
or IRONLY and the resulting symbol may be removed from the unit later.
We would need a new LDPR_PREVAILING_DEF_FOR_NOW or something like that to
represent the incremental nature of linking here, or we need a global flag in
GCC saying if incremental linking is supposed tohappen or not.



More information about the Gcc-bugs mailing list