Bug 523172 - gcc is a memory hog
Summary: gcc is a memory hog
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: rawhide
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-09-14 11:17 UTC by Andreas Schwab
Modified: 2009-10-19 10:23 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-10-19 10:23:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNU Compiler Collection 41343 0 None None None Never

Description Andreas Schwab 2009-09-14 11:17:39 UTC
While building glibc cc1 grows to more then 3Gb, sucking up all available memory.  This happens while compiling sysdeps/ieee754/dbl-64/dosincos.c.

Comment 1 Jakub Jelinek 2009-09-14 11:36:50 UTC
Yes, this has been already reported (and it is many times more than 3GB).
As a temporary workaround, build this file with -fno-var-tracking-assignments,
I hope when Alex will return from this week's travelling he'll work on it.

Comment 2 Jakub Jelinek 2009-10-19 10:23:05 UTC
Should be fixed in gcc-4.4.2-4.fc12 (though, this is not tagged into dist-f12 yet).


Note You need to log in before you can comment on or make changes to this bug.