X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=include%2Furcu%2Fuatomic%2Friscv.h;h=66a2b0644c61c65492060f2527392a0498207ab6;hb=df5fc97ba8e3f938020eefc67d30242ea7efcb88;hp=a6700e17e2429567fbe1e4e95117bf0c69c7c0f0;hpb=e9b7cb520e0dd1f3591697bb62b6683f01ad6ca5;p=urcu.git diff --git a/include/urcu/uatomic/riscv.h b/include/urcu/uatomic/riscv.h index a6700e1..66a2b06 100644 --- a/include/urcu/uatomic/riscv.h +++ b/include/urcu/uatomic/riscv.h @@ -22,6 +22,23 @@ * IN THE SOFTWARE. */ +/* + * See for details. + * + * Until the following patches are backported, Userspace RCU is broken for the + * RISC-V architecture when compiled with GCC. + * + * - + * - + * - + */ +#if defined(__GNUC__) +# error "Implementations of some atomic operations of GCC for RISC-V \ + are insufficient for sequential consistency. For this reason \ + Userspace RCU is currently marked as 'broken' for RISC-V with \ + GCC. However, it is still possible to use other toolchains." +#endif + #ifndef _URCU_ARCH_UATOMIC_RISCV_H #define _URCU_ARCH_UATOMIC_RISCV_H