From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sender4-pp-o90.zoho.com (sender4-pp-o90.zoho.com [136.143.188.90]) by sourceware.org (Postfix) with ESMTPS id D62DC385840A; Wed, 10 Jan 2024 15:28:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D62DC385840A Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=zoho.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=zoho.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D62DC385840A Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=136.143.188.90 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1704900488; cv=pass; b=RR+aODgFf0FeYR6GLscmJ5lLx5LHiY6oeHweLl8PMqMrjdm0S8Q/FX7mWW3pMPmyXmFYm1I3AbmQhHPeSQw31LKQvCr8hNui/NZp7HQ/teCDlgnmPKCI082a+DTlYfN1JZd/2HR8IspW+Pg0z4I1a2snGRS+Bt/aZlDrAXxWXV0= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1704900488; c=relaxed/simple; bh=YiuhQ/NXWLz0iPb3K+6U1gse9ItgzokDOkgTy5MeD1s=; h=DKIM-Signature:Message-ID:Subject:From:To:Date:MIME-Version; b=Ww179Sg0PiHIIr1nM5BOJU0aE29ReCoKCvX08f5nK/6xfXgjuLhqYw1M2gXIdB+uOs+GfMkgmwCHj5ZSBrwu5uBb/qd7tr1qCRUe+HfL41XK0snmFUpKAgHpoOVghktPv+ZuZEUG3HXlRCXI1YMbh0KfZEWqaeIhI5udZ8p/u+o= ARC-Authentication-Results: i=2; server2.sourceware.org ARC-Seal: i=1; a=rsa-sha256; t=1704900482; cv=none; d=zohomail.com; s=zohoarc; b=Dd8wM0+OY5wkRHD4oTn4flynBsqgSUdiOewVvMz2cIOx1qXjNZKtnRxDuPt+tykB3lfLOYL/mqrxh/bKtmXoCQBZZk3JOPzWU6SmCm/WxiqstT1YPt1ekdbzA2Vch0mlfW6gOdhoblqtUBBP3mWo6w122X8se3P2UMNswLCFCpk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1704900482; h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=YiuhQ/NXWLz0iPb3K+6U1gse9ItgzokDOkgTy5MeD1s=; b=jlWdIlq+/UGYJ8H3S8jpYpX+VU8uGaA5eoxqrcuYNETFKP898xVcHnp+lEDeQtqV0tWpGqQ7pO41v6OvZ5MuATZVPv1G2vHKcYPSaQMbQ5gTmWnvdnsQAySvg1+bhGNTEgH33eXuq3OirfUQf/iZWzv56VCBhvsln3TQ0yj9L3M= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=zoho.com; spf=pass smtp.mailfrom=bouanto@zoho.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1704900482; s=zm2022; d=zoho.com; i=bouanto@zoho.com; h=Message-ID:Subject:Subject:From:From:To:To:Date:Date:In-Reply-To:References:Content-Type:Content-Transfer-Encoding:MIME-Version:Feedback-ID:Message-Id:Reply-To:Cc; bh=YiuhQ/NXWLz0iPb3K+6U1gse9ItgzokDOkgTy5MeD1s=; b=fwSRSy/Yuo8TT53ruT5llREgdpogWeJ3T+eW7K+s/6DBy1nUioJQFr502qc4Ki3V zLiF0Oh+0CqyH5NAE3Bfs9j+zqJkpIPD2pD5ANadK+Y+CSb7CcS9fUU4rsifdRKFVXL 4mCS10N+Uqn1vw7c3gADB7p7n5SnKUhA0gjb8Ta4= Received: from [192.168.1.172] (38.87.11.6 [38.87.11.6]) by mx.zohomail.com with SMTPS id 1704900480489879.0302162928724; Wed, 10 Jan 2024 07:28:00 -0800 (PST) Message-ID: <6037582ce944fdc91327270c4f27a9d818fc6051.camel@zoho.com> Subject: Re: [PATCH] libgccjit: Fix GGC segfault when using -flto From: Antoni Boucher To: David Malcolm , jit@gcc.gnu.org, gcc-patches@gcc.gnu.org Date: Wed, 10 Jan 2024 10:27:58 -0500 In-Reply-To: <03e4a5d4e0b181a46f6c76e643503d54bf508b0c.camel@redhat.com> References: <459954b377768b7a0d79dd9d99328b45c66e4fa0.camel@redhat.com> <9738ef0c44d5f5505607c6678d23683aaba2c72f.camel@redhat.com> <03e4a5d4e0b181a46f6c76e643503d54bf508b0c.camel@redhat.com> Autocrypt: addr=bouanto@zoho.com; prefer-encrypt=mutual; keydata=mQENBFOSMLQBCADO5aw6Ys8thMQUNzrwAnfJX2wbgWiz0pQ01DjYj22eeIpChkoZn6LWdt4dieq30u2rFi/yQzJ02foHwI2+aL9rU6xz/x4TwqyRJQGMOqklNc3R+pdXmH4WDQkQDWmLxvc07vu+zb8Tx5A6pMDh4J2ncCEhLEUcH39Yq/yg4eBnFwUX6N7kakvHrnScGNqhnSFCacoJeMJUAR+1G7VBSBd++jmnHLnx3mj7QkRZVECJUw2zqiv1yReCC6GU4SvqLjdqm5ZGeoWOqD/NHjBRoEeOVjzp6M/qOjjWRbkJVqmvgfcD8UytSSqqboR35YFT4L+rZt2ri3T12MJb3i5syCAXABEBAAG0IUFudG9uaSBCb3VjaGVyIDxib3VhbnRvQHpvaG8uY29tPokBVgQTAQgAQAIbIwcLCQgHAwIBBhUIAgkKCwQWAgMBAh4BAheAFiEEOELC4Uw1Jeb66YE6RVeGAwR4zcEFAlz4QM4FCRLMEZoACgkQRVeGAwR4zcFBQQf/afttJrA/puADQZhrDfkgr0MFvq6iB+GCy1b8BkXimk1TOXTPt87YLehSeijNu3JkYhl5eRc87BNfU9J87KfI/KIy6hZxqlDXk16FhW9bw/7wYEA0hpb3MUn7xLElXDT0ZHaD+KTe8Oun7qfzgx5RlL6r/WODf3CkSpO085R/rfeBqDEx9mVlhDWgq6Az3CZoD+3CqiCKVqmDuHTWz4kwrd9AM5eVcLvvLKnZIdoIp+G5Ao6BvaGlZyfenN1iOSjLy2NXNt4MnUt0lUYEP5KSIIRhHQ8xkUbj7eWUmaahkxhNb3fH3sAPwGnRZrPpb4rgYzNmSk63wWMh9M2xk+rLb7kBDQRTkjC0AQgAumZzsAV/UFWI+dpzebQfma36kKYZZFuseant5sq/HWP553XQ/U6ttJiKyN5MpCqtxvCAoRplf42YhlHuFqgf73WJxoJ6Y+sdyqoBSwlR+ gzAneAmsa8gmmY0wawH0Z2leazjKuS7mJjVEQZg0ZGsiCVRGeRnDqFGzDEzDc9ngWKSoTq0fKzlGy1X85OrtmUrvEbhSo6HP+FoeunHkIqrxu3w3vDoFEXxVQlKI6V3I4nCz5n6DB8WR3L7nsiiTnOiGirPw1ngvWFLW86kkA4FJpayc8Xl3va3SLY+2y4yuROboX2DVI4AC/Qeug/mDiBicPxkP6YfUartQRMe6obkEQARAQABiQE8BBgBCAAmAhsMFiEEOELC4Uw1Jeb66YE6RVeGAwR4zcEFAlz4QRsFCRLMEecACgkQRVeGAwR4zcE56ggAgTgrJInBKC+7552Dpccuo6Clh3wZfjlNLv9/6r5lKEbaNzaTrfhPiAP4WgnluIUmj8amOFLFJpj+BAVNOXpZ4D2R3o9ch8z7fot+fW4Yw+PKIxH4I2xEys8ndoEB3aiQwHjKcGIhkIU7uyMJFQr2aWjdTY0gmXw0YZueHOSLgo7uX4XKxB8fEO/yto/Tff2YBAAq+AtNwt+Gh5YS9rZw7rwUTWMi84yVOlc+zRE79E9NJkvdTwX7IJYo64VzIRNfgHsn7QNdVzuM1XIFHl+Glk6cIlI8s6BO7nEoCn3hTF104fQTAO3fEs+XXZOKXo2lk8faowEoPq5r58StrV0nyg== Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.2 MIME-Version: 1.0 Feedback-ID: rr08011228a50589b72c820694cc74ec6e0000c6cce45096cf667dc3f3c3ed4a8b77718011d811d5616fdf63d6:zu0801122674820760d955115963ec2ed8000021945cbc8e88bf7c3a6cad977d8b9d2a28cbf0c157ecd020:rf0801123195e11bcf9fd66b2daa83ce090000bd8729f11e724f17e5bebe2e0978136e6220a7d3616f279d22072081046bd30aecd86a:ZohoMail X-ZohoMailClient: External X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,BODY_8BITS,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Wed, 2024-01-10 at 10:19 -0500, David Malcolm wrote: > On Mon, 2023-12-11 at 19:20 -0500, Antoni Boucher wrote: > > I'm not sure how to do this. I tried the following commands, but > > this > > fails even on master: > >=20 > > ../../gcc/configure --enable-host-shared --enable- > > languages=3Dc,jit,c++,fortran,objc,lto --enable-checking=3Drelease -- > > disable-werror --prefix=3D/opt/gcc > >=20 > > make bootstrap -j24 > > make -k check -j24 > >=20 > > From what I can understand, the unexpected failures are in g++: > >=20 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=3D=3D=3D g++ Summary =3D=3D=3D > >=20 > > # of expected passes=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A072790 > > # of unexpected failures=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A01 > > # of expected failures=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A01011 > > # of unsupported tests=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A03503 > >=20 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=3D=3D=3D g++ Summary =3D=3D=3D > >=20 > > # of expected passes=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A04750 > > # of unexpected failures=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A027 > > # of expected failures=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A016 > > # of unsupported tests=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A043 > >=20 > >=20 > > Am I doing something wrong? >=20 > I normally do a pair of bootstrap/tests: a "control" build with a > pristine copy of the source tree, and an "experiment" build > containing > the patch(s) of interest, then compare the results.=C2=A0 FWIW given that > each one takes 2 hours on my machine, I normally just do one control > build on a Monday, rebase all my working copies to that revision, and > then use that control build throughout the week for comparison when > testing patches. >=20 > I can have a go at testing an updated patch if you like; presumably > the > latest version is this one: > https://gcc.gnu.org/pipermail/gcc-patches/2023-November/638841.html > right? Thanks. I would appreciate if you do it. Yes, this is the latest patch. >=20 > Dave >=20 >=20 >=20 > >=20 > > On Fri, 2023-12-01 at 12:49 -0500, David Malcolm wrote: > > > On Thu, 2023-11-30 at 17:13 -0500, Antoni Boucher wrote: > > > > Here's the updated patch. > > > > The failure was due to the test being in the test array while > > > > it > > > > should > > > > not have been there since it changes the context. > > >=20 > > > Thanks for the updated patch. > > >=20 > > > Did you do a full bootstrap and regression test with this one, or > > > do > > > you want me to? > > >=20 > > > Dave > > >=20 > >=20 >=20