First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 99756
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Triffid Hunter <triffid_hunter@funkmunch.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 99756 depends on: Show dependency tree
Bug 99756 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-07-20 22:43 0000
g++ -march=athlon-xp -O3 -pipe -fomit-frame-pointer -ftracer -maccumulate-
outgoing-args -funroll-loops -fprefetch-loop-arrays -DLINUX -Dengine=1 -I. -
Iinclude -Iwin95 -Iavp -Iavp/win95 -Iavp/support -Iavp/win95/frontend -Iavp/
win95/gadgets -I/usr/include/SDL -D_REENTRANT   -c -o avp/win95/gadgets/
trepgadg.o avp/win95/gadgets/trepgadg.cpp
g++ -march=athlon-xp -O3 -pipe -fomit-frame-pointer -ftracer -maccumulate-
outgoing-args -funroll-loops -fprefetch-loop-arrays -DLINUX -Dengine=1 -I. -
Iinclude -Iwin95 -Iavp -Iavp/win95 -Iavp/support -Iavp/win95/frontend -Iavp/
win95/gadgets -I/usr/include/SDL -D_REENTRANT   -c -o win95/animchnk.o win95/
animchnk.cpp
g++ -march=athlon-xp -O3 -pipe -fomit-frame-pointer -ftracer -maccumulate-
outgoing-args -funroll-loops -fprefetch-loop-arrays -DLINUX -Dengine=1 -I. -
Iinclude -Iwin95 -Iavp -Iavp/win95 -Iavp/support -Iavp/win95/frontend -Iavp/
win95/gadgets -I/usr/include/SDL -D_REENTRANT   -c -o win95/animobs.o win95/
animobs.cpp
g++ -march=athlon-xp -O3 -pipe -fomit-frame-pointer -ftracer -maccumulate-
outgoing-args -funroll-loops -fprefetch-loop-arrays -DLINUX -Dengine=1 -I. -
Iinclude -Iwin95 -Iavp -Iavp/win95 -Iavp/support -Iavp/win95/frontend -Iavp/
win95/gadgets -I/usr/include/SDL -D_REENTRANT   -c -o win95/awtexld.o win95/
awtexld.cpp
In file included from win95/awtexld.cpp:10:
win95/hash_tem.hpp: In member function `void _base_HashTable<TYPE, ARG_TYPE, 
CMP_ARG_TYPE>::Iterator::Remove()':
win95/hash_tem.hpp:435: error: `nEntriesRemaining' undeclared (first use this 
function)
win95/hash_tem.hpp:435: error: (Each undeclared identifier is reported only once 
for each function it appears in.)
win95/hash_tem.hpp:439: error: `nodePP' undeclared (first use this function)
win95/hash_tem.hpp:446: error: `chainPP' undeclared (first use this function)
win95/hash_tem.hpp:447: error: `nChainsRemaining' undeclared (first use this 
function)
win95/hash_tem.hpp: In copy constructor `_base_HashTable<TYPE, ARG_TYPE, 
CMP_ARG_TYPE>::_base_HashTable(const _base_HashTable<TYPE, ARG_TYPE, 
CMP_ARG_TYPE>&)':
win95/hash_tem.hpp:705: error: expected `;' before "it"
win95/hash_tem.hpp:705: error: `it' undeclared (first use this function)


Reproducible: Always
Steps to Reproduce:
1. emerge -avt avp-cvs

Actual Results:  
compile failed

Expected Results:  
compile succeeded

# emerge info
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.
12-gentoo-r3-lucienne i686)
=================================================================
System uname: 2.6.12-gentoo-r3-lucienne i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[enabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.11
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
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -ftracer -maccumulate-
outgoing-args -funroll-loops -fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/
share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /
usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -ftracer -maccumulate-
outgoing-args -funroll-loops -fprefetch-loop-arrays"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.isp.net.au/pub/gentoo/ http://mirror.aarnet.edu.
au/pub/gentoo/ http://mirror.pacific.net.au/linux/Gentoo"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex 3dnowext S3TC X X509 Xaw3d a52 aac acpi alsa apm arts 
athena audiofile avi bash-completion berkdb bitmap-fonts browserplugin bzip2 
bzlib caps cdda cddb cdio cdparanoia cdr cdrom crypt cscope css cups curl dba 
dga directfb divx4linux dnd dts dv dvb dvd dvdr dvdread emboss encode erandom 
exif expat extensions faad fam fame ffmpeg flac foomaticdb fping ftp gd gd-
external gdbm ggi gif gimp gimpprint glut gnutls gphoto2 gpm graphviz gstreamer 
gtk gtk2 guile hpn ieee1394 imagemagick imlib inifile ipv6 jack jack-tmpfs java 
jbig jce jpeg jpeg2k kde kdeenablefinal kdexdeltas kqemu ladcca libg++ libwww 
lirc live lm_sensors logitech-mouse lzo mad mailwrapper mapeditor md5sum mikmod 
mime mjpeg mmap mmx mmxext mng motif mozdevelop mozsvg mozxmlterm mp3 mpeg mysql 
mythtv ncurses network nls nodrm nptl nsplugin nvidia offensive ogg oggvorbis 
openexr opengl pam pam_chroot pam_console pam_timestamp pcre pdflib perl 
perlsuid php png posix povray ppds python qt quicktime rar rdesktop readline 
real rtc ruby samba scanner screen sdk sdl session sharedext sharedmem silc slp 
sockets socks5 speex sql sse ssl stream subtitles subversion svg sysfs tcltk 
tcpd tetex theora threads tiff timidity tokenizer toolbar truetype truetype-
fonts type1-fonts ucs2 unicode urandom usb utf8 v4l v4l2 vcd vhosts vim-with-x 
vlm vorbis wifi win32codecs winbind wmf wozxmlterm xanim xine xml xml2 xmlrpc 
xmms xosd xprint xrandr xsl xv xvid xvmc yv12 zeroconf zlib zvbi userland_GNU 
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

------- Comment #1 From Mr. Bones. 2005-07-21 10:17:24 0000 -------
try it with CFLAGS and CXXFLAGS set to just "-pipe"

------- Comment #2 From Triffid Hunter 2005-07-21 10:32:30 0000 -------
still the same error.

emerge info says:
CFLAGS="-march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="-march=athlon-xp -pipe"


i had a look in the file, seems to be an inheritance problem.. a friend class 
accessing its parent classes' private variables.. i don't know c well enough to 
know if that's allowed or not. compiler bug?

------- Comment #3 From Mr. Bones. 2005-07-21 10:44:24 0000 -------
could be.  builds fine here with gcc-3.3.5.20050130-r1

------- Comment #4 From Triffid Hunter 2005-07-21 23:40:04 0000 -------
compiles successfully with gcc-3.3.4 here too...

should we reassign this to the gcc team?

------- Comment #5 From Mark Loeser 2005-12-27 17:17:01 0000 -------
Spanky should have the fixes for gcc-3.4.4 and gcc-4, so the games team should
be able to handle this now.

------- Comment #6 From Tupone Alfredo 2006-03-09 14:58:11 0000 -------
Fixed in CVS. Thanks for report

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