public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "markus at trippelsdorf dot de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/58313] New: [4.9 Regression] kdelibs build failure Date: Wed, 04 Sep 2013 07:04:00 -0000 [thread overview] Message-ID: <bug-58313-4@http.gcc.gnu.org/bugzilla/> (raw) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58313 Bug ID: 58313 Summary: [4.9 Regression] kdelibs build failure 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 Building kdelibs-4.11.1 fails when linking kdecore: ... CMakeFiles/kdecore.dir/network/k3socketdevice.o:k3socketdevice.cpp:function _ZN8KNetwork13KSocketDeviceC2EPKNS_11KSocketBaseEP7QObject: error: undefined reference to '_ZN8KNe twork17KActiveSocketBaseC2EPPKvP7QObject' CMakeFiles/kdecore.dir/network/k3socketdevice.o:k3socketdevice.cpp:function _ZN8KNetwork13KSocketDeviceC2EPKNS_11KSocketBaseEP7QObject: error: undefined reference to '_ZN8KNe twork18KPassiveSocketBaseC2EPPKv' CMakeFiles/kdecore.dir/network/k3socketdevice.o:k3socketdevice.cpp:function _ZN8KNetwork13KSocketDeviceC1EPKNS_11KSocketBaseEP7QObject: error: undefined reference to '_ZN8KNe twork17KActiveSocketBaseC2EPPKvP7QObject' CMakeFiles/kdecore.dir/network/k3socketdevice.o:k3socketdevice.cpp:function _ZN8KNetwork13KSocketDeviceC1EPKNS_11KSocketBaseEP7QObject: error: undefined reference to '_ZN8KNe twork18KPassiveSocketBaseC2EPPKv' ... I've reduced this issue to: markus@x4 tmp % cat test.ii namespace KNetwork { class A {}; class KPassiveSocketBase : virtual A { public: KPassiveSocketBase(); }; class B : KPassiveSocketBase { B(); }; } using namespace KNetwork; B::B() {} markus@x4 tmp % g++ -c -O2 test.ii markus@x4 tmp % nm test.o | grep _ZN8KNetwork18KPassiveSocketBaseC2EPPKv U _ZN8KNetwork18KPassiveSocketBaseC2EPPKv markus@x4 tmp % /usr/x86_64-pc-linux-gnu/gcc-bin/4.8.1/g++ -c -O2 test.ii markus@x4 tmp % nm test.o | grep _ZN8KNetwork18KPassiveSocketBaseC2EPPKv markus@x4 tmp %
next reply other threads:[~2013-09-04 7:04 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-09-04 7:04 markus at trippelsdorf dot de [this message] 2013-09-04 7:18 ` [Bug ipa/58313] " markus at trippelsdorf dot de 2013-09-04 8:15 ` jakub at gcc dot gnu.org 2013-09-04 11:00 ` markus at trippelsdorf dot de 2013-09-04 11:01 ` markus at trippelsdorf dot de
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-58313-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).