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=-3.8 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,URIBL_BLOCKED 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 AB3221F66E for ; Fri, 28 Aug 2020 21:49:46 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 6CCF1120AB3; Sat, 29 Aug 2020 06:49:12 +0900 (JST) Received: from o1678948x4.outbound-mail.sendgrid.net (o1678948x4.outbound-mail.sendgrid.net [167.89.48.4]) by neon.ruby-lang.org (Postfix) with ESMTPS id 421AE1209D9 for ; Sat, 29 Aug 2020 06:49:11 +0900 (JST) Received: by filterdrecv-p3iad2-787bb5c9bc-s4bxz with SMTP id filterdrecv-p3iad2-787bb5c9bc-s4bxz-18-5F497BF0-4 2020-08-28 21:49:36.065558038 +0000 UTC m=+100197.126937281 Received: from herokuapp.com (unknown) by ismtpd0055p1mdw1.sendgrid.net (SG) with ESMTP id YH4Wf_2gTmWIMmkztFGhPA for ; Fri, 28 Aug 2020 21:49:35.939 +0000 (UTC) Date: Fri, 28 Aug 2020 21:49:36 +0000 (UTC) From: merch-redmine@jeremyevans.net Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 75593 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Bug X-Redmine-Issue-Id: 16774 X-Redmine-Issue-Author: schwab X-Redmine-Sender: jeremyevans0 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?RVE3t853K5scBhbmJHUzZTFFeVC=2FZSUmHZ0Dc+26wcEi2CTgsF1oz0wTSSxGGN?= =?us-ascii?Q?BIj1K=2Fnvpb634t8=2FKIpPukoMsXa+E5LszVhEM4j?= =?us-ascii?Q?0FO5GNUU6FMTUN1jBC1Duj2sFl58Ep8FPsB44Wo?= =?us-ascii?Q?3gfm8nQroORP6ypBLbReS37gBpog9OFTH1TfMwN?= =?us-ascii?Q?U9xDNC+CxqUjGLBkwqwoUEFy1rwqn7DgNLhoVdS?= =?us-ascii?Q?WKL8C7+fLKdgA0Z4M=3D?= To: ruby-core@ruby-lang.org X-ML-Name: ruby-core X-Mail-Count: 99761 Subject: [ruby-core:99761] [Ruby master Bug#16774] Don't require sub-word atomics 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 #16774 has been updated by jeremyevans0 (Jeremy Evans). Status changed from Open to Closed This was committed at commit:abe2e7de4d1f2d5861d7c9ab9c7e778f2ee1dcd2 ---------------------------------------- Bug #16774: Don't require sub-word atomics https://bugs.ruby-lang.org/issues/16774#change-87265 * Author: schwab (Andreas Schwab) * Status: Closed * Priority: Normal * Backport: 2.5: REQUIRED, 2.6: REQUIRED, 2.7: REQUIRED ---------------------------------------- On some architectures (like RISC-V) sub-word atomics are only available when linking against -latomic, but the configure script doesn't do that, causing the atomic checks to fail and the resulting ruby binary is non-functional. Ruby does not use sub-word atomic operations, rb_atomic_t is defined to unsigned int, so use unsigned int when checking for atomic operations. ---Files-------------------------------- 0001-Don-t-require-sub-word-atomics.patch (1.41 KB) -- https://bugs.ruby-lang.org/