From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20490 invoked by alias); 10 Aug 2005 14:54:27 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 20318 invoked by uid 22791); 10 Aug 2005 14:54:17 -0000 Received: from igw2.watson.ibm.com (HELO igw2.watson.ibm.com) (129.34.20.6) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 10 Aug 2005 14:54:17 +0000 Received: from sp1n294en1.watson.ibm.com (sp1n294en1.watson.ibm.com [129.34.20.40]) by igw2.watson.ibm.com (8.13.1/8.13.1/8.13.1-2005-04-25 igw) with ESMTP id j7AEtoZn028230; Wed, 10 Aug 2005 10:55:50 -0400 Received: from sp1n294en1.watson.ibm.com (localhost [127.0.0.1]) by sp1n294en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_2) with ESMTP id j7AEsFb96370; Wed, 10 Aug 2005 10:54:15 -0400 Received: from makai.watson.ibm.com (makai.watson.ibm.com [9.2.216.144]) by sp1n294en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_1) with ESMTP id j7AEsEj84376; Wed, 10 Aug 2005 10:54:14 -0400 Received: from watson.ibm.com (localhost [127.0.0.1]) by makai.watson.ibm.com (AIX5.1/8.11.6p2/8.11.0/03-06-2002) with ESMTP id j7AEnDd31398; Wed, 10 Aug 2005 10:49:13 -0400 Message-Id: <200508101449.j7AEnDd31398@makai.watson.ibm.com> To: AIX_DOS_OS2 cc: gcc-help@gcc.gnu.org Subject: Re: Problem compiling gcc 4.0.1 on AIX 5.0.0.8 References: <42F81D2C.10305@ispwest.com> <42F6A740.9040104@ispwest.com> Date: Wed, 10 Aug 2005 14:54:00 -0000 From: David Edelsohn X-SW-Source: 2005-08/txt/msg00099.txt.bz2 >>>>> Dwight writes: > out of memory allocating 80016 bytes after a total of 4161652492 bytes > As far as I can tell I have unlimited stack space and such. I am > running this build as root. This specific case is mentioned in the "Host/Target specific installation notes for GCC" section on AIX: out of memory bootstrap failures may indicate a problem with process resource limits (ulimit). Hard limits are configured in the /etc/security/limits system configuration file. On AIX, root has resource limits like every other user. Make sure that you are viewing the hard limits, not the soft limits. I suspect that the hard limits are capped. Stack, data, and memory need to have large limits to bootstrap GCC. Also, building as root probably is not a good idea. By the way, the 4161652492 does not represent the total amount of memory currently allocated, some of the memory has been returned during the process execution. I also would recommend not changing the Make options. David