This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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+"$@"}

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]