This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Fix PR ada/42170
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 25 Nov 2009 12:03:37 +0100
- Subject: Fix PR ada/42170
As reported by Dave, 8MB of stack isn't enough to execute ACATS on HPPA/Linux
(it's apparently sufficient everywhere else, including on IA-64) so this patch
bumps the limit to 16MB.
Tested on i586-suse-linux and x86_64-suse-linux, applied on the mainline.
2009-11-25 Eric Botcazou <ebotcazou@adacore.com>
John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR ada/42170
* ada/acats/run_acats: Bump stack limit to 16MB.
--
Eric Botcazou
Index: run_acats
===================================================================
--- run_acats (revision 154431)
+++ run_acats (working copy)
@@ -52,7 +52,7 @@ echo exec gnatmake '"$@"' >> host_gnatma
chmod +x host_gnatmake
-# Limit the stack to 8MB for stack checking
-ulimit -s 8192
+# Limit the stack to 16MB for stack checking
+ulimit -s 16384
exec $testdir/run_all.sh ${1+"$@"}