I have the same problem. But I solved it by this way. # chflags -R noschg /usr/obj/usr # rm -rf /usr/obj/usr # cd /usr/src # make cleandir # make cleandir
Then build again should be ok. ps: 512M is enough for vmware. I build it in vmware too. On 10/18/07, Evan Clarke <[EMAIL PROTECTED]> wrote: > 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 > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > -- Regards, Wang Yi _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"