[lttng-dev] RCU - Bugs in atomic operations for RISC-V with GCC

Olivier Dion odion at efficios.com
Thu Sep 28 13:09:31 EDT 2023


Hi all,

We recently have been informed that the implementation of atomic
operations in GCC for RISC-V have bugs in them [1].  However, the fixing
patches missed the 13.2 release and it does not seem that they have been
back-ported to other versions yet.

For this reasons, we concur that it was best to mark Userspace RCU as
broken for RISC-V when compiling with GCC.  However, it is still
possible to compile Userspace RCU for RISC-V with other toolchains such
as Clang.

Cheers,
Olivier

[1] https://review.lttng.org/c/userspace-rcu/+/10942

-- 
Olivier Dion
EfficiOS Inc.
https://www.efficios.com



More information about the lttng-dev mailing list