public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ipa/58678] New: [4.9 Regression] pykde4-4.11.2 link error (devirtualization too trigger happy)
@ 2013-10-10  8:25 markus at trippelsdorf dot de
  2013-10-10  8:39 ` [Bug ipa/58678] " hubicka at gcc dot gnu.org
                   ` (66 more replies)
  0 siblings, 67 replies; 68+ messages in thread
From: markus at trippelsdorf dot de @ 2013-10-10  8:25 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 58678
           Summary: [4.9 Regression] pykde4-4.11.2 link error
                    (devirtualization too trigger happy)
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: markus at trippelsdorf dot de

pykde4-4.11.2 fails to build:

CMakeFiles/python_module_PyKDE4_phonon.dir/sip/phonon/sipphononpart5.cpp.o:sipphononpart5.cpp:function
release_Phonon_BackendCapabilities_Notifier: error: undefined reference to
'vtable for Phonon::BackendCapabilities::Notifier'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0/../../../../x86_64-pc-linux-gnu/bin/ld:
the vtable symbol may be undefined because the class is missing its key
function
CMakeFiles/python_module_PyKDE4_phonon.dir/sip/phonon/sipphononpart5.cpp.o:sipphononpart5.cpp:function
Phonon::BackendCapabilities::Notifier::~Notifier(): error: undefined reference
to 'vtable for Phonon::BackendCapabilities::Notifier'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0/../../../../x86_64-pc-linux-gnu/bin/ld:
the vtable symbol may be undefined because the class is missing its key
function
CMakeFiles/python_module_PyKDE4_phonon.dir/sip/phonon/sipphononpart5.cpp.o:sipphononpart5.cpp:function
Phonon::BackendCapabilities::Notifier::~Notifier(): error: undefined reference
to 'vtable for Phonon::BackendCapabilities::Notifier'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0/../../../../x86_64-pc-linux-gnu/bin/ld:
the vtable symbol may be undefined because the class is missing its key
function
collect2: error: ld returned 1 exit status

Reduced:

markus@x4 tmp % cat test.ii
class A {
public:
  virtual ~A();
};
class B : A {
  virtual int m_fn1();
};
void fn1() {
  delete reinterpret_cast<B*>(1);
}

markus@x4 tmp % g++ -O1 -c test.ii
markus@x4 tmp % nm test.o | c++filt
0000000000000000 T fn1()

markus@x4 tmp % g++ -O2 -c test.ii
markus@x4 tmp % nm test.o | c++filt
0000000000000000 T fn1()
                 U operator delete(void*)
                 U A::~A()
0000000000000000 W B::~B()
0000000000000000 W B::~B()
0000000000000000 W B::~B()
0000000000000000 n B::~B()
                 U vtable for B

markus@x4 tmp % clang++ -O2 -c test.ii
markus@x4 tmp % nm test.o | c++filt
0000000000000000 T fn1()
markus@x4 tmp % 

Started with r202145.


^ permalink raw reply	[flat|nested] 68+ messages in thread

end of thread, other threads:[~2014-09-11 12:16 UTC | newest]

Thread overview: 68+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-10  8:25 [Bug ipa/58678] New: [4.9 Regression] pykde4-4.11.2 link error (devirtualization too trigger happy) markus at trippelsdorf dot de
2013-10-10  8:39 ` [Bug ipa/58678] " hubicka at gcc dot gnu.org
2013-10-10  9:58 ` markus at trippelsdorf dot de
2013-10-10 10:11 ` markus at trippelsdorf dot de
2013-10-10 10:37 ` hubicka at ucw dot cz
2013-10-10 10:49 ` hubicka at gcc dot gnu.org
2014-01-21 11:57 ` nheghathivhistha at gmail dot com
2014-01-21 12:28 ` nheghathivhistha at gmail dot com
2014-01-21 12:30 ` trippels at gcc dot gnu.org
2014-01-21 12:54 ` nheghathivhistha at gmail dot com
2014-01-21 14:55 ` nheghathivhistha at gmail dot com
2014-01-21 14:59 ` trippels at gcc dot gnu.org
2014-01-21 16:23 ` nheghathivhistha at gmail dot com
2014-01-21 17:22 ` trippels at gcc dot gnu.org
2014-01-31 10:49 ` rguenth at gcc dot gnu.org
2014-01-31 11:04 ` rguenth at gcc dot gnu.org
2014-02-04  6:51 ` [Bug c++/58678] " hubicka at gcc dot gnu.org
2014-02-07 10:24 ` nheghathivhistha at gmail dot com
2014-02-17 18:51 ` hubicka at gcc dot gnu.org
2014-02-27  5:09 ` jason at gcc dot gnu.org
2014-02-28 17:28 ` hubicka at gcc dot gnu.org
2014-03-01  0:17 ` jason at gcc dot gnu.org
2014-03-01  1:58 ` jason at gcc dot gnu.org
2014-03-05 13:42 ` nheghathivhistha at gmail dot com
2014-03-05 15:02 ` trippels at gcc dot gnu.org
2014-03-05 15:11 ` trippels at gcc dot gnu.org
2014-03-05 15:58 ` jason at gcc dot gnu.org
2014-03-05 16:31 ` nheghathivhistha at gmail dot com
2014-03-05 16:48 ` trippels at gcc dot gnu.org
2014-03-05 18:28 ` jason at gcc dot gnu.org
2014-03-05 18:31 ` trippels at gcc dot gnu.org
2014-03-10 16:30 ` jason at gcc dot gnu.org
2014-03-12 19:21 ` nheghathivhistha at gmail dot com
2014-03-12 19:21 ` nheghathivhistha at gmail dot com
2014-03-14 19:07 ` jason at gcc dot gnu.org
2014-03-14 19:14 ` jason at gcc dot gnu.org
2014-03-15  1:39 ` jason at gcc dot gnu.org
2014-03-15 18:14 ` nheghathivhistha at gmail dot com
2014-03-15 21:01 ` jason at gcc dot gnu.org
2014-03-16  7:44 ` nheghathivhistha at gmail dot com
2014-03-16  7:46 ` nheghathivhistha at gmail dot com
2014-03-16  7:55 ` trippels at gcc dot gnu.org
2014-03-16  8:35 ` trippels at gcc dot gnu.org
2014-03-16  9:07 ` trippels at gcc dot gnu.org
2014-03-16 11:44 ` nheghathivhistha at gmail dot com
2014-03-16 13:17 ` nheghathivhistha at gmail dot com
2014-03-16 13:28 ` trippels at gcc dot gnu.org
2014-03-16 14:27 ` jakub at gcc dot gnu.org
2014-03-17 18:08 ` jason at gcc dot gnu.org
2014-03-17 18:21 ` trippels at gcc dot gnu.org
2014-03-17 19:17 ` nheghathivhistha at gmail dot com
2014-03-17 20:01 ` jason at gcc dot gnu.org
2014-03-17 20:16 ` jason at gcc dot gnu.org
2014-03-17 20:33 ` trippels at gcc dot gnu.org
2014-03-20 21:06 ` jason at gcc dot gnu.org
2014-03-21 10:34 ` jakub at gcc dot gnu.org
2014-03-26 16:51 ` jason at gcc dot gnu.org
2014-03-28 17:18 ` jakub at gcc dot gnu.org
2014-08-28 17:11 ` jason at gcc dot gnu.org
2014-08-29 10:33 ` trippels at gcc dot gnu.org
2014-08-29 16:13 ` jason at gcc dot gnu.org
2014-08-29 19:00 ` jason at gcc dot gnu.org
2014-08-29 19:19 ` trippels at gcc dot gnu.org
2014-08-29 19:38 ` jason at gcc dot gnu.org
2014-09-09 11:32 ` trippels at gcc dot gnu.org
2014-09-11 12:12 ` jason at gcc dot gnu.org
2014-09-11 12:13 ` jason at gcc dot gnu.org
2014-09-11 12:16 ` jason at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).