Description: build on sh4 fails with io_uring
Author: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Last-Update: 2025-08-20
Forwarded: https://github.com/libuv/libuv/issues/4283
--- a/src/unix/linux.c
+++ b/src/unix/linux.c
@@ -470,6 +470,8 @@
 #elif defined(__powerpc64__) || defined(__ppc64__)
   /* See https://github.com/libuv/libuv/issues/4283. */
   return 0; /* Random SIGSEGV in signal handler. */
+#elif defined(__sh__)
+  return 0;
 #else
   /* Ternary: unknown=0, yes=1, no=-1 */
   static _Atomic int use_io_uring;
