Skip to content

Commit a0debd4

Browse files
committed
Refs #696. Turn off stack limit setting on Linux.
I cannot reproduce SEGFAULT of lapack-test with default stack size on ARM Linux.
1 parent 937493b commit a0debd4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

driver/others/memory.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1365,7 +1365,8 @@ void CONSTRUCTOR gotoblas_init(void) {
13651365
gotoblas_memory_init();
13661366
#endif
13671367

1368-
#if defined(OS_LINUX)
1368+
//#if defined(OS_LINUX)
1369+
#if 0
13691370
struct rlimit curlimit;
13701371
if ( getrlimit(RLIMIT_STACK, &curlimit ) == 0 )
13711372
{

0 commit comments

Comments
 (0)