Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74470 - games-board/qgo-1.0.0 doesn't compile with gcc-3.4.x
Summary: games-board/qgo-1.0.0 doesn't compile with gcc-3.4.x
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-15 04:42 UTC by Stefan Tittel
Modified: 2004-12-15 19:09 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Tittel 2004-12-15 04:42:58 UTC
games-board/qgo-1.0.0 doesn't compile on amd64, the gcc fails with:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/qt/3/include -I/usr/X11R6/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -pipe -march=athlon64 -frename-registers -ftracer -fweb -c `test -f'wavfile.c' || echo './'`wavfile.c
wavfile.c:153: error: conflicting types for '_v_erf'
wavfile.c:147: error: previous implicit declaration of '_v_erf' was here
make[3]: *** [wavfile.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include/g++-v3/backward/iostream.h:31,
                 from tree.cpp:8:
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include/g++-v3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Pleaseconsider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
tree.cpp:419:5: warning: no newline at end of file
make[3]: Leaving directory `/var/tmp/portage/qgo-1.0.0/work/qgo-1.0.0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/qgo-1.0.0/work/qgo-1.0.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/qgo-1.0.0/work/qgo-1.0.0'
make: *** [all] Error 2



My system according to "emerge --info":

Portage 2.0.51-r3 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r9 x86_64 4
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -march=athlon64 -frename-registers -ftracer -fweb"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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/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 -pipe -march=athlon64 -frename-registers -ftracer -fweb"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa amd64 apache2 apche2 apm arts artswrappersuid avi berkdb bitmap-fonts cdr codecs crypt cups divx4linux dvd dvdr encode esd f77 fam fbcon flac foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 icq imagemagick imlib java joystick jp2 jpeg junit kde libwww lzw lzw-tiff mad maildir matroska mbox mikmod motif mozilla mpeg multilib mysql ncurses nls oggvorbis opengl pam pdflib perl png ppds python qt readline sdl slang ssl tcltk tcpd tetex tiff truetype unicode usb userlocales uudeview vim-with-x xface xine xml xml2 xmms xpm xrandr xv xvid zlib"
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-12-15 04:49:02 UTC
Can you try it with gcc-3.3 please?  I wonder if it's specific to amd64 or if it's more of a gcc-3.4 bug.
Comment 2 Stefan Tittel 2004-12-15 05:41:50 UTC
It compiles fine with gcc 3.3.3, so the problem seems to be gcc related.
Comment 3 SpanKY gentoo-dev 2004-12-15 18:40:02 UTC
just a matter of someone didnt update the gcc.patch that we've had in all the other versions :p

fixed in cvs
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2004-12-15 19:09:34 UTC
*** Bug 74582 has been marked as a duplicate of this bug. ***