Bug #16774
Don't require sub-word atomics
Description
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
Related issues
Updated by nobu (Nobuyoshi Nakada) 10 months ago
- Backport changed from 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN to 2.5: REQUIRED, 2.6: REQUIRED, 2.7: REQUIRED
Updated by mame (Yusuke Endoh) 9 months ago
- Has duplicate Bug #16800: [riscv64-linux] miniruby: thread_pthread.c:1935: rb_sigwait_fd_put: Assertion `old == th' failed. added
Updated by jeremyevans0 (Jeremy Evans) 5 months ago
- Status changed from Open to Closed
This was committed at abe2e7de4d1f2d5861d7c9ab9c7e778f2ee1dcd2