blob: b0de031f168d60d18fe00b143c1ccf74a38df7f3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
See-also: https://inbox.vuxu.org/musl/D3S38EL8UO9V.U731IQFLR32X@ayaya.dev/
--- glib-2.84.0/glib/tests/unix.c.old 2025-03-06 07:09:13.000000000 -0600
+++ glib-2.84.0/glib/tests/unix.c 2025-05-04 21:55:45.796547202 -0500
@@ -588,13 +588,13 @@
#ifndef SA_ONSTACK
g_test_skip ("alternate stack is not supported");
#else
- size_t minsigstksz = MINSIGSTKSZ;
+ size_t minsigstksz = 32768;
guint8 *stack_memory = NULL;
guint8 *zero_mem = NULL;
stack_t stack = { 0 };
stack_t old_stack = { 0 };
-#ifdef _SC_MINSIGSTKSZ
+#if 0
/* Use the kernel-provided minimum stack size, if available. Otherwise default
* to MINSIGSTKSZ. Unfortunately that might not be big enough for huge
* register files for big CPU instruction set extensions. */
|