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 1219C6F3D4; Mon, 26 Sep 2022 18:57:45 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 1219C6F3D4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1664207865; bh=+ZH0Dd9Jt9OR+BQgpoIrgDDf3T//DQDeCf7ugndrMw4=; 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=eqmz5T77kXmACVP09INvP5NgeCEc1APd1C9CI9o6NDL5f634peCIRZ7t/qlvuZteK 8jjq5bSWe02FipYrLi0GVlSyHtlLEvlQ+F5IHzheEXAj0yCsvZZ3PkbI7ONbjpk8jJ qftquBNNoPu5YwYp2/dVTKj9GvG8PsvEeNO/D9/c= Received: from mail-lj1-f176.google.com (mail-lj1-f176.google.com [209.85.208.176]) (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 8040A6FC92 for ; Mon, 26 Sep 2022 18:55:26 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 8040A6FC92 Received: by mail-lj1-f176.google.com with SMTP id a14so7940387ljj.8 for ; Mon, 26 Sep 2022 08:55:26 -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=svR49p8GQudSPDwl0iobLqiVEIxVdS5daO8zm9mA4z4=; b=g9pIYCvhGYtgJ2QxxLWEKNs4jogjxuRbNswFjC7KzG2PJfFPIPfciPZxr8mDZotts9 +367vrN+6c+MIf8e8yK4Zr/A0noNkuCM8juEAbQOf7LHLsj0OAWytRqydFBycLlqQWfx HBXIm5E5xStRxiSfwZ9IOEQ3ciDaMpfyTKHY8J/Jsudz72nTISanMEZ9W+OnxFLnoyhb LrGeeF4msYZuknfIqMEVJg9aU6aXhmqwY8OWpjTYQgQTCsga+ZutsjJ87VqiDlwZirdO zvg7AQecWwRTm71yQVc2ki+Gr+B9gh2HvPUqRqBSkZSnkgYdVkyFxq61UNcoBHkkLJG8 Jx7Q== X-Gm-Message-State: ACrzQf0SF3qBre69kVePQ+/s+izmOrT7inrPDqOy8W1WR2YJkUonBp7x ITeTaNB92/wYpCHVEpf1BYTCt0ipW9VkpQ== X-Google-Smtp-Source: AMsMyM6IldlzmV6yRuQvXhtyyBsasfMt7ieJGnb0zlAWdyvnHX2R4Vt3KTsl4+Eq16VyjVCRylv64Q== X-Received: by 2002:a2e:a913:0:b0:25d:3128:21af with SMTP id j19-20020a2ea913000000b0025d312821afmr7970241ljq.58.1664207725606; Mon, 26 Sep 2022 08:55:25 -0700 (PDT) Received: from localhost.localdomain (128-69-252-100.broadband.corbina.ru. [128.69.252.100]) by smtp.gmail.com with ESMTPSA id v6-20020a056512348600b0048af9576d30sm2574400lfr.83.2022.09.26.08.55.24 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 26 Sep 2022 08:55:25 -0700 (PDT) To: tarantool-patches@dev.tarantool.org, sergos@tarantool.org, skaplun@tarantool.org Date: Mon, 26 Sep 2022 18:55:02 +0300 Message-Id: <465b76e54c06f083954f54f6394e1d79c8be5e48.1664207262.git.max.kokryashkin@gmail.com> X-Mailer: git-send-email 2.32.1 (Apple Git-133) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH luajit 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 LuaJIT/LuaJIT#698. (cherry picked from commit 78350a2565e1cf1102bcd25be406f02953d4dd3b) External unwinding support is already disabled for OSX on ARM64 platfrom so there is no point in generation of incorrect unwind info for it. This patch disables that generation. Maxim Kokryashkin: * added the description for the problem Needed for tarantool/tarantool#6096 Needed for 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)