From owner-freebsd-stable@FreeBSD.ORG Fri Mar 6 09:33:43 2009 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 72EB31065677 for ; Fri, 6 Mar 2009 09:33:43 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.185]) by mx1.freebsd.org (Postfix) with ESMTP id D5EB88FC1E for ; Fri, 6 Mar 2009 09:33:42 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: by ti-out-0910.google.com with SMTP id a1so204821tib.3 for ; Fri, 06 Mar 2009 01:33:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:received :x-spam-checker-version:x-spam-level:x-spam-status:received:from:to :cc:subject:organization:references:x-face:x-uptime:x-url :x-openpgp-id:x-openpgp-fingerprint:x-os:x-mailer:x-mail-morse :x-attribution:date:in-reply-to:message-id:user-agent:face :mime-version:content-type; bh=GIl0P0cv7LjftN7sGMnTmPQOl8YbihfvLKca2lTYZag=; b=esucaCTrTNkwJX4ahKqm4ulRNeK2U/BA5Dzuu9/7qB9G+1XLaFWK3jbb8L+FZgHmfP Pnd5RP8Ybr7vNHQ+pj7rbyqDelsyuuWzUdHvh9gVz4soOafXl0Mly4/hS9bjGJXTmwAw lJh5FI/53Xu96Yek8QQ+sYUH6rJAl5O054Fkc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:x-spam-checker-version:x-spam-level:x-spam-status:from:to:cc :subject:organization:references:x-face:x-uptime:x-url:x-openpgp-id :x-openpgp-fingerprint:x-os:x-mailer:x-mail-morse:x-attribution:date :in-reply-to:message-id:user-agent:face:mime-version:content-type; b=M+Hu9SQlcspaRoCZjZ5gWQH9Ag1wVGXKWNNCvQ/5384oikS3Aq/LbFVl1McFyPsLm8 B1Cbk/hdsdyZlOvLGNDVrlxnhIKzeWvoByiij4FVv4yKvecMY6drJHYI1oOeNR5bquIY /H2h+HQsd9RAfjOhu0kQHNqMotaV7hqXHIK9o= Received: by 10.110.49.6 with SMTP id w6mr308465tiw.44.1236332021342; Fri, 06 Mar 2009 01:33:41 -0800 (PST) Received: from chateau.d.lf ([122.161.173.216]) by mx.google.com with ESMTPS id i9sm106317tid.13.2009.03.06.01.33.38 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 06 Mar 2009 01:33:40 -0800 (PST) Sender: Ashish SHUKLA Received: by chateau.d.lf (Postfix, from userid 99) id 291B5B62D7; Fri, 6 Mar 2009 15:03:32 +0530 (IST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on chateau.d.lf X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=NO_RELAYS autolearn=unavailable version=3.2.5 Received: from chateau.d.lf (chateau.d.lf [IPv6:::1]) by chateau.d.lf (Postfix) with ESMTP id 924A6B62D5; Fri, 6 Mar 2009 15:03:25 +0530 (IST) From: wahjava.ml@gmail.com (Ashish SHUKLA) To: Nikos Ntarmos Organization: alt.religion.emacs References: <87wsb5clk9.fsf@chateau.d.lf> <87iqmohcl5.fsf@chateau.d.lf> <200903051449.59782.jhb@freebsd.org> <87r61bbl1c.fsf@chateau.d.lf> <20090306001224.GA8231@ace.cs.uoi.gr> X-Face: )vGQ9yK7Y$Flebu1C>(B\gYBm)[$zfKM+p&TT[[JWl6:]S>cc$%-z7-`46Zf0B*syL.C]oCq[upTG~zuS0.$"_%)|Q@$hA=9{3l{%u^h3jJ^Zl; t7 X-Uptime: 14:31:52 up 1:00, 1 user, load average: 0.16, 0.19, 0.18 X-URL: http://wahjava.wordpress.com/ X-OpenPGP-ID: 762E5E74 X-OpenPGP-Fingerprint: 1E00 4679 77E4 F8EE 2E4B 56F2 1F2F 8410 762E 5E74 X-OS: GNU/Linux on Linux 2.6.28-ARCH kernel on x86_64 architecture X-Mailer: Gnus v5.13 X-Mail-Morse: .-- .- .... .--- .- ...- .- .--.-. --. -- .- .. .-.. .-.-.- -.-. --- -- X-Attribution: =?utf-8?B?4KSG4KS24KWA4KS3?= Date: Fri, 06 Mar 2009 15:03:20 +0530 In-Reply-To: <20090306001224.GA8231@ace.cs.uoi.gr> (Nikos Ntarmos's message of "Fri, 6 Mar 2009 02:12:24 +0200") Message-ID: <87ocwfxafz.fsf@chateau.d.lf> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (x86_64-unknown-linux-gnu) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJ1BMVEWpqal/f39tbW1jY2Md HR2goKCenp6UlJROTk7////9/f35+fnT09ORJdieAAACVklEQVQ4jXXUP2vbQBQA8AvUTkgz5OzY Z0iGWhpS6BSrkECn0mvx0MEJ6AjtYrfoBCVDlD8naJYmNlRfwZq8+mkKlIZaGpJSYmP7Q/XkJDrJ Td8i/H68u3vHPaPufwLdf32AMA4A6GcAgvAamY1pOJiDIFqicTwLswDhfr3uxfFtkAY/GFHPMwzD 8zpnACmIOnE6js7rQb+v4NJrG9od0C+QgpHMy5jBewV+UDSMWiw1Y4fWfyV7+NGFzDsYa3pth9LJ Q4XvXxFHcJRvHOmygn5NAEabnDcQQguarnfoiwSCJ99jmKKcphsZONmWsDK9Ro7cvZOCtQdg8nje egLhc2LNlkLmsezzTFUUy5w18ocox/f0LaLgJy0zO75zk+9pp85GAj36xjqhdI0y3tq2m4dqqcWX zQWBTz8L1irvolXV4J+3q7eCDgVnttjNq6X8H+9KOZsuNk1uCzx8pSp+E9HImfJOTLdcGqo+YKnG EIovizkEn48V7BO+ch2DXcD4ENSpWiU+q8hjjbgTBZCXnZtyj0Ws4Q1Q0B2WXFtYZo65Bbyeeldw RS6qFueM80LlLA29YlVwGRYvFD+kwI/0O+A2PlpOP9GwslUVciHuYGechuBTp922YiDZCrghTknm XSyOM+D3aoRZlo0Jb42zY7DN4p2x4AeZ+QAYutx1sHwTHzMT5cMNduQ9yW3GczN4KZ86kb0c9O8T yXDeFqpl2fryPEAYGXIlezAPXYh2NgVr/gvdoHIuDwuPwOhcWE8f8mmICq41eATkn8x0kuRTIKcB wE9+/QUtiiAnYcaN7wAAAABJRU5ErkJggg== MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Cc: freebsd-stable@freebsd.org Subject: Re: GCC segfaulting while trying to compile latest Qt4 code 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, 06 Mar 2009 09:33:44 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable Nikos Ntarmos writes: [...] > Hi there. > Could you be running out of memory during that compilation? I'd suggest > adding some swap space[1] and trying again, or play around with lower gcc > optimization levels (-O0, -O). I'm already using a 2 GiB swap device. I added -dH option in existing c++ command-line[1] to force it to dump a core file, and then I loaded it in gdb and following is the backtrace. #v+ (gdb) bt #0 0x000000000088893c in kill () at kill.S:2 #1 0x00000000008879c4 in abort () at /usr/src/lib/libc/stdlib/abort.c:65 #2 0x0000000000811fb3 in real_abort () at /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/diagnostic.c:= 652 #3 0x000000000081239b in diagnostic_action_after_output ( context=3D0x575, diagnostic=3D0x6) at /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/diagnostic.c:= 270 #4 0x00000000008120f5 in diagnostic_report_diagnostic ( context=3D0xbb16e0, diagnostic=3D0x7fffffffcad0) at /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/diagnostic.c:= 409 #5 0x0000000000812312 in internal_error (gmsgid=3DVariable "gmsgid" is not= available. ) at /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/diagnostic.c:= 588 #6 0x000000000055c07d in crash_signal (signo=3DVariable "signo" is not ava= ilable. ) at /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/toplev.c:607 #7 #8 gimplify_va_arg_expr (expr_p=3D0x80521de00, pre_p=3D0x7fffffffd2d0,=20 post_p=3D0x7fffffffd2c8) at /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/builtins.c:43= 77 #9 0x00000000007e9881 in gimplify_expr (expr_p=3D0x80521de00,=20 pre_p=3D0x7fffffffd2d0, post_p=3D0x7fffffffd2c8,=20 gimple_test_f=3D0x7f1cb3 , fallback=3Dfb_rvalue) at /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/gimplify.c:55= 45 #10 0x00000000007e8b83 in gimplify_modify_expr ( expr_p=3D0x7fffffffd400, pre_p=3D0x7fffffffd2d0,=20 post_p=3D0x7fffffffd2c8, want_value=3D0 '\0') at /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/gimplify.c:35= 65 #11 0x00000000007e9c25 in gimplify_expr (expr_p=3D0x7fffffffd400,=20 pre_p=3D0x7fffffffd2d0, post_p=3D0x7fffffffd2c8,=20 gimple_test_f=3D0x7f1bf5 , fallback=3Dfb_none) at /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/gimplify.c:55= 18 #12 0x00000000007eb1b4 in gimplify_to_stmt_list ( stmt_p=3D0x7fffffffd400) at /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/gimplify.c:43= 09 #13 0x00000000007e958f in gimplify_expr (expr_p=3D0x805216e90,=20 pre_p=3D0x7fffffffd410, post_p=3D0x7fffffffd408,=20 gimple_test_f=3D0x7f1bf5 , fallback=3Dfb_none) at /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/gimplify.c:41= 24 #14 0x00000000007e9919 in gimplify_expr (expr_p=3D0x7fffffffd588,=20 pre_p=3D0x7fffffffd530, post_p=3D0x7fffffffd528,=20 gimple_test_f=3D0x7f1bf5 , fallback=3Dfb_none) at /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/gimplify.c:37= 46 #15 0x0000000000488dac in gimplify_cp_loop (cond=3DVariable "cond" is not a= vailable. ) at /usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/cp-gimpli= fy.c:246 #16 0x0000000000489151 in cp_gimplify_expr (expr_p=3D0x805216e70,=20 pre_p=3D0x7fffffffd720, post_p=3D0x7fffffffd718) at /usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/cp-gimpli= fy.c:283 #17 0x00000000007e8fbe in gimplify_expr (expr_p=3D0x805216e70,=20 pre_p=3D0x7fffffffd720, post_p=3D0x7fffffffd718,=20 gimple_test_f=3D0x7f1bf5 , fallback=3Dfb_none) at /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/gimplify.c:54= 49 #18 0x00000000007e9919 in gimplify_expr (expr_p=3D0x80521dfe0,=20 pre_p=3D0x7fffffffd840, post_p=3D0x7fffffffd838,=20 gimple_test_f=3D0x7f1bf5 , fallback=3Dfb_none) at /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/gimplify.c:37= 46 #19 0x00000000007eb1b4 in gimplify_to_stmt_list (stmt_p=3D0x80521dfe0) at /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/gimplify.c:43= 09 #20 0x00000000007ea13d in gimplify_expr (expr_p=3D0x803ee97b0,=20 pre_p=3D0x7fffffffd980, post_p=3D0x7fffffffd978,=20 gimple_test_f=3D0x7f1bf5 , fallback=3Dfb_none) at /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/gimplify.c:10= 91 #21 0x00000000007eabc8 in gimplify_body (body_p=3D0x803ee97b0,=20 fndecl=3D0x803ee9700, do_parms=3D1 '\001') at /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/gimplify.c:63= 17 #22 0x00000000007eadaf in gimplify_function_tree (fndecl=3D0x803ee9700) at /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/gimplify.c:63= 93 #23 0x000000000048e208 in c_genericize (fndecl=3D0x803ee9700) at /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/c-gimplify.c:= 106 #24 0x0000000000488c18 in cp_genericize (fndecl=3D0x803ee9700) at /usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/cp-gimpli= fy.c:755 #25 0x00000000004287bb in finish_function (flags=3D0) at /usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/decl.c:11= 336 #26 0x000000000045824f in cp_parser_function_definition_after_declarator (p= arser=3D0x800c07c80, inline_p=3D0 '\0') at /usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/parser.c:= 15650 #27 0x0000000000458684 in cp_parser_init_declarator ( parser=3D0x800c07c80, decl_specifiers=3D0x7fffffffdbb0, checks=3D0x0,=20 function_definition_allowed_p=3D1 '\001', member_p=3D0 '\0',=20 declares_class_or_enum=3DVariable "declares_class_or_enum" is not avail= able. ) at /usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/parser.c:= 15582 #28 0x000000000044ea23 in cp_parser_simple_declaration ( parser=3D0x800c07c80, function_definition_allowed_p=3DVariable "functio= n_definition_allowed_p" is not available. ) at /usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/parser.c:= 7431 #29 0x0000000000454f1a in cp_parser_block_declaration ( parser=3D0x800c07c80, statement_p=3D0 '\0') at /usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/parser.c:= 7331 #30 0x0000000000458ee4 in cp_parser_declaration (parser=3D0x800c07c80) at /usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/parser.c:= 7247 #31 0x0000000000459335 in cp_parser_declaration_seq_opt ( parser=3D0x800c07c80) at /usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/parser.c:= 7142 #32 0x0000000000459930 in c_parse_file () at /usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/parser.c:= 2845 #33 0x000000000040074b in c_common_parse_file (set_yydebug=3DVariable "set_= yydebug" is not available. ) at /usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/c-opts.c:1184 #34 0x000000000055d2e8 in toplev_main (argc=3DVariable "argc" is not availa= ble. ) at /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/toplev.c:1035 #35 0x00000000004001ae in _start (ap=3DVariable "ap" is not available. ) at /usr/src/lib/csu/amd64/crt1.c:92 #36 0x0000000000000000 in ?? () #37 0x0000000000000042 in ?? () #38 0x00007fffffffe1a8 in ?? () [...] #1114 0x01a1c0c748006a10 in ?? () #1115 0x66fdebf4050f0000 in ?? () #1116 0x9066669066669066 in ?? () #1117 0x00007fffffffde28 in ?? () #1118 0x0000000000000042 in ?? () #1119 0x00007fffffffe040 in ?? () #1120 0x000000000000000e in ?? () Cannot access memory at address 0x800000000000 #v- References: [1] http://news.gmane.org/find-root.php?message_id=3D%3c84dead720902121838= p3a72f993xc1c52104c666ed0a%40mail.gmail.com%3e HTH =2D-=20 Ashish SHUKLA --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (GNU/Linux) iEYEARECAAYFAkmw7eUACgkQHy+EEHYuXnTj6wCfV1ninuk0vo/QwjzLiBu+eUWL go4AnR6lGKdMRqCdY43rqDCjt7mMqCmi =aQ1X -----END PGP SIGNATURE----- --=-=-=--