Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137005 - wxGTK and fvisibility-inlines-hidden CXXFLAG
Summary: wxGTK and fvisibility-inlines-hidden CXXFLAG
Status: RESOLVED DUPLICATE of bug 127020
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-16 12:06 UTC by Colin Carle
Modified: 2006-06-16 12:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Colin Carle 2006-06-16 12:06:42 UTC
wxGTK-2.6 seems to have some bugs, when used with the -fvisibility-inlines-hidden CXXFLAG
With this flag I noticed this bugs :
amule 2.1 won't compile :

amuleweb-WebInterface.o:(.gnu.linkonce.r._ZTV12CamulewebApp+0x14): undefined reference to `wxObject::ReservedObjectFunc1()'
amuleweb-WebInterface.o:(.gnu.linkonce.r._ZTV12CamulewebApp+0x18): undefined reference to `wxObject::ReservedObjectFunc2()'
amuleweb-WebInterface.o:(.gnu.linkonce.r._ZTV12CamulewebApp+0x1c): undefined reference to `wxObject::ReservedObjectFunc3()'
amuleweb-WebInterface.o:(.gnu.linkonce.r._ZTV12CamulewebApp+0x20): undefined reference to `wxObject::ReservedObjectFunc4()'
amuleweb-WebInterface.o:(.gnu.linkonce.r._ZTV12CamulewebApp+0x24): undefined reference to `wxObject::ReservedObjectFunc5()'
amuleweb-WebInterface.o:(.gnu.linkonce.r._ZTV12CamulewebApp+0x28): undefined reference to `wxObject::ReservedObjectFunc6()'
...
...goes on
...
amuleweb-WebSocket.o:(.gnu.linkonce.r._ZTV9CWSThread+0x8): undefined reference to `wxThread::OnExit()'
amuleweb-WebSocket.o:(.gnu.linkonce.r._ZTV9CWCThread+0x8): undefined reference to `wxThread::OnExit()'
amuleweb-ExternalConnector.o:(.gnu.linkonce.r._ZTV23CaMuleExternalConnector+0x14): undefined reference to `wxObject::ReservedObjectFunc1()'
amuleweb-ExternalConnector.o:(.gnu.linkonce.r._ZTV23CaMuleExternalConnector+0x18): undefined reference to `wxObject::ReservedObjectFunc2()'
amuleweb-ExternalConnector.o:(.gnu.linkonce.r._ZTV23CaMuleExternalConnector+0x1c): undefined reference to `wxObject::ReservedObjectFunc3()'
amuleweb-ExternalConnector.o:(.gnu.linkonce.r._ZTV23CaMuleExternalConnector+0x20): undefined reference to `wxObject::ReservedObjectFunc4()'
amuleweb-ExternalConnector.o:(.gnu.linkonce.r._ZTV23CaMuleExternalConnector+0x24): undefined reference to `wxObject::ReservedObjectFunc5()'
amuleweb-ExternalConnector.o:(.gnu.linkonce.r._ZTV23CaMuleExternalConnector+0x28): undefined reference to `wxObject::ReservedObjectFunc6()'
amuleweb-ExternalConnector.o:(.gnu.linkonce.r._ZTV23CaMuleExternalConnector+0x2c): undefined reference to `wxObject::ReservedObjectFunc7()'
...
...goes on
...
/usr/lib/libwx_baseu_net-2.6.so: undefined reference to `wxConnectionBase::OnAdvise(wxString const&, wxString const&, wchar_t*, int, wxIPCFormat)'
/usr/lib/libwx_baseu_net-2.6.so: undefined reference to `wxStreamBase::IsSeekable() const'
/usr/lib/libwx_baseu_net-2.6.so: undefined reference to `wxStreamBase::ReservedStreamFunc2()'
/usr/lib/libwx_baseu_net-2.6.so: undefined reference to `wxStreamBase::ReservedStreamFunc9()'
/usr/lib/libwx_baseu_net-2.6.so: undefined reference to `wxInputStream::LastRead() const'
/usr/lib/libwx_baseu_net-2.6.so: undefined reference to `wxConnectionBase::OnRequest(wxString const&, wxString const&, int*, wxIPCFormat)'


vlc 8.5 can be compiled but the wxWidget plugin can't loaded, everything using wxWindow seems to be disabled:
$ vlc -v --reset-plugins-cache
VLC media player 0.8.5 Janus
[00000001] main vlc warning: config file /home/luser/.vlc/vlcrc does not exist
yet
[00000001] main vlc warning: cannot load module
`/usr/lib/vlc/gui/libwxwidgets_plugin.so' (/usr/lib/libwx_baseu_net-2.6.so.0:
undefined symbol: _ZNK11wxClassInfo8IsKindOfEPKS_)



after removing the  -fvisibility-inlines-hidden CXXFLAG

amule compile and vlc can be used without re-emerging the package.

More details can be found at theses url :
http://forum.amule.org/thread.php?threadid=9993&boardid=66&
http://bugs.gentoo.org/show_bug.cgi?id=132582
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-16 12:14:16 UTC
So don't use it...


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