Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31083 - gaming-sources-2.4.20-r5 does not compile with gcc-3.3.1-r4 [ assigned -> plasmaroo ]
Summary: gaming-sources-2.4.20-r5 does not compile with gcc-3.3.1-r4 [ assigned -> pla...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
: 30816 32205 32212 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-10-13 19:25 UTC by John E. Vincent
Modified: 2003-10-28 13:02 UTC (History)
3 users (show)

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


Attachments
Fixes to aic7xxx_osm.c (aic7xxx_osm.c,83.78 KB, text/plain)
2003-10-13 19:28 UTC, John E. Vincent
Details
Fixes to ide-cd.h (ide-cd.h,25.28 KB, text/plain)
2003-10-13 19:29 UTC, John E. Vincent
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John E. Vincent 2003-10-13 19:25:55 UTC
Various parts of the gaming kernel do not compile with the newest gcc build
thanks to the stricter inline requirements.

Reproducible: Always
Steps to Reproduce:
1. emerge gaming-sources; emerge gcc
2. make dep; make clean; make bzImage; make modules
3. bzImage and modules fail on various files

Actual Results:  
kernel compile failed

Expected Results:  
kernel should have compiled

***** This is my normal make.conf setting. During trial and error I tried only
the march and O2 CFLAGS. *****

jvincent@john aic7xxx $ emerge info
Portage 2.0.49-r10 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.20-gaming-r5)
=================================================================
System uname: 2.4.20-gaming-r5 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.3.10p1
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr
-falign-functions=4 -fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr
-falign-functions=4 -fprefetch-loop-arrays"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox distcc buildpkg cvs"
GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com http://www.ibiblio.org/gentoo
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage/"
USE="x86 oss apm avi crypt encode foomaticdb gif jpeg libg++ mad mpeg ncurses
png quicktime spell xml2 xmms xv zlib directfb gtkhtml gdbm berkdb slang
readline arts bonobo tcltk guile tcpd libwww ssl perl python esd imlib oggvorbis
qt opengl scanner moznoirc moznomail moznocomposer truetype ldap imap curl
apache2 gd cups X mmx -gtk cdr gtk2 sse java sdl kde mozilla prelink objprelink
-pam -pdflib -mikmod -gnome -svga -motif -doc -pda -aalib -mysql -tetex -gpm
-acl -alsa -nls"
Comment 1 John E. Vincent 2003-10-13 19:28:39 UTC
Created attachment 19207 [details]
Fixes to aic7xxx_osm.c

I forgot to create a backup. IF a kind maintainer could diff this one and
make
a real patch I would appreciate it.

The changes are near the MODULE macro.
Comment 2 John E. Vincent 2003-10-13 19:29:33 UTC
Created attachment 19208 [details]
Fixes to ide-cd.h

I forgot to backup the original. Could some kind developer diff this with
the
original?
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2003-10-14 08:18:02 UTC
*** Bug 30816 has been marked as a duplicate of this bug. ***
Comment 4 Leo 2003-10-14 11:32:53 UTC
There are also a few other files that have problems with them, not just the
ones attached to this. (i.e. super.c file under reiserfs)
Comment 5 Marc Doughty 2003-10-15 07:16:48 UTC
more recent vanilla-kernels play nice with gcc, i'd expect the gaming-sources
to start playing nice after they're based off of 2.4.22 instead of 2.4.20.
Comment 6 Matthew Kennedy (RETIRED) gentoo-dev 2003-10-22 13:44:01 UTC
more discussion at
http://forums.gentoo.org/viewtopic.php?p=537839&highlight=idecd+440#537839
Comment 7 Chris Millard 2003-10-22 13:55:00 UTC
I encountered the same problem.

gaming-sources: 2.4.20-r5
gcc: 3.3.1-r5

/usr/src/linux-2.4.20-gaming-r5/fs/reiserfs/super.c:
line 944-945: multi-line string literal.

/usr/src/linux-2.4.20-gentoo-r6/drivers/ide/ide-cd.h:
line 440: __u8 short slot_tablelen; should be __u16 slot_tablelen;
ref:
http://forums.gentoo.org/viewtopic.php?p=537839&highlight=idecd+440#537839

Cheers
Comment 8 Tim Yamin (RETIRED) gentoo-dev 2003-10-28 12:05:59 UTC
*** Bug 32205 has been marked as a duplicate of this bug. ***
Comment 9 Tim Yamin (RETIRED) gentoo-dev 2003-10-28 12:06:54 UTC
*** Bug 32212 has been marked as a duplicate of this bug. ***
Comment 10 Tim Yamin (RETIRED) gentoo-dev 2003-10-28 13:02:53 UTC
gaming-sources-r6 with GCC 3.3 patches is now in CVS.