First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 127507
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Avuton Olrich <avuton@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
ultimatestunts-0.6.1-gcc41.patch ultimatestunts-0.6.1-gcc41.patch patch Tristan Heaven 2006-04-22 03:08 0000 256 bytes Details | Diff
ultimatestunts-0.6.1-gcc41.patch gcc-4.1 patch patch Mark Loeser 2006-04-26 20:37 0000 858 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 127507 depends on: Show dependency tree
Show dependency graph
Bug 127507 blocks: 117482
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-03-25 00:23 0000
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 From Tristan Heaven 2006-04-22 03:08:41 0000 -------
Created an attachment (id=85172) [edit]
ultimatestunts-0.6.1-gcc41.patch

I only needed this. x86

------- Comment #2 From Chris Gianelloni (RETIRED) 2006-04-22 08:02:04 0000 -------
GCC: how does the patch look?  If it's good, feel free to apply it.

------- Comment #3 From Avuton Olrich 2006-04-25 16:39:23 0000 -------
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 From Mark Loeser 2006-04-26 20:37:19 0000 -------
Created an attachment (id=85583) [edit]
gcc-4.1 patch

This *should* fix it for x86 and amd64.  Please test and let me know.

------- Comment #5 From Avuton Olrich 2006-04-27 00:27:58 0000 -------
That patch fixes the problems! thanks

------- Comment #6 From Chris Gianelloni (RETIRED) 2006-04-27 10:49:05 0000 -------
Thanks for the patch... applied in CVS

First Last Prev Next    No search results available      Search page      Enter new bug