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=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,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 727001F5AD for ; Fri, 10 Apr 2020 14:02:49 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id EC3B3120B2F; Fri, 10 Apr 2020 23:02:19 +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 42420120B2C for ; Fri, 10 Apr 2020 23:02:16 +0900 (JST) Received: by filterdrecv-p3iad2-8ddf98858-fmgmf with SMTP id filterdrecv-p3iad2-8ddf98858-fmgmf-19-5E907C7A-DC 2020-04-10 14:02:34.714010841 +0000 UTC m=+1342505.119018900 Received: from herokuapp.com (unknown) by ismtpd0031p1iad2.sendgrid.net (SG) with ESMTP id 6hW0otdcStuIB7rLO4-b7w for ; Fri, 10 Apr 2020 14:02:34.634 +0000 (UTC) Date: Fri, 10 Apr 2020 14:02:34 +0000 (UTC) From: schwab@linux-m68k.org Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 73560 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Bug X-Redmine-Issue-Id: 16774 X-Redmine-Issue-Author: schwab X-Redmine-Sender: schwab 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?RpMDG9nek1pTm9991l+g061DlN9ReqTTLrPcjvpggszjkhpszSlfYp4pbO=2FQiE?= =?us-ascii?Q?mMDu8VnlmPvQoew=2FlLEz4m+gTq0k8t58WDeXPMJ?= =?us-ascii?Q?+qJHAiPqrIm3oKoMbzVbD4sHENE7odIVarD8tbN?= =?us-ascii?Q?=2FBB41G3cH5I=2FH8EPXQdPCdA7rGMAQ2WiKsOuesz?= =?us-ascii?Q?+NOV6xK7SJ2RLa9JpGelJfIEZu9sFkc5NP6NI+i?= =?us-ascii?Q?QNk4QOILkKCYcBuJs=3D?= To: ruby-core@ruby-lang.org X-ML-Name: ruby-core X-Mail-Count: 97800 Subject: [ruby-core:97800] [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 reported by schwab (Andreas Schwab). ---------------------------------------- Bug #16774: Don't require sub-word atomics https://bugs.ruby-lang.org/issues/16774 * Author: schwab (Andreas Schwab) * Status: Open * Priority: Normal * Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN ---------------------------------------- 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/