On 8/20/25 01:40, John Paul Adrian Glaubitz wrote:
This can be worked around by just disabling io_uring support on sh4:

--- libuv1-1.50.0.orig/src/unix/linux.c
+++ libuv1-1.50.0/src/unix/linux.c
@@ -470,6 +470,8 @@ static int uv__use_io_uring(uint32_t fla
  #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;

Is this actually a different bug than powerpc is seeing? Because that bug report _also_ says they're seeing crashes in cmake. Possibly this should just add a third || defined() to the previous line...

Reply via email to