Browse Source

Refs #696. Turn off stack limit setting on Linux.

I cannot reproduce SEGFAULT of lapack-test with default stack size
on ARM Linux.
tags/v0.2.16^2
Zhang Xianyi 10 years ago
parent
commit
a0debd4293
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      driver/others/memory.c

+ 2
- 1
driver/others/memory.c View 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 )
{


Loading…
Cancel
Save