Summary: | wxgtk-2.4.2 compiled with gcc 4.0.2 breaks compilation of other apps | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Chris Fairles <chris.fairles> |
Component: | Current packages | Assignee: | Gentoo wxWidgets project <wxwidgets> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | halcy0n, sound, teidakankan, voyageur |
Priority: | High | ||
Version: | 2005.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 117482 | ||
Attachments: |
wxGTK-2.4.2-gcc4-wxfileproto.patch
wxGTK-2.4.2-gcc4.patch wxGTK-2.4.2-r5.ebuild |
Description
Chris Fairles
2006-01-01 08:38:40 UTC
Created attachment 75921 [details, diff]
wxGTK-2.4.2-gcc4-wxfileproto.patch
Patch for wxGTK-2.4.2 that fixes vtable issue.
*** Bug 117355 has been marked as a duplicate of this bug. *** Created attachment 75930 [details, diff] wxGTK-2.4.2-gcc4.patch Consolidated gcc4 patch (includes many fixes for warnings etc.) Many thanks to the Fedora Extra team for these. https://bugzilla.redhat.com/bugzilla/long_list.cgi?buglist=154958 Created attachment 75939 [details]
wxGTK-2.4.2-r5.ebuild
Might as well post this too... ebuild I used.
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. |