Bug 136339 - wxchecksums gcc 4.1 compile error
|
Bug#:
136339
|
Product: Gentoo Linux
|
Version: 2006.0
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: wxwidgets@gentoo.org
|
Reported By: miguelmarte@gmail.com
|
|
Component: GCC Porting
|
|
|
URL:
|
|
Summary: wxchecksums gcc 4.1 compile error
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2006-06-10 16:43 0000
|
wxchecksums will not compile with gcc 4.1.1 i am using the amd64 patch from the
other bug report.
here is the patch to fix this.
--- dlgProgress.hpp.orig 2006-06-09 14:47:05.000000000 -0400
+++ dlgProgress.hpp 2006-06-09 14:47:21.000000000 -0400
@@ -137,7 +137,7 @@
DECLARE_DYNAMIC_CLASS(dlgProgress)
/// Default constructor. Don't use it.
- dlgProgress::dlgProgress() : wxDialog() {}
+ dlgProgress() : wxDialog() {}
};
and ofcouuse the emerge info
Portage 2.1_rc4-r2 (default-linux/amd64/2006.0, gcc-vanilla, glibc-2.4-r3,
2.6.16-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.1
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
dev-lang/python: 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.18.1
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-r2
sys-devel/binutils: 2.16.1-r2
sys-devel/gcc-config: [Not Present]
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown
/usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild
/etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlay-clock"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X alsa avi berkdb bitmap-fonts cairo cdr cli crypt cups dri dvd dvdr
dvdread eds emboss encode foomaticdb fortran gif glitz gnome gpm gstreamer gtk
gtk2 imlib isdnlog jpeg lzw lzw-tiff mp3 mpeg ncurses nls nptl nptlonly nvidia
opengl pam pcre pdflib perl png pppd python quicktime readline reflection sdl
session spell spl ssl svg tcpd tiff truetype truetype-fonts type1-fonts usb
vorbis xorg xpm xv zlib elibc_glibc input_devices_keyboard input_devices_mouse
kernel_linux userland_GNU video_cards_nvidia"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Please, post the following info to Bug 139662.
- portage, gcc-config and eselect-compiler versions
- the output of `eselect compiler show` and `gcc-config -c`
Thanks.
I have this same problem. I've put wxchecksums-1.2.0 in a portage overlay and
modified the ebuild to use the patch above, and it does work.
[I--] [ ] sys-apps/portage-2.1.1 (0)
[I--] [ ] sys-devel/gcc-config-1.3.13-r3 (0)
eselect-compiler not installed
gcc-config:
i686-pc-linux-gnu-4.1.1
emerge --info:
Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3,
2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 AMD Athlon(tm) XP 3200+
Gentoo Base System version 1.12.5
Last Sync: Wed, 27 Sep 2006 05:30:09 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python: 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache: [Not Present]
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-r2
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distcc distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS=""
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa arts berkdb bitmap-fonts cdr cli crypt cups dlloader dri dvd
elibc_glibc flac fortran gdbm gimp gnome gpm gtk gtk2 hal
input_devices_keyboard input_devices_mouse isdnlog kde kernel_linux libg++ mp3
musepack ncurses nls nptl nptlonly nsplugin opengl pam pcre perl ppds pppd
python qt qt3 readline reflection samba scanner session spl ssl tcpd truetype
truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_vesa xorg
zlib"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS