Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53784 - anaglyph-stereo-quake doesn't build with gcc 3.4
Summary: anaglyph-stereo-quake doesn't build with gcc 3.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: High enhancement
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-13 01:00 UTC by P Nienaber
Modified: 2004-08-28 02:44 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 P Nienaber 2004-06-13 01:00:43 UTC
Why yes, it's another one of these.  If anyone feels like fixing it instead of marking it WONTFIX, I'll buy you a beer, provided you're of legal age ;)  Otherwise, I may find the time at some point to pry it apart and take the grossness out of its source.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.50-r8 (gcc34-amd64-2004.1, gcc-3.4.0, glibc-2.3.3_pre20040529-r0,
2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 x86_64 5
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -O2 -pipe -mfpmath=sse -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe -mfpmath=sse -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac aim alsa amd64 apm arts avi berkdb cddb cdr crypt dvd dvdr encode
flac foomaticdb gdbm gif gnome gpm gtk gtk2 imap imlib joystick jpeg libg++
libwww mikmod motif mozilla mpeg ncurses nls nogcj oggvorbis opengl oss pam
pdflib perl png python quicktime readline sdl slang spell ssl tcpd threads
truetype xml2 xmms xv zlib"
Comment 1 SpanKY gentoo-dev 2004-06-13 10:38:07 UTC
works fine over here on x86/gcc-3.4

perhaps post the compile error ? :P
Comment 2 P Nienaber 2004-06-13 10:55:59 UTC
Ah.  Having dug at it a bit more, it would appear that it's an amd64-specific compile error... and it's marked missing on amd64, even though it looks like it should otherwise compile quite cooperatively.  Compile error is as follows:

releasei386-glibc/glquake/sys_dosa.o(.text+0x17): In function `Sys_LowFPPrecision':
: multiple definition of `Sys_LowFPPrecision'
releasei386-glibc/glquake/sys_linux.o(.text+0x8a0): first defined here
releasei386-glibc/glquake/sys_dosa.o(.text+0x1f): In function `Sys_HighFPPrecision':
: multiple definition of `Sys_HighFPPrecision'
releasei386-glibc/glquake/sys_linux.o(.text+0x890): first defined here
collect2: ld returned 1 exit status
make[1]: *** [releasei386-glibc/bin/glquake.sdl] Error 1
make[1]: Leaving directory `/var/tmp/portage/anaglyph-stereo-quake-130100-r1/work/WinQuake'
make: *** [build_release] Error 2
 
!!! ERROR: games-fps/anaglyph-stereo-quake-130100-r1 failed.
!!! Function src_compile, Line 44, Exitcode 2
!!! failed to build WinQuake


Sorry for the confusion about the arch... I've upgraded my offer to a 6-pack, plus a matching donation to gentoo.org :P
Comment 3 Kyle B 2004-06-15 12:22:49 UTC
I receive the same error.

Portage 2.0.50-r8 (gcc34-amd64-2004.1, gcc-3.4.0, glibc-2.3.3_pre20040529-r0, 2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 x86_64 12
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.mirrored.ca 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=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 apm arts avi berkdb cdr crypt cups encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg libg++ libwww mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png ppds python quicktime readline sdl slang spell ssl tcpd truetype usb xml2 xv zlib"
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2004-06-16 14:15:17 UTC
Since it's amd64 specific, I'll toss it over there.
Comment 5 Danny van Dyk (RETIRED) gentoo-dev 2004-08-13 05:54:06 UTC
Fix in portage. Binary does start, but i don't have the game data files.

Please reopen this bug if it doesn't work as expected.
Comment 6 P Nienaber 2004-08-28 01:03:44 UTC
please keyword ~amd64 dude ;)  thanks

-'quat
Comment 7 Danny van Dyk (RETIRED) gentoo-dev 2004-08-28 02:44:43 UTC
Argh... patch was in, but no keyword ! I am dumb... FIXED