From: mame@ruby-lang.org
To: ruby-core@ruby-lang.org
Subject: [ruby-core:97971] [Ruby master Bug#16774] Don't require sub-word atomics
Date: Mon, 20 Apr 2020 01:21:36 +0000 (UTC) [thread overview]
Message-ID: <redmine.journal-85201.20200420012136.8690@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-16774.20200410140234.8690@ruby-lang.org
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/
next prev parent reply other threads:[~2020-04-20 1:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-10 14:02 [ruby-core:97800] [Ruby master Bug#16774] Don't require sub-word atomics schwab
2020-04-20 1:21 ` mame [this message]
2020-08-28 21:49 ` [ruby-core:99761] " merch-redmine
2021-03-20 4:57 ` [ruby-core:102942] " nagachika00
2021-04-05 0:05 ` [ruby-core:103228] " usa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.ruby-lang.org/en/community/mailing-lists/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=redmine.journal-85201.20200420012136.8690@ruby-lang.org \
--to=ruby-core@ruby-lang.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).