From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from luna.jdemille.com (luna.jdemille.com [168.119.233.50]) by sourceware.org (Postfix) with ESMTPS id 3E6E73858D1E; Mon, 15 Jan 2024 00:51:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3E6E73858D1E Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=jdemille.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=jdemille.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 3E6E73858D1E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=168.119.233.50 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705279884; cv=none; b=s3/1fCLOnc6Ft1C4hcYXtww2BY6xoaKu9MdAhnrDGqGwq6pjpo0hbLDTif32lHGUV6c626czxEJB7fjVhKZXgQClCL4Ar7uN0eIGyIE0MVf3vRW0FUkOvDlWOez7SgQU+7bw7K3+PTnI8Mnx+v403+fWZ2fmDxb1jrVCGpXRKGE= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705279884; c=relaxed/simple; bh=+nKKoWRsJ5JM/bQjiSNo1TsQh6hKkgQ2iKEtwvh5DiU=; h=DKIM-Signature:Message-ID:Date:MIME-Version:From:Subject:To; b=Y4hi+aWJyu9L5wezGGb/1eRqFiOfyCzuymW01PcqvGReL8wLpaWdWiYPt2Knx0EWFaOHBWOUFaIhj00RPyLVaQZcwQZeYOiEkXgGlQq9/K1hNQXY2YUofUvInDJkSLzfcjGY6C1J6wnqsjjQDNTrs2BXctv/p1XLxGOTZ+aF+Sk= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 4D98040CC9; Mon, 15 Jan 2024 00:51:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jdemille.com; s=mc20210101; t=1705279880; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:content-language:in-reply-to:references; bh=+HjTZKC8PbGLnHiptMIi8V8MQlZqgqnMdcdWAhqTe60=; b=GVsT6vuJS4YJLRKpiRHWkwzZ/CKYOvLjQPydLdN56OirFYOkI1bC/eAWrR55bL/w7eN6th uEWTTH7MrEsG419U+fVcIZc+8uROP8/nHU7RcjZVOrxK0wVj09lwVnmDZd8+vXE5atfbjj SWEASpbpu3xI5aOOnpYM8Sl6TsKhjLImVy08VqSjjBIn81TfSp/iv55vuJbBlPTXbglnz/ eXCXWwNUXnqdWUFc6hckcxTSKKffTSWZ2oQRCfSLD2qD667iuw5Cd3BUEU83DchFxTp/bR DpOCIvpB1WsolLQI94ekcdWllH0yJe3PMCZZsRSNTtCEXvD4B9hez5NczOPBlSRsJjKjkj jY9sLcjJ7V9fLiAdU3sEhK044l5f1YbeRKuhjc20KY3Wwg3L8SusUebDPiWiP9fkDcQGt1 mugIXexDUEcPWhr6/k4QIIwrkmyKMW2FfW5uadBFAkyNpIUW39OSJf2owTZNInAOmjcbiP +CQYc9Eoht3W/FtqzXPaDcY1K02vzclzUpzWBWeID08p3y4D8G7r02HAarQF/ZwEum1eGU J85zqC8pp1G4WHCfAQRKfhs99E7OXIFeJpXi/66ByNlKG5oi/THK2mw//F0E6XaPYleW4O YLAGMrzLXRA6bwr89dMsMmUMo/gfOzToj8aO2yr2n5uHQTXvMkgC8= Message-ID: <8acf8aa2-488d-4321-8555-8bdabfa89b23@jdemille.com> Date: Sun, 14 Jan 2024 18:51:13 -0600 MIME-Version: 1.0 User-Agent: Betterbird (Linux) From: Julia DeMille Subject: Re: [PATCH] libsupc++: Fix UB terminating on foreign exception To: Jonathan Wakely Cc: Andrew Pinski , gcc-patches , libstdc++ References: <20240114000534.1775261-1-me@jdemille.com> <4e73bdee-b91d-40f8-8fa2-738e525b8835@jdemille.com> Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Last-TLS-Session-Version: TLSv1.3 X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 2024-01-14 01:52, Jonathan Wakely wrote: > The reason for this is that the ChangeLog files are auto-generated from > the git commit messages, not edited by hand. Patches to those files > rarely apply cleanly anyway, because they change so frequently that > patches are stale almost immediately. Makes sense. I'm new to the GCC mailing lists, so that one was unfamiliar to me. > That would be great thanks. If not obvious, easy instructions for > building the test would be helpful for Rust newbs such as myself! I've actually managed to come up with a much more concise Objective-C demonstration. I've uploaded it at: https://codeberg.org/jdemille/gcc-exception-ub-demo I'm unsure if my patch actually fixes it with this demo -- I need to work out how to use a patched GCC without installing it on my system, but without it breaking from not having things it expects to exist on the system. I'm also going to go make sure that the Objective-C unwind personality is unique, otherwise we could have trouble. -- Thanks, Julia DeMille she/her