public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug bootstrap/30495] New: can't compile on AIX @ 2007-01-18 9:54 mircea_lutic at yahoo dot com 2007-01-18 10:18 ` [Bug bootstrap/30495] " pinskia at gcc dot gnu dot org ` (3 more replies) 0 siblings, 4 replies; 5+ messages in thread From: mircea_lutic at yahoo dot com @ 2007-01-18 9:54 UTC (permalink / raw) To: gcc-bugs with both 4.1.0 and 4.1.1. at cc -g -DIN_GCC -DHAVE_CONFIG_H -DGENERATOR_FILE -o build/genattrtab \ build/genattrtab.o build/genautomata.o \ build/rtl.o build/read-rtl.o build/ggc-none.o build/min-insn-modes.o build/gensupport.o build/insn-conditions.o build/print-rtl.o build/errors.o \ build/varray.o ../build-powerpc-ibm-aix5.3.0.0/libiberty/libiberty.a -lm build/genattrtab ../../gcc/config/rs6000/rs6000.md > tmp-attrtab.c I get : out of memory allocating 4072 bytes after a total of 416165366 -- Summary: can't compile on AIX Product: gcc Version: 4.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mircea_lutic at yahoo dot com GCC build triplet: powerpc-ibm-aix5.3.0.0 GCC host triplet: powerpc-ibm-aix5.3.0.0 GCC target triplet: powerpc-ibm-aix5.3.0.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30495 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug bootstrap/30495] can't compile on AIX 2007-01-18 9:54 [Bug bootstrap/30495] New: can't compile on AIX mircea_lutic at yahoo dot com @ 2007-01-18 10:18 ` pinskia at gcc dot gnu dot org 2007-01-18 15:54 ` mircea_lutic at yahoo dot com ` (2 subsequent siblings) 3 siblings, 0 replies; 5+ messages in thread From: pinskia at gcc dot gnu dot org @ 2007-01-18 10:18 UTC (permalink / raw) To: gcc-bugs [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 663 bytes --] ------- Comment #1 from pinskia at gcc dot gnu dot org 2007-01-18 10:18 ------- >From http://gcc.gnu.org/install/specific.html: out of memory bootstrap failures may indicate a problem with process resource limits (ulimit). Hard limits are configured in the /etc/security/limits system configuration file. Did you read that page and does changing the limits help? -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30495 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug bootstrap/30495] can't compile on AIX 2007-01-18 9:54 [Bug bootstrap/30495] New: can't compile on AIX mircea_lutic at yahoo dot com 2007-01-18 10:18 ` [Bug bootstrap/30495] " pinskia at gcc dot gnu dot org @ 2007-01-18 15:54 ` mircea_lutic at yahoo dot com 2007-01-18 17:44 ` pinskia at gcc dot gnu dot org 2007-02-24 4:42 ` dje at gcc dot gnu dot org 3 siblings, 0 replies; 5+ messages in thread From: mircea_lutic at yahoo dot com @ 2007-01-18 15:54 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from mircea_lutic at yahoo dot com 2007-01-18 15:54 ------- out of memory allocating 16 bytes after a total of 4161654796 bytes /etc/security/limits: default: fsize = 2097151 core = 2097151 cpu = -1 data = 262144 rss = 65536 stack = 65536 nofiles = 2000 I had someone add memory to the machine and still : build/genattrtab ../../gcc/config/rs6000/rs6000.md > tmp-attrtab.c out of memory allocating 16 bytes after a total of 4161654796 bytes On a closer look that's 4161654796 =F80D-D00Ch I mean genattrtab is trying to allocate 4 gigs of mem I think this is a bit too much for anything a compiler might want to do. I suspect it's allocating storage in a loop Fortunately I found the gcc binaries for my machine (as a matter of fact I used gcc 4.1.1 to compile itself). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30495 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug bootstrap/30495] can't compile on AIX 2007-01-18 9:54 [Bug bootstrap/30495] New: can't compile on AIX mircea_lutic at yahoo dot com 2007-01-18 10:18 ` [Bug bootstrap/30495] " pinskia at gcc dot gnu dot org 2007-01-18 15:54 ` mircea_lutic at yahoo dot com @ 2007-01-18 17:44 ` pinskia at gcc dot gnu dot org 2007-02-24 4:42 ` dje at gcc dot gnu dot org 3 siblings, 0 replies; 5+ messages in thread From: pinskia at gcc dot gnu dot org @ 2007-01-18 17:44 UTC (permalink / raw) To: gcc-bugs ------- Comment #3 from pinskia at gcc dot gnu dot org 2007-01-18 17:44 ------- > I mean genattrtab is trying to allocate 4 gigs of mem No, that is how much it allocated overall, not how much is actually still in use. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30495 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug bootstrap/30495] can't compile on AIX 2007-01-18 9:54 [Bug bootstrap/30495] New: can't compile on AIX mircea_lutic at yahoo dot com ` (2 preceding siblings ...) 2007-01-18 17:44 ` pinskia at gcc dot gnu dot org @ 2007-02-24 4:42 ` dje at gcc dot gnu dot org 3 siblings, 0 replies; 5+ messages in thread From: dje at gcc dot gnu dot org @ 2007-02-24 4:42 UTC (permalink / raw) To: gcc-bugs ------- Comment #4 from dje at gcc dot gnu dot org 2007-02-24 04:42 ------- The 4G is the cumulative allocation, not the total amount of memory currently in use. The problem has nothing to do with physical memory installed in the system. The process data and stack resource limits need to be larger to compile GCC. -- dje at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30495 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-02-24 4:42 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2007-01-18 9:54 [Bug bootstrap/30495] New: can't compile on AIX mircea_lutic at yahoo dot com 2007-01-18 10:18 ` [Bug bootstrap/30495] " pinskia at gcc dot gnu dot org 2007-01-18 15:54 ` mircea_lutic at yahoo dot com 2007-01-18 17:44 ` pinskia at gcc dot gnu dot org 2007-02-24 4:42 ` dje at gcc dot gnu dot org
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).