Bug 117357 - wxgtk-2.4.2 compiled with gcc 4.0.2 breaks compilation of other apps
|
Bug#:
117357
|
Product: Gentoo Linux
|
Version: 2005.1
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: wxwidgets@gentoo.org
|
Reported By: chris.fairles@gmail.com
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: wxgtk-2.4.2 compiled with gcc 4.0.2 breaks compilation of other apps
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2006-01-01 08:38 0000
|
I have compiled wxGTK-2.4 with wxgtk1 use flag on
x11-libs/wxGTK-2.4.2-r4 USE="gtk2 opengl wxgtk1 -debug -odbc -unicode" 0 kB
also tried it with gtk2 OFF and get same result.
/usr/lib/gcc/i686-pc-linux-gnu/4.0.2/../../../libwx_gtk-2.4.so: undefined
reference to `vtable for wxFileProto'
Above was done with wxGTK-2.6.2-r1 still installed. Same happens if I remove
it.
emerge --info
Portage 2.1_pre3-r1 (default-linux/x86/2005.1, gcc-4.0.2, glibc-2.3.6-r1,
2.6.14-nitro2 i686)
=================================================================
System uname: 2.6.14-nitro2 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.12.0_pre12
ccache version 2.4 [enabled]
dev-lang/python: 2.3.5-r2, 2.4.2
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1-r1
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo http://gentoo.mirrored.ca/
http://adelie.polymtl.ca/ http://mirrors.acm.cs.rpi.edu/gentoo/
http://gentoo.mirrors.tds.net/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa apache2 audiofile avi bash-completion berkdb
bitmap-fonts browserplugin bzip2 cdr crypt cscope cups curl divx4linux dvd dvdr
emacs emboss encode exif expat fam ffmpeg fftw firefox flac foomaticdb fortran
ftp gd gdbm gif ginac glut glx gmp gpm gstreamer gtk gtk2 guile hal idn
imagemagick imlib java javascript jpeg jpeg2k kerberos lcms ldap libg++ libwww
mad mhash mikmod mjpeg mmx mng mp3 mpeg msn mysql ncurses netboot nis nntp nptl
nptlonly nsplugin ogg oggvorbis openal opengl oss pam pcmcia pcre pdflib perl
png posix ppds pthreads python qt quicktime readline real ruby samba sdl
sharedmem smp snmp spell sqlite sse ssl svga tcltk tcpd tetex threads tiff
transcode truetype truetype-fonts type1-fonts udev usb v4l v4l2 vcd verbose
vorbis wifi win32codecs wxwindows xine xml2 xmms xv xvid zlib elibc_glibc
kernel_linux userland_GNU"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
*** Bug 117355 has been marked as a duplicate of this bug. ***
The problem is not limited to audacity: I had to patch wxGTK to emerge
mkvtoolnix (same problem with broken vtable).
Also, shouldn't this bug report be marked as a blocker of bug #117482 ?
I don't think we need this patch. wxGTK stuff works fine for me. Can you
please try re-emerging gcc-4.0.2-r3 and let me know if this is still an issue?
(You need to re-emerge if you haven't lately because I excluded a patch and
didn't bump the ebuild, it is still -* :) )
Hum I've juste done:
# mv /usr/local/portage/x11-libs/wxGTK /outoftheway
# emerge sync
# emerge -av gcc '=x11-libs/wxGTK-2.4.2-r4' mkvtoolnix
And mkvtoolnix failed with:
LINK src/mkvmerge
/usr/lib64/libwx_gtk2u-2.4.so: undefined reference to
`wxwxListStringNode::~wxwxListStringNode()'
/usr/lib64/libwx_gtk2u-2.4.so: undefined reference to
`wxwxMenuItemListNode::~wxwxMenuItemListNode()'
/usr/lib64/libwx_gtk2u-2.4.so: undefined reference to
`wxwxMenuItemListNode::~wxwxMenuItemListNode()'
/usr/lib64/libwx_gtk2u-2.4.so: undefined reference to `vtable for wxFileProto'
/usr/lib64/libwx_gtk2u-2.4.so: undefined reference to
`wxwxListStringNode::~wxwxListStringNode()'
collect2: ld a retourn
Hum I've juste done:
# mv /usr/local/portage/x11-libs/wxGTK /outoftheway
# emerge sync
# emerge -av gcc '=x11-libs/wxGTK-2.4.2-r4' mkvtoolnix
And mkvtoolnix failed with:
LINK src/mkvmerge
/usr/lib64/libwx_gtk2u-2.4.so: undefined reference to
`wxwxListStringNode::~wxwxListStringNode()'
/usr/lib64/libwx_gtk2u-2.4.so: undefined reference to
`wxwxMenuItemListNode::~wxwxMenuItemListNode()'
/usr/lib64/libwx_gtk2u-2.4.so: undefined reference to
`wxwxMenuItemListNode::~wxwxMenuItemListNode()'
/usr/lib64/libwx_gtk2u-2.4.so: undefined reference to `vtable for wxFileProto'
/usr/lib64/libwx_gtk2u-2.4.so: undefined reference to
`wxwxListStringNode::~wxwxListStringNode()'
collect2: ld a retourné 1 code d'état d'exécution
Emerging went fine again after pulling out the patched wxGTK-2.4
So the patch is at least needed for mkvtoolnix... if it worked for you without
patch, did you have USE="bzip2 flac wxwindows -lzo" for it?
The attach patch fixed audacity and mkvtoolnix for me.
Okay, the other bug I was thinking about was with wxGTK-2.6. This patch does
fix things that link against 2.4, so please apply the patch.
Thanks for the patch. Fixed.