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-ASN: AS4713 221.184.0.0/13 X-Spam-Status: No, score=-4.1 required=3.0 tests=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 96D8F1F45A for ; Mon, 20 Apr 2020 01:21:45 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 5D535120975; Mon, 20 Apr 2020 10:21:20 +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 6F92712096F for ; Mon, 20 Apr 2020 10:21:18 +0900 (JST) Received: by filterdrecv-p3iad2-8ddf98858-5j4tk with SMTP id filterdrecv-p3iad2-8ddf98858-5j4tk-19-5E9CF920-31 2020-04-20 01:21:36.794510761 +0000 UTC m=+2160849.864881327 Received: from herokuapp.com (unknown) by ismtpd0035p1iad2.sendgrid.net (SG) with ESMTP id 9S8tudclQFGlsiucrHx8VA for ; Mon, 20 Apr 2020 01:21:36.787 +0000 (UTC) Date: Mon, 20 Apr 2020 01:21:36 +0000 (UTC) From: mame@ruby-lang.org Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 73732 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Bug X-Redmine-Issue-Id: 16774 X-Redmine-Issue-Author: schwab X-Redmine-Sender: mame 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?EJh2gqwnyqXtd++xo=2FinyA1V0bXouTB4FkWnzNiKb49zXWVYdWvyRY05nMuO2u?= =?us-ascii?Q?w25fLOiavYR00hZzb75VtCpLv4e2=2F+PiHckJPAw?= =?us-ascii?Q?0aMmrTt60vdqIResZNkAdRadotUCyYxObmwtqWz?= =?us-ascii?Q?zcAZQ5IK6yiRFVm4CRID7hue75eDGOj2WdCgcZF?= =?us-ascii?Q?Wvd882daVIATw+BLi6qltt2tFgcCCNA9AuYtGpB?= =?us-ascii?Q?Imp+OchmUH+NbUSK4=3D?= To: ruby-core@ruby-lang.org X-ML-Name: ruby-core X-Mail-Count: 97971 Subject: [ruby-core:97971] [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 mame (Yusuke Endoh). Great. Thank you. ---------------------------------------- Bug #16774: Don't require sub-word atomics https://bugs.ruby-lang.org/issues/16774#change-85201 * Author: schwab (Andreas Schwab) * Status: Open * 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/