Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127507 - games-sports/ultimatestunts-0.6.1 compile fails with sys-devel/gcc-4.1.0
Summary: games-sports/ultimatestunts-0.6.1 compile fails with sys-devel/gcc-4.1.0
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: 117482
  Show dependency tree
 
Reported: 2006-03-25 00:23 UTC by Avuton Olrich
Modified: 2006-04-27 10:49 UTC (History)
3 users (show)

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


Attachments
ultimatestunts-0.6.1-gcc41.patch (ultimatestunts-0.6.1-gcc41.patch,256 bytes, patch)
2006-04-22 03:08 UTC, Tristan Heaven (RETIRED)
Details | Diff
gcc-4.1 patch (ultimatestunts-0.6.1-gcc41.patch,858 bytes, patch)
2006-04-26 20:37 UTC, Mark Loeser (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Avuton Olrich 2006-03-25 00:23:55 UTC
emerge suceeds with gcc-3.4.5, fails with gcc-4.1.0:

compilation error:
x86_64-pc-linux-gnu-gcc -c -DLOCALEDIR=\"/usr/share/games/locale\" -DLOCALE_ALIAS_PATH=\"/usr/share/games/locale\" -DLIBDIR=\"/usr/games/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl  -Wall -pipe -O2 -march=k8  -I/usr/include/SDL -D_REENTRANT  explodename.c
l10nflist.c:61: error: static declaration of 'stpcpy' follows non-static declaration
make[2]: *** [l10nflist.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/ultimatestunts-0.6.1/work/ultimatestunts-srcdata-0611/intl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/ultimatestunts-0.6.1/work/ultimatestunts-srcdata-0611'
make: *** [all] Error 2


emerge --info:
Portage 2.1_pre6-r7 (!/usr/portage/profiles/default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.4-r1, 2.6.16-mm1 x86_64)
=================================================================
System uname: 2.6.16-mm1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Gentoo Base System version 1.12.0_pre16
distcc[6940] (dcc_mkdir) ERROR: mkdir /var/tmp/portage/.distcc//state failed: No such file or directory [disabled]
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="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=k8"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /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/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-pipe -O2 -march=k8"
DISTDIR="/usr/distfiles"
FEATURES="autoconfig collision-protect digest distlocks metadata-transfer nostrip sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/mnt/shapeshifter/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 64bit 7zip X a52 aac acpi aim alsa ao audiofile avi bash-completion berkdb bitmap-fonts bzip2 c++ cairo calendar cddb cdparanoia cli clock-screen crypt css ctype cups dba dbus debug dri dvd dvdr eds encode expat ext-png ext-zlib fam fastbuild ffmpeg firefox flac foomaticdb force-cgi-redirect fortran ftp gcj gd gdb gif glut glx gmail gpm grammar gstreamer gtalk gzip hal id3 image imlib imlib2 input_devices_keyboard input_devices_mouse java javascript jikes joystick jpeg jpeg2k kde key-screen lame libsamplerate linuxkeys linuxthreads-tls live lzw lzw-tiff memlimit mmap mouse mozilla mozsvg mp3 mpeg mpeg2 mplayer ncurses net nfs nntp no-old-linux nptl nptlonly nvidia objc offensive ogg opengl openssh oscar pam pcre pdf pdflib perl png posix python qt quicktime rar readline real reiser4 reiserfs rss rtc scp screen sdl search-screen session simplexml smp soap sockets speedo speex spell spl ssl svg svgz symlink sysfs syslog szip t1lib theora threads tiff tokenizer truetype truetype-fonts type1 type1-fonts udev unicode usb utf8 video_cards_nv video_cards_nvidia vim vim-with-x web wma wma123 wmf wordperfect xinerama xml xpm xrandr xscreensaver xsl xv xvmc zip zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Tristan Heaven (RETIRED) gentoo-dev 2006-04-22 03:08:41 UTC
Created attachment 85172 [details, diff]
ultimatestunts-0.6.1-gcc41.patch

I only needed this. x86
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2006-04-22 08:02:04 UTC
GCC: how does the patch look?  If it's good, feel free to apply it.
Comment 3 Avuton Olrich 2006-04-25 16:39:23 UTC
Still doesn't compile clean;

l10nflist.c:61: error: static declaration of 'stpcpy' follows non-static declaration
make[2]: *** [l10nflist.o] Error 1
make[2]: *** Waiting for unfinished jobs....
dcigettext.c:135: error: static declaration of 'stpcpy' follows non-static declaration
dcigettext.c:138: error: static declaration of 'mempcpy' follows non-static declaration
Comment 4 Mark Loeser (RETIRED) gentoo-dev 2006-04-26 20:37:19 UTC
Created attachment 85583 [details, diff]
gcc-4.1 patch

This *should* fix it for x86 and amd64.  Please test and let me know.
Comment 5 Avuton Olrich 2006-04-27 00:27:58 UTC
That patch fixes the problems! thanks
Comment 6 Chris Gianelloni (RETIRED) gentoo-dev 2006-04-27 10:49:05 UTC
Thanks for the patch... applied in CVS