Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51997 - clanlib-0.6.5-r1 fails with gcc-3.4
Summary: clanlib-0.6.5-r1 fails with gcc-3.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 48528
  Show dependency tree
 
Reported: 2004-05-25 04:27 UTC by Felix Riemann
Modified: 2004-08-15 06:53 UTC (History)
1 user (show)

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


Attachments
gcc34-fix from ROCKLinux for clanlib-0.6.5 (clanlib-0.6.5-gcc34.patch,2.12 KB, patch)
2004-06-09 10:26 UTC, Felix Riemann
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Riemann 2004-05-25 04:27:58 UTC
Emerging clanlib-0.6.5-r1 using gcc-3.4 fails with the following error:


Compiling Sources/Core/System/Generic/console_window.cpp
Compiling Sources/Core/System/Generic/console_window_generic.cpp
Compiling Sources/Core/System/Unix/init_linux.cpp
Compiling Sources/Core/System/Unix/appconf.cpp
In file included from Sources/Core/System/Unix/init_linux.cpp:27:
Sources/Core/System/Unix/appconf.h:621: error: class FileConfig::ConfigGroup redeclared with different access
make: *** [Libs/Intermediate/init_linux.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from Sources/Core/System/Unix/appconf.cpp:81:
Sources/Core/System/Unix/appconf.h:621: error: class FileConfig::ConfigGroup redeclared with different access
make: *** [Libs/Intermediate/appconf.o] Error 1
 
!!! ERROR: dev-games/clanlib-0.6.5-r1 failed.
!!! Function src_compile, Line 61, Exitcode 2
!!! emake failed


It works with gcc-3.3.3

Reproducible: Always
Steps to Reproduce:
1. install gcc-3.4.0(-r4)
2. emerge =dev-games/clanlib-0.6.5-r1


Actual Results:  
emerge failed with the above error

Expected Results:  
compile and install clanlib-0.6.5 with gcc-3.4

Portage 2.0.50-r6 (default-x86-1.4, gcc-3.4.0, glibc-2.3.3_pre20040420-r0,
2.6.6-love4)
=================================================================
System uname: 2.6.6-love4 i686 AMD Athlon(tm) XP
Gentoo Base System version 1.4.15
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-fexpensive-optimizations -fstack-protector -march=athlon-xp
-mtune=athlon-xp -msse -m3dnow -mmmx -ftracer -O4 -fomit-frame-pointer
-finline-functions -falign-jumps=4 -falign-loops=4 -pipe"
CHOST="i686-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
/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="-fexpensive-optimizations -fstack-protector -march=athlon-xp
-mtune=athlon-xp -msse -m3dnow -mmmx -ftracer -O4 -fomit-frame-pointer
-finline-functions -falign-jumps=4 -falign-loops=4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow X aalib acpi alsa apm arts athlon avi berkdb cdr crypt cups dga dvd
encode esd foomaticdb gdbm ggi gif gnome gpm gtk gtk2 guile imlib java joystick
jpeg kde ldap libg++ libwww mad mikmod mmx mng motif mozilla moznocompose
moznoirc moznomail mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pdflib
perl png python qt quicktime readline scanner sdl slang spell sse ssl svga tcltk
tcpd tetex tiff truetype x86 xml xml2 xmms xv zlib"
Comment 1 Felix Riemann 2004-06-09 10:24:48 UTC
I just found a patch done by the ROCKLinux guys. It's inside a huge patch with fixes for other packages as well, so I had to separate them. Clanlib compiles nicely with it and seems to work as usual. 

Comment 2 Felix Riemann 2004-06-09 10:26:44 UTC
Created attachment 32986 [details, diff]
gcc34-fix from ROCKLinux for clanlib-0.6.5

ROCKLinux seems to license it's patches under GPL, so I think it's okay to use
it.
Comment 3 Felix Riemann 2004-06-09 10:29:49 UTC
forgot to add the source:
https://www.rocklinux.net/submaster/smadm.cgi?i=2004051415232407276
Comment 4 SpanKY gentoo-dev 2004-08-15 01:02:53 UTC
added patch to portage, thanks