- Alpha, ia64 and ARM architectures depend on GCC 4.x with atomic builtins
support. For ARM this was introduced with GCC 4.4:
http://gcc.gnu.org/gcc-4.4/changes.html.
+ - Linux aarch64 depends on GCC 5.1 or better because prior versions
+ perform unsafe access to deallocated stack.
Clang version 3.0 (based on LLVM 3.0) is supported.
#define __NR_membarrier 283
#endif
+/*
+ * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63293
+ */
+#ifdef URCU_GCC_VERSION
+# if URCU_GCC_VERSION < 50100
+# error Your gcc version performs unsafe access to deallocated stack
+# endif
+#endif
+
#ifdef __cplusplus
}
#endif