Bug 485708

Summary: gcc4.4 goes wild while compiling allegro
Product: [Fedora] Fedora Reporter: Jindrich Novy <jnovy>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: jakub, pknirsch
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-02-16 17:27:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Preprocessed file causing gcc4.4 to waste all available system memory none

Description Jindrich Novy 2009-02-16 14:45:53 UTC
Created attachment 332043 [details]
Preprocessed file causing gcc4.4 to waste all available system memory

Description of problem:
gcc -DALLEGRO_MODULES_PATH=\"/usr/lib/allegro\" -DHAVE_CONFIG_H -I. -Iinclude -Iinclude/allegro -I./include -I./include/allegro  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -pthread -I/usr/include/kde/artsc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -DALLEGRO_LIB_BUILD  -mtune=generic -O2 -funroll-loops -ffast-math  -Wall -Wno-unused  -c docs/src/makedoc/makehtml.c -o obj/unix/makehtml.o

cc1: out of memory allocating 248 bytes after a total of 2909421568 bytes

Version-Release number of selected component (if applicable):
gcc-4.4.0-0.18.i386

How reproducible:
Always

Steps to Reproduce:
1. make i386 in allegro CVS/devel tree
2.
3.
  
Actual results:
fails

Expected results:
gcc compiles makehtml.c

Additional info:
Attaching makehelp.i generated via -save-temps.

Failed build in koji:
http://koji.fedoraproject.org/koji/taskinfo?taskID=1130313

It seems that the build passes on ppc64 so it is likely x86-32 or 32bit specific.

Comment 1 Jakub Jelinek 2009-02-16 17:27:34 UTC
Tracking this upstream.

Comment 2 Jindrich Novy 2009-02-16 17:54:21 UTC
Just out of curiosity, could you please point me to the upstream bug?

Comment 3 Jakub Jelinek 2009-02-16 18:03:02 UTC
See "External Bugs" section, particularly the
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39204
link.