From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by sourceware.org (Postfix) with ESMTPS id 2525E385043E for ; Tue, 3 Aug 2021 18:39:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 2525E385043E Received: by mail-wm1-x32c.google.com with SMTP id i10-20020a05600c354ab029025a0f317abfso2347676wmq.3 for ; Tue, 03 Aug 2021 11:39:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=tdqM3YQyNg1+svhP5r8v1lyDEgCAwIIb+sjiNfNnfxc=; b=Rx/EqgXFZODZgbWdcpNWfE5G7w/YqyTvNSK/n2f0p03w1eThH33SzkrBPGxDRmwT6A jV8zc6lGDKzbL0dpmVNyGNiXLnQZB0XFcTqGQbFlQ+xmVS1mFyqV65Ltx0C0VyDvYkGi caR3+ny6IhkPr1u4ksQI/HosYyMj0ASjlsQl+LdaTM661Y7wGTk2AEdqsu0UMpXJs2x7 +TXDeWnkK8vb+teNAO+fIb7cVyyYg4MAFTLPyEz/W5WV3ejZFSau5xxvNlh6B7QMIdPa MRsaKtUZiy5PKFYrWjhS+sShbtulAw51Wy46ZTSVksY98Tz6KECJ6Y9FTt3i//3dzw3R /qqg== X-Gm-Message-State: AOAM533/Af2gSj0GQDvebGSuqaMqpVVssa6mc5hKz9JJAryjIlKWpfna ZuQvUDlJpYGOADUQ+CzuRtw= X-Google-Smtp-Source: ABdhPJyqJZTjBK2ueUiKDiSh8Oxbs9kqN8IlQMIPHfNWNmeC0e/vH+Uz3ufkk4MLPrEviKO6v1FUOw== X-Received: by 2002:a1c:7ed8:: with SMTP id z207mr5571873wmc.167.1628015949098; Tue, 03 Aug 2021 11:39:09 -0700 (PDT) Received: from [192.168.1.214] (host81-138-1-83.in-addr.btopenworld.com. [81.138.1.83]) by smtp.googlemail.com with ESMTPSA id k17sm15377397wrw.53.2021.08.03.11.39.08 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Aug 2021 11:39:08 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.21\)) Subject: Re: [PATCH] Objective-C: don't require redundant -fno-objc-sjlj-exceptions for the NeXT v2 ABI From: Iain Sandoe In-Reply-To: Date: Tue, 3 Aug 2021 19:39:07 +0100 Cc: Eric Gallager , gcc-patches Content-Transfer-Encoding: quoted-printable Message-Id: <1393D6BA-64E1-4965-BF07-4DF9394A390F@googlemail.com> References: <7A5B0FDB-BE51-4801-96A1-6C83899F3D0C@me.com> To: Matt Jacobson X-Mailer: Apple Mail (2.3445.104.21) X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Aug 2021 18:39:12 -0000 > On 2 Aug 2021, at 22:37, Matt Jacobson via Gcc-patches = wrote: >=20 >> On Aug 2, 2021, at 5:09 PM, Eric Gallager = wrote: >>=20 >> On Wed, Jul 28, 2021 at 11:36 PM Matt Jacobson via Gcc-patches >> wrote: >>>=20 >>> As is, an invocation of GCC with -fnext-runtime -fobjc-abi-version=3D2= crashes, >>> unless target-specific code adds an implicit = -fno-objc-sjlj-exceptions (which >>> Darwin does). >>>=20 >>> This patch makes the general case not crash. >>>=20 >>> I don't have commit access, so if this patch is suitable, I'd need = someone else >>> to commit it for me. Thanks. >>=20 >> Is there a bug open for the issue that this fixes? Just wondering for >> cross-referencing purposes... >=20 > No, I didn=E2=80=99t file a bug for this one, just sent the patch = directly. Hope=20 > that=E2=80=99s OK. If not, happy to file one. I have this on my TODO (and in my =E2=80=9Cto apply=E2=80=9D patch queue = - IMO it=E2=80=99s OK as an interim solution - but I think in the longer term it would be better to make = fobjc-sjlj-exceptions into a NOP, since the exception models are fixed for NeXT runtime = (unless you have some intent to update the 32bit one to use DWARF unwinding ;-) ). thanks Iain