From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1761 invoked by alias); 10 Nov 2009 02:55:12 -0000 Received: (qmail 1752 invoked by uid 22791); 10 Nov 2009 02:55:11 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-ew0-f221.google.com (HELO mail-ew0-f221.google.com) (209.85.219.221) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 10 Nov 2009 02:55:06 +0000 Received: by ewy21 with SMTP id 21so3856702ewy.8 for ; Mon, 09 Nov 2009 18:55:04 -0800 (PST) Received: by 10.213.8.28 with SMTP id f28mr4232091ebf.39.1257821703876; Mon, 09 Nov 2009 18:55:03 -0800 (PST) Received: from ?10.0.0.94? (cpe-76-173-26-187.socal.res.rr.com [76.173.26.187]) by mx.google.com with ESMTPS id 7sm721585eyg.9.2009.11.09.18.55.00 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 09 Nov 2009 18:55:02 -0800 (PST) Message-ID: <4AF8D620.5090205@gmail.com> Date: Tue, 10 Nov 2009 02:55:00 -0000 From: "Justin P. Mattock" User-Agent: Spicebird/0.7.1 (X11; 2009022519) MIME-Version: 1.0 To: Dave Korn CC: Andrew Morton , Linux Kernel Mailing List , gcc@gcc.gnu.org, KOSAKI Motohiro , David Rientjes Subject: Re: cc1plus invoked oom-killer: gfp_mask=0x280da, order=0, oom_adj=0 References: <20091103222432.4a94bd8f.akpm@linux-foundation.org> <4AF17DED.7080808@gmail.com> <4AF198E1.9010303@gmail.com> <4AF1A198.1090709@gmail.com> <4AF1DA8D.9070009@gmail.com> <4AF1E66D.6060705@gmail.com> <4AF21E0C.90506@gmail.com> <4AF25DCE.3010101@gmail.com> In-Reply-To: <4AF25DCE.3010101@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-11/txt/msg00269.txt.bz2 Dave Korn wrote: > Justin Mattock wrote: > > > >> ==1830== Command: c++ -o jsxml.o -c -DOSTYPE="Linux2.6" -DOSARCH=Linux >> > > Ah, you're running it on the "c++" utility and it's reporting the stats for > that, but how it works is that "c++" (and "gcc", "g++", et al) is just a > driver, that parses the command line arguments and shells out to the actual > compiler ("cc1plus"), assembler and linker to get them to do all the work. > > If you add "-v --save-temps" to the c++ invocation, it'll show you the > separate command lines it executes for the subprograms; the first invocation > will be of cc1plus, using the -E flag to generate the preprocessed source into > a .ii file, it's the second invocation you want, the one which uses the > "-fpreprocessed" flag and names the .ii file as input, which is the one that > actually then compiles the pre-processed source into assembly. For fuller > explanation, see the GCC wiki: > > http://gcc.gnu.org/wiki/DebuggingGCC > > cheers, > DaveK > > > > I didn't think at the time, but when compiling 4.5.*(snapshot) I added the pure64 patch to gcc, everything seemed to go fine, but maybe there needs to be more to it. would this might cause an issue(memory leak or something) like what I was receiving even though there's a symlink to lib64? BTW: I just cleared the deck and started fresh, compiled gcc+pure64 patch(snapshot) into a single directory, and then looked at ldd /usr/bin/gcc* I see it pointing to /lib64(looking on my other system with 4.4.1 it points to /lib) Justin P. Mattock