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/64860] [5/6 Regression] multiple definition of typeinfo in 5.0 (4.9.2 works)


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

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #13 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
This is another bug related to incremental linking and LTO.  I will redirect
them all to PR67548. The testcase now works on mainline GCC in a sense that the
duplicate is gone and we get missing typeinfo:
lib1.lib:<artificial>:typeinfo for CDialogBase: error: undefined reference to
'vtable for __cxxabiv1::__class_type_info'
/usr/bin/ld: the vtable symbol may be undefined because the class is missing
its key function
collect2: error: ld returned 1 exit status

that seems intended.

*** This bug has been marked as a duplicate of bug 67548 ***

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