This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
hppa2.0n-hp-hpux11.00 resource exhaustion bootstrap failure
- From: rdbrown at mira dot net
- To: gcc-bugs at gcc dot gnu dot org
- Cc: dave dot anglin at nrc dot ca
- Date: Wed, 10 Sep 2003 09:07:04 +1000
- Subject: hppa2.0n-hp-hpux11.00 resource exhaustion bootstrap failure
Is this something for which I should raise a PR or is it just that my
machine is underconfigured? (data seg size is default I think).
bash-2.05b$ ulimit -a
ulimit -a
core file size (blocks, -c) 2097151
data seg size (kbytes, -d) 65536
file size (blocks, -f) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 60
pipe size (512 bytes, -p) 16
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 76
virtual memory (kbytes, -v) unlimited
stage1/xgcc -Bstage1/ -B/usr/local/hppa2.0n-hp-hpux11.00/bin/ \
-v -save-temps -c -g -O2 -DIN_GCC \
-W -Wall -Wwrite-strings -Wstrict-prototypes \
-Wmissing-prototypes -pedantic -Wno-long-long -Werror \
-fno-common -DHAVE_CONFIG_H -I. -I. -I../../gcc-3.4-20030903/gcc \
-I../../gcc-3.4-20030903/gcc/. -I../../gcc-3.4-20030903/gcc/../include \
../../gcc-3.4-20030903/gcc/fold-const.c -o fold-const.o
Reading specs from stage1/specs
Configured with: '../gcc-3.4-20030903/configure' '--with-gnu-as '--with-as=/usr/local/bin/as../gcc/configure '--with-gnu-as '--with-as=/usr/local/bin/as../gcc/configure '--with-gnu-as '--with-as=/usr/local/bin/as
Thread model: single
gcc version 3.4 20030903 (experimental)
stage1/cc1 -E -quiet -v -I. -I. -I../../gcc-3.4-20030903/gcc -I../../gcc-3.4-20030903/gcc/. -I../../gcc-3.4-20030903/gcc/../include -iprefix /home/rdb/gcc-3.4-20030903.obj/gcc/stage1/../lib/gcc/hppa2.0n-hp-hpux11.00/3.4/ -isystem include -isystem stage1/include -isystem /usr/local/hppa2.0n-hp-hpux11.00/bin/include -DIN_GCC -DHAVE_CONFIG_H ../../gcc-3.4-20030903/gcc/fold-const.c -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Werror -fno-common -g -O2 -o fold-const.i
ignoring nonexistent directory "stage1/include"
ignoring nonexistent directory "/usr/local/hppa2.0n-hp-hpux11.00/bin/include"
ignoring nonexistent directory "/home/rdb/gcc-3.4-20030903.obj/gcc/stage1/../lib/gcc/hppa2.0n-hp-hpux11.00/3.4/include"
ignoring nonexistent directory "/home/rdb/gcc-3.4-20030903.obj/gcc/stage1/../lib/gcc/hppa2.0n-hp-hpux11.00/3.4/../../../../hppa2.0n-hp-hpux11.00/include"
ignoring nonexistent directory "NONE/include"
ignoring nonexistent directory "/usr/local/lib/gcc/hppa2.0n-hp-hpux11.00/3.4/include"
ignoring nonexistent directory "/usr/local/hppa2.0n-hp-hpux11.00/include"
ignoring duplicate directory "."
ignoring duplicate directory "../../gcc-3.4-20030903/gcc/."
#include "..." search starts here:
#include <...> search starts here:
.
../../gcc-3.4-20030903/gcc
../../gcc-3.4-20030903/gcc/../include
include
/usr/local/include
/usr/include
End of search list.
stage1/cc1 -fpreprocessed fold-const.i -quiet -dumpbase fold-const.c -auxbase-strip fold-const.o -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Werror -version -fno-common -o fold-const.s
GNU C version 3.4 20030903 (experimental) (hppa2.0n-hp-hpux11.00)
compiled by GNU C version 3.2.
GGC heuristics: --param ggc-min-expand=34 --param ggc-min-heapsize=8192
cc1: out of memory allocating 6375264 bytes after a total of 60397844 bytes
bash-2.05b$ gdb stage1/cc1
gdb stage1/cc1
GNU gdb 20021220
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "hppa2.0n-hp-hpux11.00"...
Breakpoint 1 at 0x16721c: file ../../gcc-3.4-20030903/gcc/diagnostic.c, line 666.
Breakpoint 2 at 0x590578: file ../../gcc-3.4-20030903/libiberty/obstack.c, line 450.
Breakpoint 3 at 0x5837cc: file ../../gcc-3.4-20030903/gcc/sreal.c, line 393.
otypesc-pedanticc-Wno-long-longW-Werrort-versions-fno-commont-oefold-const.sprot
Starting program: /home/rdb/gcc-3.4-20030903.obj/gcc/stage1/cc1 -fpreprocessed fold-const.i -quiet -dumpbase fold-const.c -auxbase-strip fold-const.o -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Werror -version -fno-common -o fold-const.s
Breakpoint 2 at 0x7f71e378
Breakpoint 3 at 0x7f780128
GNU C version 3.4 20030903 (experimental) (hppa2.0n-hp-hpux11.00)
compiled by GNU C version 3.2.
GGC heuristics: --param ggc-min-expand=34 --param ggc-min-heapsize=8192
cc1: out of memory allocating 6375264 bytes after a total of 60397844 bytes
Breakpoint 2, 0x7f71e378 in exit () from /usr/lib/libc.2
(gdb) bt
#0 0x7f71e378 in exit () from /usr/lib/libc.2
#1 0x00591f98 in xexit (code=1) at ../../gcc-3.4-20030903/libiberty/xexit.c:52
#2 0x00591878 in xmalloc_failed (size=6375264)
at ../../gcc-3.4-20030903/libiberty/xmalloc.c:132
#3 0x005918dc in xmalloc (size=6375264)
at ../../gcc-3.4-20030903/libiberty/xmalloc.c:145
#4 0x00526b34 in sbitmap_vector_alloc (n_vecs=4452, n_elms=11299)
at ../../gcc-3.4-20030903/gcc/sbitmap.c:133
#5 0x00474e20 in pre_edge_lcm (file=0x0, n_exprs=11299, transp=0x41586348,
avloc=0x41b9aab0, antloc=0x421af218, kill=0x427c3980, insert=0x4003b2f0,
delete=0x4003b2f4) at ../../gcc-3.4-20030903/gcc/lcm.c:409
#6 0x00265ab8 in compute_pre_data () at ../../gcc-3.4-20030903/gcc/gcse.c:5001
#7 0x00267604 in one_pre_gcse_pass (pass=1)
at ../../gcc-3.4-20030903/gcc/gcse.c:5600
#8 0x002591d4 in gcse_main (f=0x7e3ef6e0, file=0x0)
at ../../gcc-3.4-20030903/gcc/gcse.c:791
#9 0x00306390 in rest_of_handle_gcse (decl=0x7f3629a0, insns=0x7e3ef6e0)
at ../../gcc-3.4-20030903/gcc/toplev.c:2837
#10 0x003074ac in rest_of_compilation (decl=0x7f3629a0)
at ../../gcc-3.4-20030903/gcc/toplev.c:3211
#11 0x0037aa80 in tree_rest_of_compilation (fndecl=0x7f3629a0)
at ../../gcc-3.4-20030903/gcc/tree-optimize.c:173
#12 0x00061590 in c_expand_body_1 (fndecl=0x7f3629a0, nested_p=0)
at ../../gcc-3.4-20030903/gcc/c-decl.c:6150
#13 0x000618bc in c_expand_body (fndecl=0x7f3629a0)
at ../../gcc-3.4-20030903/gcc/c-decl.c:6183
#14 0x0037e1fc in cgraph_expand_function (node=0x7ee6b7e0)
at ../../gcc-3.4-20030903/gcc/cgraphunit.c:347
#15 0x0037d158 in cgraph_finalize_function (decl=0x7f3629a0, body=0x7e95cec0)
at ../../gcc-3.4-20030903/gcc/cgraphunit.c:112
#16 0x0006135c in finish_function ()
at ../../gcc-3.4-20030903/gcc/c-decl.c:6110
#17 0x000202ac in yyparse () at c-parse.y:385
#18 0x0002bc50 in c_parse_file () at c-parse.y:3015
#19 0x000c9db0 in c_common_parse_file (set_yydebug=0)
at ../../gcc-3.4-20030903/gcc/c-opts.c:1210
#20 0x00303140 in compile_file () at ../../gcc-3.4-20030903/gcc/toplev.c:1731
#21 0x0030a5e0 in do_compile () at ../../gcc-3.4-20030903/gcc/toplev.c:4406
#22 0x0030a6d4 in toplev_main (argc=22, argv=0x7f7e0424)
at ../../gcc-3.4-20030903/gcc/toplev.c:4446
#23 0x001052d0 in main (argc=22, argv=0x7f7e0424)
at ../../gcc-3.4-20030903/gcc/main.c:35
(gdb) up 5
#5 0x00474e20 in pre_edge_lcm (file=0x0, n_exprs=11299, transp=0x41586348,
avloc=0x41b9aab0, antloc=0x421af218, kill=0x427c3980, insert=0x4003b2f0,
delete=0x4003b2f4) at ../../gcc-3.4-20030903/gcc/lcm.c:409
409 antout = sbitmap_vector_alloc (last_basic_block, n_exprs);
(gdb) l
404 compute_available (avloc, kill, avout, avin);
405 sbitmap_vector_free (avin);
406
407 /* Compute global anticipatability. */
408 antin = sbitmap_vector_alloc (last_basic_block, n_exprs);
409 antout = sbitmap_vector_alloc (last_basic_block, n_exprs);
410 compute_antinout_edge (antloc, transp, antin, antout);
411
412 #ifdef LCM_DEBUG_INFO
413 if (file)
(gdb) c
Continuing.
Program exited with code 01.