Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129592 - boinc does not compile with GCC 4.1
Summary: boinc does not compile with GCC 4.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-04-11 07:47 UTC by Craig Andrews
Modified: 2006-04-14 12:15 UTC (History)
2 users (show)

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


Attachments
gcc-4.1 patch (boinc-5.2.14-gcc41.patch,433 bytes, patch)
2006-04-13 11:15 UTC, Mark Loeser (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Andrews gentoo-dev 2006-04-11 07:47:35 UTC
sci-misc/boinc-5.2.14 (USE="X -server") does not compile using GCC 4.1.

Here's the relevant output:
Making all in clientgui
make[2]: Entering directory `/var/tmp/portage/boinc-5.2.14/work/boinc-5.2.14/clientgui'
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -DPIC -I../lib -I../api -I../db -I../client -I../tools -I../sched  -pthread -include ../config.h -I/usr/lib/wx/include/gtk2-ansi-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA  -I../wizards  -DPIC -I../lib -I../api -I../db -I../client -I../tools -I../sched  -pthread -include ../config.h -I/usr/lib/wx/include/gtk2-ansi-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA    -I../wizards -I/usr/include -I/usr/include/openssl -pthread -MT boinc_gui-BOINCBaseView.o -MD -MP -MF ".deps/boinc_gui-BOINCBaseView.Tpo" -c -o boinc_gui-BOINCBaseView.o `test -f 'BOINCBaseView.cpp' || echo './'`BOINCBaseView.cpp; \
then mv -f ".deps/boinc_gui-BOINCBaseView.Tpo" ".deps/boinc_gui-BOINCBaseView.Po"; else rm -f ".deps/boinc_gui-BOINCBaseView.Tpo"; exit 1; fi
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -DPIC -I../lib -I../api -I../db -I../client -I../tools -I../sched  -pthread -include ../config.h -I/usr/lib/wx/include/gtk2-ansi-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA  -I../wizards  -DPIC -I../lib -I../api -I../db -I../client -I../tools -I../sched  -pthread -include ../config.h -I/usr/lib/wx/include/gtk2-ansi-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA    -I../wizards -I/usr/include -I/usr/include/openssl -pthread -MT boinc_gui-BOINCGUIApp.o -MD -MP -MF ".deps/boinc_gui-BOINCGUIApp.Tpo" -c -o boinc_gui-BOINCGUIApp.o `test -f 'BOINCGUIApp.cpp' || echo './'`BOINCGUIApp.cpp; \
then mv -f ".deps/boinc_gui-BOINCGUIApp.Tpo" ".deps/boinc_gui-BOINCGUIApp.Po"; else rm -f ".deps/boinc_gui-BOINCGUIApp.Tpo"; exit 1; fi
BOINCTaskBar.h:79: error: extra qualification 'CTaskBarIcon::' on member 'IsBalloonsSupported'
make[2]: *** [boinc_gui-BOINCGUIApp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
BOINCTaskBar.h:79: error: extra qualification 'CTaskBarIcon::' on member 'IsBalloonsSupported'
make[2]: *** [boinc_gui-BOINCBaseView.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/boinc-5.2.14/work/boinc-5.2.14/clientgui'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/boinc-5.2.14/work/boinc-5.2.14'
make: *** [all] Error 2

!!! ERROR: sci-misc/boinc-5.2.14 failed.
Call stack:
  ebuild.sh, line 1532:   Called dyn_compile
  ebuild.sh, line 929:   Called src_compile
  boinc-5.2.14.ebuild, line 59:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


Here's my emerge --info:
Portage 2.1_pre7-r5 (default-linux/x86/2006.0, gcc-4.1.0, glibc-2.4-r1, 2.6.14-suspend2-r10 i686)
=================================================================
System uname: 2.6.14-suspend2-r10 i686 Intel(R) Celeron(R) CPU 3.06GHz
Gentoo Base System version 1.12.0_pre17
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2-r1
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-r2
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 -mcpu=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS=""
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks gpg metadata-transfer sandbox sfperms strict usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en_us"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa animation apache2 artworkextra asf avi bash-completion beagle berkdb bitmap-fonts bluetooth bzip2 cairo cdda cdparanoia cdr chm cli crypt ctype cups daap dba dbus dga divx4linux dlloader dpms dri dts dv dvd dvdr dvdread emboss encode exif expat fam fame fastbuild fat fbsplash ffmpeg fftw firefox flac foomaticdb force-cgi-redirect fortran freetype ftp gaim gd gdbm geoip gif gimpprint glibc-omitfp glitz glut gnome gnutls gphoto2 gpm gstreamer gstreamer10 gtk gtk2 hal hardened imagemagick imlib innodb ipv6 isdnlog java joystick jpeg jpeg2k junit lcms ldap libfame libg++ libnotify libusb libwww lirc live lm_sensors lzo mad memlimit mikmod mjpeg mmap mmx mmxext mng mono motif mozilla mozsvg mp3 mpeg mpeg2 mplayer mysql mythtv nautilus ncurses network nls nptl nptlonly ntfs nvidia offensive ogg oggvorbis openexr opengl pam pango pcre pdf pdflib perl pic pie png pnp posix ppd ppds pppd python quicktime rar readline real rtc samba scanner screensaver sdl session sharedmem shout simplexml soap sockets sox speex spell spl sse sse2 ssl suspend2 svg tcpd theora threads tiff tokenizer transcode truetype truetype-fonts type-fonts type1-fonts udev unicode usb v4l v4l2 vcd videos vorbis webservices wifi win32codecs wmf wv xine xinerama xml xml2 xpm xprint xrandr xscreensaver xsl xv xvid xvmc zeroconf zlib elibc_glibc input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse kernel_linux linguas_en_us userland_GNU video_cards_nv video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS
Comment 1 Mark Loeser (RETIRED) gentoo-dev 2006-04-13 11:15:34 UTC
Created attachment 84577 [details, diff]
gcc-4.1 patch

This should fix it.  Let me know if you want me to apply the patch or if you will do it.
Comment 2 Craig Andrews gentoo-dev 2006-04-13 11:34:06 UTC
(In reply to comment #1)
> Created an attachment (id=84577) [edit]
> gcc-4.1 patch
> 
> This should fix it.  Let me know if you want me to apply the patch or if you
> will do it.
> 

I can confirm that the patch works. Furthermore, boinc compiles with GCC 4.2. How does this get into portage?
Comment 3 Marcus D. Hanwell (RETIRED) gentoo-dev 2006-04-14 12:15:26 UTC
I have applied the patch now thanks Mark - looks just fine to me. Let me know if there are any other packages I can help out with. I am using GCC 4.1 on my laptop for everything now and so I would love to see it make it into ~amd64 some time soon ;)