public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "mister.freeman at laposte dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/55808] excessive memory usage from gcc 4.7.2 when compiling mame source code
Date: Tue, 01 Jan 2013 16:24:00 -0000	[thread overview]
Message-ID: <bug-55808-4-c59d6xVAPe@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-55808-4@http.gcc.gnu.org/bugzilla/>


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55808

--- Comment #6 from Patrick <mister.freeman at laposte dot net> 2013-01-01 16:24:05 UTC ---
Created attachment 29071
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29071
the preprocessed source when gcc fails to compile mame

here is the preprocessed source when gcc 4.7.2 fails to compile mame,

output :

gcc: erreur interne du compilateur: Processus arrêté (program cc1plus)
Veuillez soumettre un rapport complet d'anomalies,
avec le source pré-traité si nécessaire.
Consultez <https://bugs.archlinux.org/> pour plus de détail.
make: *** [obj/sdl/emu/cpu/tms57002/tms57002.o] Erreur 4

CFLAGS :
-save-temps -pipe -O3 -Werror -fno-strict-aliasing -Wall -Wcast-align -Wundef
-Wformat-security -Wwrite-strings -Wno-sign-compare -Wno-conversion
-Wno-narrowing -Wno-attributes -D_GNU_SOURCE=1 -D_REENTRANT -pthread -pthread
-Isrc/mame -Iobj/sdl/mame/layout -Isrc/emu -Iobj/sdl/emu -Iobj/sdl/emu/layout
-Isrc/lib/util -Isrc/lib -Isrc/osd -Isrc/osd/sdl -Isrc/lib/expat -Isrc/lib/zlib
-Isrc/lib/util -Isrc/lib/libjpeg -Isrc/debug -include src/osd/sdl/sdlprefix.h
-I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15
-I/usr/include/harfbuzz -I/usr/include/gconf/2 -I/usr/include/dbus-1.0
-I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/X11/include -I/usr/X11R6/include -I/usr/openwin/include -x c++
-std=gnu++98 -Woverloaded-virtual

the problem seems to be related to low memory ( 1 Gb ram, 512 Mb swap )


      parent reply	other threads:[~2013-01-01 16:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-26  1:36 [Bug c/55808] New: " mister.freeman at laposte dot net
2012-12-31 10:28 ` [Bug c/55808] " pinskia at gcc dot gnu.org
2012-12-31 10:31 ` [Bug middle-end/55808] " pinskia at gcc dot gnu.org
2012-12-31 15:06 ` mister.freeman at laposte dot net
2012-12-31 21:11 ` pinskia at gcc dot gnu.org
2013-01-01  4:41 ` mister.freeman at laposte dot net
2013-01-01 16:24 ` mister.freeman at laposte dot net [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-55808-4-c59d6xVAPe@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).