From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id 441B46ECCD; Tue, 14 Mar 2023 15:03:26 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 441B46ECCD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1678795406; bh=5XnmjM2onCPcu35xI2FwxSUK6U82+WvMUj7b2d60e2k=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=A/wBogxiUjokicg/Xj5BdyIUU2NiSq1qYYDkzvBnV0aNWccpFmvwx705ktrBXqFz+ pewLcPDe+Gaj8Bo6VPMDaj10idrrPyyt+ZAWIg7SGB+6xLJJnkemji5HWEVBpca0kb oKhegpVdG4Y8SWY1+qGFqtizJ92YUDeuxQ00XplE= Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id DADF5372533 for ; Tue, 14 Mar 2023 15:02:07 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org DADF5372533 Received: by mail-lf1-f41.google.com with SMTP id j11so19645239lfg.13 for ; Tue, 14 Mar 2023 05:02:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678795327; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ys/3SKWTXGEdteysBhpZjY/26WBWzw6gANt6xjsqjLU=; b=WY92ilM3QTAgeBgXiXUygRtarVJYYRAHmjs7d+O39KrxkGK+Ot8kJ6BDN8b3IrYU23 +jKwIlTstnuHh7CYG4TgRPCYVX/CkvZ5pxsUBTS3KjxSiXz9QGd1Ud8jTLGmNziM3gpR vee5gtBQZglD5FdM2Hak2I389K9ndgzyHJ71IdCBNAFggQJzIoepe/eaiEMHMyiVn+mk oXivxKNt7bzlkhbeecclsZztaTx1tyrZWBq9txI5YCdZrB3kUgVH8TX1c10+XkYM97bK wSCtDk5gBsM9DIIgncHKScxfYgqIy/SCGp52zZMiTKsgl8j9tShWf9+cliXfgiIvk/4u K3MA== X-Gm-Message-State: AO0yUKWZkMFvRmDYmPLrk266piIabHFA0HupaQvTxeuxIiN3kB1uq+eT vZ3eVXZ+QJ6xdVn29BJL1o4dP4TQUIEzKA== X-Google-Smtp-Source: AK7set8TLkrS8HLWx6QwPnK8nu1dXdGsq+eUCIBrsKUt2rdXgLf/LSW+sd9jCKZuiP9e96bbILgnKQ== X-Received: by 2002:a05:6512:3910:b0:4de:f9af:475a with SMTP id a16-20020a056512391000b004def9af475amr566125lfu.6.1678795326890; Tue, 14 Mar 2023 05:02:06 -0700 (PDT) Received: from localhost.localdomain (128-69-253-162.broadband.corbina.ru. [128.69.253.162]) by smtp.gmail.com with ESMTPSA id n5-20020ac242c5000000b004db51387ad6sm375106lfl.129.2023.03.14.05.02.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Mar 2023 05:02:06 -0700 (PDT) X-Google-Original-From: Maxim Kokryashkin To: tarantool-patches@dev.tarantool.org, skaplun@tarantool.org, sergos@tarantool.org Date: Tue, 14 Mar 2023 15:01:45 +0300 Message-Id: <30e263089f48f2e57bfae8df96631257cfd67a7a.1678794695.git.m.kokryashkin@tarantool.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH luajit v2 3/5] Disable unreliable assertion for external frame unwinding. X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Maxim Kokryashkin via Tarantool-patches Reply-To: Maxim Kokryashkin Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" From: Mike Pall Broken on Fedora/ARM64. Reported by Yichun Zhang. (cherry-picked from commit e957737650e060d5bf1c2909b741cc3dffe073ac) This patch disables the assertion that failed because of incorrectly constructed unwind information. That debug info generation was fixed in the scope of tarantool/tarantool#6096 with commit b731df1c0392cf7008be2e3c4112e1edb2392de4 ("ARM64: Reorder interpreter stack frame and fix unwinding.") This patch is backported only for consistency. Maxim Kokryashkin: * added the description for the problem Part of tarantool/tarantool#7745 Part of tarantool/tarantool#8069 Relates to tarantool/tarantool#6096 --- src/lj_err.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lj_err.c b/src/lj_err.c index c7fd9e65..f6200233 100644 --- a/src/lj_err.c +++ b/src/lj_err.c @@ -488,7 +488,9 @@ void lj_err_verify(void) ** lj_assertX(_Unwind_Find_FDE((void *)_Unwind_RaiseException, &ehb), "broken build: external frame unwinding enabled, but system libraries have no unwind tables"); */ lua_assert(_Unwind_Find_FDE((void *)lj_err_throw, &ehb)); + /* Check disabled, because of broken Fedora/ARM64. See #722. lua_assert(_Unwind_Find_FDE((void *)_Unwind_RaiseException, &ehb)); + */ } #endif -- 2.39.0