Build fail on RELENG_7

Evan Clarke evan at proc.to
Thu Oct 18 16:48:26 PDT 2007


Last night I csup'd to RELENG_7, and have not been able to build it
successfully.

This is running on a VMWare VM.  It keeps on getting memory alloc
fails at the same place each time.  I have increased the VM's RAM from
256MB to 512MB and then to 800 and something.  The physical machine
has 2GB of RAM.

I am doing a make buildworld (with no -j option)

$ /sbin/sysctl hw | grep mem
hw.physmem: 875991040
hw.usermem: 857661440
hw.realmem: 889192448

Build is done in single-user mode with swap enabled.
Here is the failing command (full log available upon request)

cc -O -pipe -DIN_GCC -DHAVE_CONFIG_H
-DPREFIX=\"/usr/obj/usr/src/tmp/usr\"
-I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools
-I/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/include
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libcpp/include
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libdecnumber
 -I/usr/obj/usr/src/tmp/legacy/usr/include -c
../cc_tools/insn-attrtab.c

cc1: out of memory allocating 97582896 bytes
*** Error code 1

Stop in /usr/src/gnu/usr.bin/cc/cc_int.
*** Error code 1

Stop in /usr/src/gnu/usr.bin/cc.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
# exit

Script done on Fri Oct 19 18:49:23 2007


More information about the freebsd-stable mailing list