Module Name:    src
Committed By:   christos
Date:           Sun Jan 19 16:51:53 UTC 2025

Modified Files:
        src/external/lgpl2/userspace-rcu/dist/include/urcu/uatomic: riscv.h

Log Message:
unbreak the build since nothing uses the library for now.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
    src/external/lgpl2/userspace-rcu/dist/include/urcu/uatomic/riscv.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/lgpl2/userspace-rcu/dist/include/urcu/uatomic/riscv.h
diff -u src/external/lgpl2/userspace-rcu/dist/include/urcu/uatomic/riscv.h:1.1.1.1 src/external/lgpl2/userspace-rcu/dist/include/urcu/uatomic/riscv.h:1.2
--- src/external/lgpl2/userspace-rcu/dist/include/urcu/uatomic/riscv.h:1.1.1.1	Fri Jan 17 11:00:49 2025
+++ src/external/lgpl2/userspace-rcu/dist/include/urcu/uatomic/riscv.h	Sun Jan 19 11:51:53 2025
@@ -26,7 +26,7 @@
  *  - <https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=d199d2e56da2379004e7e0457150409c0c99d3e6>
  */
 #ifdef URCU_GCC_VERSION
-# if (URCU_GCC_VERSION < 130300)
+# if (URCU_GCC_VERSION < 130300) && !defined(__NetBSD__)
 #  error "Implementations of some atomic operations of GCC < 13.3.0 for RISC-V are insufficient for sequential consistency. For this reason Userspace RCU is currently marked as 'broken' for RISC-V on these GCC versions."
 # endif
 #endif

Reply via email to