avoid heap overflows in cross-compiler before startup
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@321 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
d108f4123c
commit
ed4afb5ca2
4
configure
vendored
4
configure
vendored
@ -1817,10 +1817,10 @@ else
|
|||||||
yap_cv_trail_space=0
|
yap_cv_trail_space=0
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
if test $tabling = yes -o $orparallelism = yes
|
if test $tabling = yes -o $orparallelism = yes -o "$CC" = "sslittle-na-sstrix-gcc"
|
||||||
then
|
then
|
||||||
cat >>confdefs.h <<\EOF
|
cat >>confdefs.h <<\EOF
|
||||||
#define MinHeapSpace (300*SIZEOF_INT_P)
|
#define MinHeapSpace (400*SIZEOF_INT_P)
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
cat >>confdefs.h <<\EOF
|
cat >>confdefs.h <<\EOF
|
||||||
|
@ -102,9 +102,9 @@ AC_ARG_WITH(trail-space,
|
|||||||
fi,
|
fi,
|
||||||
[yap_cv_trail_space=0])
|
[yap_cv_trail_space=0])
|
||||||
|
|
||||||
if test $tabling = yes -o $orparallelism = yes
|
if test $tabling = yes -o $orparallelism = yes -o "$CC" = "sslittle-na-sstrix-gcc"
|
||||||
then
|
then
|
||||||
AC_DEFINE(MinHeapSpace, (300*SIZEOF_INT_P))
|
AC_DEFINE(MinHeapSpace, (400*SIZEOF_INT_P))
|
||||||
AC_DEFINE(MinStackSpace,(300*SIZEOF_INT_P))
|
AC_DEFINE(MinStackSpace,(300*SIZEOF_INT_P))
|
||||||
AC_DEFINE(MinTrailSpace,( 48*SIZEOF_INT_P))
|
AC_DEFINE(MinTrailSpace,( 48*SIZEOF_INT_P))
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user