From owner-freebsd-stable@FreeBSD.ORG Fri Mar 7 17:20:19 2008 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 7152D1065670 for ; Fri, 7 Mar 2008 17:20:19 +0000 (UTC) (envelope-from jasone@FreeBSD.org) Received: from canonware.com (canonware.com [64.183.146.166]) by mx1.freebsd.org (Postfix) with ESMTP id 5518D8FC28 for ; Fri, 7 Mar 2008 17:20:19 +0000 (UTC) (envelope-from jasone@FreeBSD.org) Received: from [192.168.168.201] (unknown [192.168.168.201]) by canonware.com (Postfix) with ESMTP id 48994129873; Fri, 7 Mar 2008 08:58:53 -0800 (PST) Message-ID: <47D1735D.60007@FreeBSD.org> Date: Fri, 07 Mar 2008 08:54:53 -0800 From: Jason Evans User-Agent: Thunderbird 2.0.0.12 (X11/20080227) MIME-Version: 1.0 To: Joshua Coombs References: <1204313564l.249966l.0l@psu.edu> <7E228F3A-DFE0-4071-8694-14A012CC21E1@gothic.net.au> <1204575279l.807074l.0l@psu.edu> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: FreeBSD 7 buildworld error 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, 07 Mar 2008 17:20:19 -0000 Joshua Coombs wrote: > Derek Taylor wrote: >> On Fri, Feb 29, 2008 09:50 PM Sean wrote: >>> Check /etc/make.conf for CFLAGS, and if present remove it. >> >> This fixed the problem. >> >> Thank you. >> >> -Derek. > > I can confirm a failure in the same spot. What concerns me is in both > my failure, and Derek's, the malloc is failing well below what limit > says should be allowed. > > 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 136475392 bytes > *** Error code 1 > > Stop in /usr/src/gnu/usr.bin/cc/cc_int. > *** Error code 1 > > cyrix-dlc# limit > cputime unlimited > filesize unlimited > datasize 524288 kbytes > stacksize 65536 kbytes > coredumpsize unlimited > memoryuse unlimited > vmemoryuse unlimited > descriptors 957 > memorylocked unlimited > maxproc 478 > sbsize unlimited > > cc1 was only trying to request 130MB, my datasize is 512MB, why did it > fail? It looks to me like gcc is trying to allocate a single 130MiB object, but you don't say anything about how much memory is already in use. It may well be that there are no remaining places in the memory map to place such a large object. Jason