From 6b85dbb6dcf09261568d2297833f94150ab4c9e7 Mon Sep 17 00:00:00 2001 From: Zhang Xianyi Date: Wed, 24 Feb 2016 14:18:39 -0500 Subject: [PATCH] Refs #696. Turn off stack limit setting on Linux. I cannot reproduce SEGFAULT of lapack-test with default stack size on ARM Linux. --- driver/others/memory.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/driver/others/memory.c b/driver/others/memory.c index 46623a52e..e0761d784 100644 --- a/driver/others/memory.c +++ b/driver/others/memory.c @@ -1365,7 +1365,8 @@ void CONSTRUCTOR gotoblas_init(void) { gotoblas_memory_init(); #endif -#if defined(OS_LINUX) +//#if defined(OS_LINUX) +#if 0 struct rlimit curlimit; if ( getrlimit(RLIMIT_STACK, &curlimit ) == 0 ) {