Refs #696. Turn off stack limit setting on Linux.
authorZhang Xianyi <traits.zhang@gmail.com>
Wed, 24 Feb 2016 19:18:39 +0000 (14:18 -0500)
committerZhang Xianyi <traits.zhang@gmail.com>
Wed, 24 Feb 2016 19:21:42 +0000 (14:21 -0500)
I cannot reproduce SEGFAULT of lapack-test with default stack size
on ARM Linux.

driver/others/memory.c

index 46623a5..e0761d7 100644 (file)
@@ -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 )
    {