From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=AWL,BAYES_00, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS, UNPARSEABLE_RELAY shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by dcvr.yhbt.net (Postfix) with ESMTP id 2B4A21F4B4 for ; Tue, 29 Sep 2020 12:36:39 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 9E9D2120A5C; Tue, 29 Sep 2020 21:36:02 +0900 (JST) Received: from xtrwkhkc.outbound-mail.sendgrid.net (xtrwkhkc.outbound-mail.sendgrid.net [167.89.16.28]) by neon.ruby-lang.org (Postfix) with ESMTPS id 6B3EB120A5A for ; Tue, 29 Sep 2020 21:36:00 +0900 (JST) Received: by filterdrecv-p3mdw1-5dd6bc5999-v72xf with SMTP id filterdrecv-p3mdw1-5dd6bc5999-v72xf-18-5F732A50-4E 2020-09-29 12:36:32.896162337 +0000 UTC m=+657477.961307008 Received: from herokuapp.com (unknown) by ismtpd0049p1mdw1.sendgrid.net (SG) with ESMTP id KfBwvxpSSFme3kZQ24RcYA for ; Tue, 29 Sep 2020 12:36:32.839 +0000 (UTC) Date: Tue, 29 Sep 2020 12:36:32 +0000 (UTC) From: hsbt@ruby-lang.org Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 76053 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Bug X-Redmine-Issue-Id: 17202 X-Redmine-Issue-Author: hsbt X-Redmine-Sender: hsbt X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-SG-EID: =?us-ascii?Q?9+ToIm+BmphpEzrVEr2fqVDpB0VofQNbgfqsVvtPdY1Qsud3Lm3frPzWQcA=2FDl?= =?us-ascii?Q?dNGReDHsQzFDBP5hzpPK7wTKWB3h91hKIncOKwM?= =?us-ascii?Q?evYzrvHzxht7DzwNPaR75xMbTZvnmScBGn1lfyj?= =?us-ascii?Q?AlE5dJzwFLsZKAVEz1qKNAox4tTg5KWNAzmemgY?= =?us-ascii?Q?hY4qP=2Ftll8=2FW1F0NtAoHqw=2FEwuxHSfG3nPbdCWq?= =?us-ascii?Q?AFExQQk+oaSD2LBoI=3D?= To: ruby-core@ruby-lang.org X-ML-Name: ruby-core X-Mail-Count: 100212 Subject: [ruby-core:100212] [Ruby master Bug#17202] Backport for Apple Silicon X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" Issue #17202 has been updated by hsbt (Hiroshi SHIBATA). Backport changed from 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: REQUIRED to 2.5: UNKNOWN, 2.6: REQUIRED, 2.7: REQUIRED I also confirmed to build the following patch and https://github.com/ruby/ruby/commit/87f6154bb4c67ca77ee353bb1fe25a922036c0e5 on ruby_2_6 branch. ``` diff --git a/configure.ac b/configure.ac index 2c4d2888d2..e9bf833668 100644 --- a/configure.ac +++ b/configure.ac @@ -2319,6 +2319,9 @@ AS_CASE(["$rb_cv_fiber_coroutine"], [yes|''], [ [x*64-darwin*], [ rb_cv_fiber_coroutine=amd64 ], + [arm64-darwin*], [ + rb_cv_coroutine=arm64 + ], [x*64-linux], [ AS_CASE(["$ac_cv_sizeof_voidp"], [8], [ rb_cv_fiber_coroutine=amd64 ], ``` ---------------------------------------- Bug #17202: Backport for Apple Silicon https://bugs.ruby-lang.org/issues/17202#change-87801 * Author: hsbt (Hiroshi SHIBATA) * Status: Closed * Priority: Normal * Backport: 2.5: UNKNOWN, 2.6: REQUIRED, 2.7: REQUIRED ---------------------------------------- I confirmed to build with the following patch on ruby_2_7 branch for macOS Big Sur and ARM mac mini. https://github.com/ruby/ruby/commit/23655e6de5ee989feb8c65c7061fe9a71579dc54 https://github.com/ruby/ruby/commit/87f6154bb4c67ca77ee353bb1fe25a922036c0e5 -- https://bugs.ruby-lang.org/