Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 116113
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jakub Sadowski <JakubSadowski@GMail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
dgen-gcc4.patch dgen-gcc34.patch patch Bret Towe 2005-12-24 11:34 0000 225 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 116113 depends on: Show dependency tree
Bug 116113 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

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


Not eligible to see or edit group visibility for this bug.






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


Description:   Opened: 2005-12-19 18:17 0000
Emerging dgen with gcc >= 3.4 produces the following error:
emerge dgen-sdl
.
*snip*
.
outgoing-args -pipe -I/usr/include/SDL -D_REENTRANT  -Umemcpy -c m68kopnz.c
rm -f libmusa68.a
ar cru libmusa68.a m68kcpu.o m68kops.o m68kopac.o m68kopdm.o m68kopnz.o
ranlib libmusa68.a
make[1]: Leaving directory
`/var/tmp/portage/dgen-sdl-1.23/work/dgen-sdl-1.23/musa'
Making all in star
make[1]: Entering directory
`/var/tmp/portage/dgen-sdl-1.23/work/dgen-sdl-1.23/star'
gcc -o star star.c
star.c: In function `selective_usereg':
star.c:1935: error: label at end of compound statement
make[1]: *** [star] Error 1
make[1]: Leaving directory
`/var/tmp/portage/dgen-sdl-1.23/work/dgen-sdl-1.23/star'
make: *** [all-recursive] Error 1

!!! ERROR: games-emulation/dgen-sdl-1.23 failed.
!!! Function src_compile, Line 29, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.

The "emerge --info" from the test system:
Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.11-ck7 i686)
=================================================================
System uname: 2.6.11-ck7 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.4
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9, 1.8.5-r2, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.4.19-r1, 2.6.8.1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium3 -fforce-addr -mmmx -msse -mfpmath=sse
-momit-leaf-frame-pointer -minline-all-stringops -maccumulate-outgoing-args
-pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/KDE/share/config /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/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/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="-O3 -march=pentium3 -fforce-addr -mmmx -msse -mfpmath=sse
-momit-leaf-frame-pointer -minline-all-stringops -maccumulate-outgoing-args
-pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://cs.ubishops.ca/pub/gentoo
ftp://ibiblio.org/pub/Linux/distributions/gentoo/
http://mirror.clarkson.edu/pub/distributions/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dfx X Xaw3d aac aalib accessibility acl acpi adns aim alsa apache2
apm atlas audiofile avi bcmath berkdb bidi bitmap-fonts bonobo bzip2
bzlibcalendar cdparanoia cdr cpdflib crypt cscope cups curl curlwrappers dga
directfb divx4linux dvb dvd dvdr dvdread eds emboss encode ethereal evo exif
expat fam fastcgi fbcon ffmpeg fftw flac flash foomaticdb fortran ftp gb gd
gdbm ggi gif ginac glut gmp gnome gnutls gphoto2 gpm gps gstreamer gtk gtk2
gtkhtml guile iconv icq idn imagemagick imap imlib innodb ipv6 ithreads
jabberjack java jikes joystick jpeg junit kde kerberos krb4 ladcca lcms ldap
libg++ libgda libwww lirc mad mcal mcve mikmod mime ming mmap mmx mng motif
mozilla mp3 mpeg mpi msn mysql nas ncurses nis nls nocd odbc offensive ogg
oggvorbis openal opengl oscar oss pam pcntl pcre pda pdflib perl pfpro php pie
plotutils png posix postgres ppds prelude python qt quicktime readline recode
ruby samba sasl scanner sdl session shared sharedmem simplexml slang slp snmp
soap sockets speex spell spl sse ssl svg svga sysvipc szip tcltk tcpd tetex
theora tidy tiff truetype truetype-fonts type1-fonts udev unicode usb videos
vorbis wmf wxwindows xface xine xinerama xml xml2 xmlrpc xmms xosd xpm xsl xv
xvid yahoo zeo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS,
PORTDIR_OVERLAY

This bug can always be reproduced.  The package compiles perfectly on an
identical system with the (older) versions of gcc, binutils, and glibc.  I
suspect it has something to do with this gcc bug report: 
http://gcc.gnu.org/ml/gcc-patches/2004-01/msg01212.html

------- Comment #1 From Bret Towe 2005-12-24 11:34:49 0000 -------
Created an attachment (id=75461) [details]
dgen-gcc34.patch

patch that should allow dgen to compile with gcc 3.4

------- Comment #2 From Mr. Bones. 2005-12-24 19:40:56 0000 -------
fixed in CVS.  Thanks for the bug report.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug