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 C02CD6FCB2; Thu, 6 Oct 2022 12:51:30 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org C02CD6FCB2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1665049890; bh=YR+pWK4CNXKAJVomJKdgHorCYtC8sxfwav1vlyHGBGw=; 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=S7PuKkGZiuQkLx7LL6ymsjZUvn493WwWK9cHc04LM7mQJlF7rNDtqaJdDvgW9A8jC navjr6MAesje6eVH5ZQ95Tqt24jICkjUfPEhkJAJzmVqWjHiubepMBJLD5L9qe3APD hi7k7rqZp4pnuPGQcOEgR792iNKdPlmHiFQILrHk= Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com [209.85.208.170]) (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 0B84C6FCB5 for ; Thu, 6 Oct 2022 12:49:13 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 0B84C6FCB5 Received: by mail-lj1-f170.google.com with SMTP id m14so1610959ljg.2 for ; Thu, 06 Oct 2022 02:49:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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; bh=76VZvlBbUHhw9wBmEHTn4FCoGsUgbnZR9xbyO/csglg=; b=ZyMnfAcWZ7f2aD6fpA57DJrvFsG7NjUjZNZBf8uHx2qn8zyTHt5eg/7Y9CN1WBR5uM UqfnCLQgVIjAWoceN2GNMjeT1ufSivErh2nRnzDnJOAp8g+TpXPQQB3pnrNEg0HY/UHQ M72k15iibJ8+PXgxW+FS/6JINgmuJaHRRVNF0Rram8n77wXdkQsqcuRGMKRQQ2PA/71Q sTOJuZ0dHjRtzs7gf0wnUjGp0W5CsyfWytcL6o/kEMFaWBSH0/vtwuS7ly9jufnyXu8P 5wgjhEaus5E6zIrzo7FyR1uK2sR9XQ/996lkfhX8z5hPiR1vqBCVD8X1nwNArrZOeSG4 /gTw== X-Gm-Message-State: ACrzQf3CO5jvImr1xPyEWx31kW5oJWFKnuYgbYLpwAjNfDHaGYvZ6CSY y7Xi1r6zDY/s3ZHYolCxYuppysNuvne1a1y5 X-Google-Smtp-Source: AMsMyM4uru/Zaaw69+YrDTE0iSEORW0288JEls7bmaQRogd1AFedkYY2BvNMeWyVo7kSNJQHDxdcXw== X-Received: by 2002:a05:651c:c88:b0:26d:fea6:36b1 with SMTP id bz8-20020a05651c0c8800b0026dfea636b1mr1499011ljb.433.1665049752314; Thu, 06 Oct 2022 02:49:12 -0700 (PDT) Received: from localhost.localdomain (128-69-252-100.broadband.corbina.ru. [128.69.252.100]) by smtp.gmail.com with ESMTPSA id o20-20020a056512231400b004979ec19380sm2628676lfu.285.2022.10.06.02.49.11 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 06 Oct 2022 02:49:11 -0700 (PDT) To: tarantool-patches@dev.tarantool.org, sergos@tarantool.org, skaplun@tarantool.org Date: Thu, 6 Oct 2022 12:48:48 +0300 Message-Id: <20221006094849.85442-6-max.kokryashkin@gmail.com> X-Mailer: git-send-email 2.32.1 (Apple Git-133) In-Reply-To: <20221006094849.85442-1-max.kokryashkin@gmail.com> References: <20221006094849.85442-1-max.kokryashkin@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH luajit v2 5/6] OSX/ARM64: Disable unwind info. 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: Maksim Kokryashkin via Tarantool-patches Reply-To: Maksim Kokryashkin Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" From: Mike Pall See #698. (cherry picked from commit 78350a2565e1cf1102bcd25be406f02953d4dd3b) External unwinding support is already disabled for OSX on ARM64 platform so there is no point in generation of incorrect unwind info for it. This patch disables that generation for the commit history match, and it will be re-enabled in the next commit, which contains the fix for the issue. Maxim Kokryashkin: * added the description for the problem Needed for tarantool/tarantool#6096 Part of tarantool/tarantool#7230 --- src/vm_arm64.dasc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/vm_arm64.dasc b/src/vm_arm64.dasc index ad57bca3..ccfa72bd 100644 --- a/src/vm_arm64.dasc +++ b/src/vm_arm64.dasc @@ -3990,7 +3990,8 @@ static void emit_asm_debug(BuildCtx *ctx) ".LEFDE3:\n\n", (int)ctx->codesz - fcofs); #endif break; -#if !LJ_NO_UNWIND + /* Disabled until someone finds a fix. See #698. */ +#if !LJ_NO_UNWIND && 0 case BUILD_machasm: { #if LJ_HASFFI int fcsize = 0; -- 2.32.1 (Apple Git-133)