From: schwab@...68k.org Date: 2020-04-10T14:02:34+00:00 Subject: [ruby-core:97800] [Ruby master Bug#16774] Don't require sub-word atomics 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/ Unsubscribe: