From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13848 invoked by alias); 4 Nov 2009 21:22:18 -0000 Received: (qmail 13832 invoked by uid 22791); 4 Nov 2009 21:22:17 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-px0-f192.google.com (HELO mail-px0-f192.google.com) (209.85.216.192) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 04 Nov 2009 21:22:13 +0000 Received: by pxi30 with SMTP id 30so4797866pxi.14 for ; Wed, 04 Nov 2009 13:22:12 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.67.6 with SMTP id p6mr224142wfa.20.1257369731978; Wed, 04 Nov 2009 13:22:11 -0800 (PST) In-Reply-To: <4AF1E66D.6060705@gmail.com> 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> Date: Wed, 04 Nov 2009 21:22:00 -0000 Message-ID: Subject: Re: cc1plus invoked oom-killer: gfp_mask=0x280da, order=0, oom_adj=0 From: Justin Mattock To: Dave Korn Cc: Andrew Morton , Linux Kernel Mailing List , gcc@gcc.gnu.org, KOSAKI Motohiro , David Rientjes Content-Type: text/plain; charset=ISO-8859-1 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/msg00089.txt.bz2 here's what I did: valgrind --tool=memcheck --leak-check=full -v make -f client.mk build e2 -march=core2 -O2 -pipe -fomit-frame-pointer -DMOZILLA_CLIENT -include ./js-confdefs.h -Wp,-MD,.deps/jsxml.pp /home/justin/LFS/firefox/mozilla-1.9.2/js/src/jsxml.cpp {standard input}: Assembler messages: {standard input}:271839: Warning: end of file not at end of a line; newline inserted {standard input}:271896: Error: suffix or operands invalid for `movq' {standard input}:271896: Error: open CFI at the end of file; missing .cfi_endproc directive c++: Internal error: Killed (program cc1plus) Please submit a full bug report. See for instructions. make[4]: *** [jsxml.o] Error 1 make[4]: Leaving directory `/home/name/LFS/firefox/mozilla-1.9.2/obj-x86_64-unknown-linux-gnu/js/src' make[3]: *** [libs_tier_js] Error 2 make[3]: Leaving directory `/home/name/LFS/firefox/mozilla-1.9.2/obj-x86_64-unknown-linux-gnu' make[2]: *** [tier_js] Error 2 make[2]: Leaving directory `/home/name/LFS/firefox/mozilla-1.9.2/obj-x86_64-unknown-linux-gnu' make[1]: *** [default] Error 2 make[1]: Leaving directory `/home/name/LFS/firefox/mozilla-1.9.2/obj-x86_64-unknown-linux-gnu' make: *** [build] Error 2 ==4072== ==4072== HEAP SUMMARY: ==4072== in use at exit: 201,183 bytes in 4,237 blocks ==4072== total heap usage: 28,879 allocs, 24,642 frees, 2,947,434 bytes allocated ==4072== ==4072== Searching for pointers to 4,237 not-freed blocks ==4072== Checked 268,808 bytes ==4072== ==4072== 6 bytes in 1 blocks are possibly lost in loss record 41 of 295 ==4072== at 0x4C2488A: malloc (vg_replace_malloc.c:195) ==4072== by 0x50ABEE1: strdup (in /lib/libc-2.10.90.so) ==4072== by 0x4118D8: xstrdup (in /usr/bin/make) ==4072== by 0x41BAA4: define_variable_in_set (in /usr/bin/make) ==4072== by 0x4160B4: eval (in /usr/bin/make) ==4072== by 0x416766: eval_makefile (in /usr/bin/make) ==4072== by 0x416A3F: read_all_makefiles (in /usr/bin/make) ==4072== by 0x410853: main (in /usr/bin/make) ==4072== ==4072== 14 bytes in 1 blocks are possibly lost in loss record 69 of 295 ==4072== at 0x4C2488A: malloc (vg_replace_malloc.c:195) ==4072== by 0x411977: xmalloc (in /usr/bin/make) ==4072== by 0x411AA8: savestring (in /usr/bin/make) ==4072== by 0x41BB7A: define_variable_in_set (in /usr/bin/make) ==4072== by 0x410832: main (in /usr/bin/make) ==4072== ==4072== LEAK SUMMARY: ==4072== definitely lost: 0 bytes in 0 blocks ==4072== indirectly lost: 0 bytes in 0 blocks ==4072== possibly lost: 20 bytes in 2 blocks ==4072== still reachable: 201,163 bytes in 4,235 blocks ==4072== suppressed: 0 bytes in 0 blocks ==4072== Reachable blocks (those to which a pointer was found) are not shown. ==4072== To see them, rerun with: --leak-check=full --show-reachable=yes ==4072== ==4072== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 5 from 5) --4072-- --4072-- used_suppression: 2 dl-hack3-cond-1 --4072-- used_suppression: 3 glibc-2.5.x-on-SUSE-10.2-(PPC)-2a ==4072== ==4072== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 5 from 5) I'll try out gdb, and more of valgrind. -- Justin P. Mattock