Branch: Tag:

2014-12-04

2014-12-04 19:24:36 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Configure: Improved robustness of stack depth test.

Don't trust the stack depth test if it determines the
stack depth to be 32KB.

Note that Pike requires at least 64KB of stack anyway.

Fixes failure where Pike_INITIAL_STACK_SIZE was set to 32KB,
causing a fatal error during initialization of the run-time.

4350:    pike_cv_initial_stack_size="$x";    fi    done <confdefs.out.2 +  if test "$pike_cv_initial_stack_size" = "32768"; then +  # Some sort of unsupported failure. +  pike_cv_initial_stack_size='' +  fi    ], [pike_cv_initial_stack_size=''])    ulimit -c $old_core_limit    unset old_core_limit