Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70551 - Visualboyadvance OOMs with gcc-3.4.2
Summary: Visualboyadvance OOMs with gcc-3.4.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-09 02:06 UTC by Dion Sole
Modified: 2011-09-14 20:39 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dion Sole 2004-11-09 02:06:34 UTC
When i try to emerge visualboyadvance-1.7.2-r1, it OOMs during the compilation. I read the other bug that was similar to this, and tried changing my CXXFLAGS from "-O2 -march=athlon-xp -pipe -ftracer -fomit-frame-pointer" to just "-O2 -march=athlon-xp", but the OOM still occured. So i then changed them to just "-O0", and it still occured. 
I then changed from gcc-3.4.2 back to my gcc-3.3.4 profile, and tried again with the same sets of CXXFLAGS. Still no luck.
I tried all these with MAKEOPTS="-j1".
Same thing with USE="-mmx -gtk"
It always dies when trying to compile GBA.cpp

Reproducible: Always
Steps to Reproduce:
1. emerge visualboyadvance
2.
3.

Actual Results:  
OOMed when attempting to compile GBA.cpp

Expected Results:  
compiled cleanly


This is the last message before the OOM and error:

if i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DYYTEXT_POINTER=1
-DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1
-DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1  -I. -I.  -I../../src -DSDL
-DSYSCONFDIR=\"/etc/games\"  -fno-exceptions -I/usr/include/SDL -D_REENTRANT -O2
-march=athlon-xp -pipe -ftracer -fomit-frame-pointer -DC_CORE -DPROFILING
-DDEV_VERSION -MT GBA.o -MD -MP -MF ".deps/GBA.Tpo" \
  -c -o GBA.o `test -f '../GBA.cpp' || echo './'`../GBA.cpp; \
then mv -f ".deps/GBA.Tpo" ".deps/GBA.Po"; \
else rm -f ".deps/GBA.Tpo"; exit 1; \
fi
i686-pc-linux-gnu-g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
{standard input}: Assembler messages:
{standard input}:8280: Warning: end of file not at end of a line; newline inserted
{standard input}:8543: Error: unknown pseudo-op: `.'
make[2]: *** [GBA.o] Error 1
make[2]: Leaving directory
`/var/tmp/portage/visualboyadvance-1.7.2-r1/work/VisualBoyAdvance-1.7.2/src/sdl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/visualboyadvance-1.7.2-r1/work/VisualBoyAdvance-1.7.2/src'
make: *** [all-recursive] Error 1



Output of `emerge info`:

Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.4.2, glibc-2.3.4.20041021-r0,
2.6.9-gentoo-r3 i686)
=================================================================
System uname: 2.6.9-gentoo-r3 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.6.5
distcc 2.18 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r6
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe -ftracer -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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="-O2 -march=athlon-xp -pipe -ftracer -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="candy ccache distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://linux.jetstreamgames.co.nz/gentoo
ftp://mirror.pacific.net.au/linux/Gentoo                
http://gentoo.ccccom.com ftp://gentoo.ccccom.com"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d aalib acl acpi aim alsa apache2 audiofile avi bcmath bidi
bitmap-fonts bmp bzlib caps cdr cjk crypt cups curl curlwrappers dedicated dga
dio directfb divx4linux doc dvd emacs encode exif f77 fam fbcon fftw flac
foomaticdb fortran freewnn ftp ggi gif ginac gmp gnutls gpm gstreamer gtk gtk2
gtkhtml guile iconv icq imagemagick imap imlib jabber jack java jikes jpeg
kerberos krb4 lcms ldap leim lesstif libwww mad mailwrapper mbox mcal memlimit
mikmod milter mime mmap mmx mng motif mpeg msn mule ncurses nls nocd nptl
offensive oggvorbis openal opengl oscar oss pam pcntl pcre pdflib perl pic png
posix ppds python quicktime readline recode ruby samba sasl sdl shared sharedmem
slp sndfile snmp sockets socks5 spell sse ssl svg svga sysvipc tcltk tcpd theora
tiff truetype unicode usb videos wmf wxwindows x86 xine xml2 xmlrpc xosd xpm xsl
xv xvid yahoo zlib"
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-11-19 23:35:27 UTC
does  visualboyadvance-1.7.2 build for you?  Also, what's the ouput of the command "free"?
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2004-11-20 00:26:17 UTC
please reopen this bug with this information.  Thanks.
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2004-12-27 19:45:51 UTC
no reply.  closing.
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2011-09-14 20:39:57 UTC
clean up bug list after bugzilla update