emerge blackbox failes on gcc 3.4.1-r2 and r3, works on gcc 3.3.4. Problem with 3.4.1 is not depending on the optimisation parameters, even without anz optimisation it fails Reproducible: Always Steps to Reproduce: 1.gcc-config i686-pc-linux-gnu-3.4.1 2.source /etc/profile 3.emerge -v blackbox Actual Results: g++ -DHAVE_CONFIG_H -I. -I. -I.. -DSHAPE -DNDEBUG -DTIMEDCACHE -DLOCALEPATH=\"/usr/share/locale\" -DDEFAULTMENU=\"/usr/share/commonbox/menu\" -DDEFAULTSTYLE=\"/usr/share/commonbox/styles/Fury-NG\" -I/usr/X11R6/include -Wall -W -pedantic -c BaseDisplay.cc g++ -DHAVE_CONFIG_H -I. -I. -I.. -DSHAPE -DNDEBUG -DTIMEDCACHE -DLOCALEPATH=\"/usr/share/locale\" -DDEFAULTMENU=\"/usr/share/commonbox/menu\" -DDEFAULTSTYLE=\"/usr/share/commonbox/styles/Fury-NG\" -I/usr/X11R6/include -Wall -W -pedantic -c Basemenu.cc In file included from BaseDisplay.hh:39, from blackbox.hh:52, from Basemenu.cc:46: Timer.hh: In member function `void _timer_queue<_Tp, _Sequence, _Compare>::release(const _Tp&)': Timer.hh:101: error: `c' undeclared (first use this function) Timer.hh:101: error: (Each undeclared identifier is reported only once for each function it appears in.) Timer.hh:103: error: `comp' undeclared (first use this function) Timer.hh:103: error: no matching function for call to `make_heap(<type error>, <type error>, <type error>)' make[2]: *** [Basemenu.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from BaseDisplay.hh:39, from BaseDisplay.cc:85: Timer.hh: In member function `void _timer_queue<_Tp, _Sequence, _Compare>::release(const _Tp&)': Timer.hh:101: error: `c' undeclared (first use this function) Timer.hh:101: error: (Each undeclared identifier is reported only once for each function it appears in.) Timer.hh:103: error: `comp' undeclared (first use this function) Timer.hh:103: error: no matching function for call to `make_heap(<type error>, <type error>, <type error>)' Timer.hh: At global scope: Timer.hh: In instantiation of `void _timer_queue<_Tp, _Sequence, _Compare>::release(const _Tp&) [with _Tp = BTimer*, _Sequence = std::vector<BTimer*, std::allocator<BTimer*> >, _Compare = TimerLessThan]': BaseDisplay.cc:350: instantiated from here Timer.hh:100: warning: unused parameter 'value' make[2]: *** [BaseDisplay.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/blackbox-0.65.0-r3/work/blackbox-0.65.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/blackbox-0.65.0-r3/work/blackbox-0.65.0' make: *** [all-recursive-am] Error 2 !!! ERROR: x11-wm/blackbox-0.65.0-r3 failed. !!! Function commonbox_src_compile, Line 114, Exitcode 2 !!! (no error message) Portage 2.0.51_rc1 (default-x86-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.8-gentoo-r4 i686) ================================================================= System uname: 2.6.8-gentoo-r4 i686 AMD Athlon(tm) XP 1600+ Gentoo Base System version 1.5.3 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux-headers-2.4.22 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -mtune=athlon-xp -pipe -frename-registers -fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mtune=athlon-xp -pipe -frename-registers -fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache digest sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aalib acpi alsa apache2 apm arts avi berkdb bitmap-fonts bonobo bzlib cdr crypt cups curl curlwrappers dba dga directfb divx4linux doc dvd encode esd f77 fam fftw flac foomatic foomaticdb freetype gd gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile hbci icq imap imlib java jpeg ldap lesstif libg++ libwww mad mikmod mmx motif mozilla mpeg mysql nas ncurses nls objc oggvorbis opengl oscar oss pam pda pdflib perl php png ppds python qt quicktime readline ruby scanner sdl slang slp socks5 spell spl sse ssl svg svga tcltk tcpd tetex tidy tiff truetype usb wmf wxwindows x86 xinerama xml xml2 xmlrpc xmms xprint xsl xv xvid zlib"
I see this too. gcc version 3.4.2 (Gentoo Linux 3.4.2-r2, ssp-3.4.1-1, pie-8.7.6.5)
Same here... Portage 2.0.51_rc9 (default-x86-1.4, gcc-3.4.2, glibc-2.3.4.20041006-r0, 2.6.8-gentoo-r7 i686) ================================================================= System uname: 2.6.8-gentoo-r7 i686 AMD Athlon(tm) XP 1800+ Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux-headers-2.4.22 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox" GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirror.nutsmaas.nl/gentoo/ http://gentoo.binarycompass.org http://gentoo.osuosl.org/distfiles" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="3dnow X aalib alsa apm avi berkdb bitmap-fonts cdr crypt cups curl dga dri dvd encode f77 fbcon flash foomaticdb gdbm gif gpg gphoto2 gpm gtk gtk2 imap imlib jpeg kde lcms libg++ libwww mad maildir mikmod motif mpeg mysql ncurses net nls nojoystick offensive oggvorbis opengl oss pam pda pdflib perl png python qt quicktime readline sdl slang spell sse ssl svga tcltk tcpd tetex threads tiff truetype unicode vim-with-x x86 xml2 xmms xprint xv zlib"
I get this too (on ppc64). It seems to be a gcc 3.4 problem. The Debian patch available below helps: http://groups.google.ca/groups?q=blackbox+Timer.hh+101+debian&hl=en&lr=&ie=UTF-8&selm=2uA5g-o7-43%40gated-at.bofh.it&rnum=1 That fixes some of it, but then it gets some other errors with brackets.
Created attachment 47227 [details, diff] blackbox-0.65.0-gcc34.patch This patch is from http://linuxfromscratch.org/pipermail/patches/2004-April/001028.html It works for me on ppc64. Someone from commonbox herd: Please add it or give me the permission to do so. :-)
Markus -- all yours if you want it. Feel free to add yourself as maintainer / join the commonbox herd if you're that way inclined.
I've added blackbox-0.65.0-r4 to CVS which includes this gcc34 patch. ciaranm: Thx for invitation, but I have more than enough to do fixed ppc64 related packages :-) Markus
closing
comment #6: s/fixed/fixing