--- emacs-27.2/src/sysdep.c.orig	2022-12-17 20:39:59.929378796 +0000
+++ emacs-27.2/src/sysdep.c	2022-12-16 19:57:10.933643998 +0000
@@ -1814,7 +1814,7 @@
   xsignal0 (Qarith_error);
 }
 
-#if defined HAVE_STACK_OVERFLOW_HANDLING && !defined WINDOWSNT
+#if defined HAVE_STACK_OVERFLOW_HANDLING && !defined WINDOWSNT && !defined(__or1k__)
 
 /* Alternate stack used by SIGSEGV handler below.  */
 
