From owner-freebsd-stable@FreeBSD.ORG Fri Oct 19 00:56:00 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B34C16A417 for ; Fri, 19 Oct 2007 00:56:00 +0000 (UTC) (envelope-from wangyi6854@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.230]) by mx1.freebsd.org (Postfix) with ESMTP id D65E513C459 for ; Fri, 19 Oct 2007 00:55:59 +0000 (UTC) (envelope-from wangyi6854@gmail.com) Received: by wr-out-0506.google.com with SMTP id 70so291855wra for ; Thu, 18 Oct 2007 17:55:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=DVPrYENtZFh0oGhMf7guL/e9sStpwh0W6mF932RHZXo=; b=lw9MNC3EPpKxuLfSHnsFC8/WIY5Zbh1J/ri2XhLRJZRV30a7lP0qpOQZu8TJWToING8jXoZtVp/FeFuzsXUEZaelHe958CEIrg438Yk1CCWkfUZUFFAc/eoOlLbo9DQSu48siqHj6SoO1ScScDhtSlzt34Dm9Q8/E58TJ4HNhtY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TFwuiqvFoliTkMXHUwU5/xCemNK0jV80xkjLi5pnVwvnBPBuIGxoPQ7yksjq1xeKYlCJ1qjDRSmYyks1pk+ZSRuBHpJZVkc9B2SEOjPgIaHccq4l58R44vJpCFOoSkOVZIuAP+PIuMpAbZc9rwTxNymM1VbsjLkuyxlnm2r7xA0= Received: by 10.114.151.13 with SMTP id y13mr1366530wad.1192755358013; Thu, 18 Oct 2007 17:55:58 -0700 (PDT) Received: by 10.114.203.13 with HTTP; Thu, 18 Oct 2007 17:55:57 -0700 (PDT) Message-ID: <5ea5cca50710181755u15d628aar840436d64e0bd9ba@mail.gmail.com> Date: Thu, 18 Oct 2007 17:55:57 -0700 From: "Yi Wang" To: "Evan Clarke" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: freebsd-stable@freebsd.org Subject: Re: Build fail on RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Oct 2007 00:56:00 -0000 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 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