Date: Thu, 18 Oct 2007 17:55:57 -0700 From: "Yi Wang" <wangyi6854@gmail.com> To: "Evan Clarke" <evan@proc.to> Cc: freebsd-stable@freebsd.org Subject: Re: Build fail on RELENG_7 Message-ID: <5ea5cca50710181755u15d628aar840436d64e0bd9ba@mail.gmail.com> In-Reply-To: <d593ba710710181622r67f752fbs3eff7dd6bb97c866@mail.gmail.com> References: <d593ba710710181622r67f752fbs3eff7dd6bb97c866@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <evan@proc.to> 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 "freebsd-stable-unsubscribe@freebsd.org" > -- Regards, Wang Yi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5ea5cca50710181755u15d628aar840436d64e0bd9ba>