From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!f37g2000yqn.googlegroups.com!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: GNAT's stack checking in Ubuntu 9.04 (and Shootout regex-dna) Date: Tue, 4 Aug 2009 00:50:55 -0700 (PDT) Organization: http://groups.google.com Message-ID: <47559b1f-cb97-455b-b76d-98a4f8a834ac@f37g2000yqn.googlegroups.com> References: <4a776a94$0$31878$9b4e6d93@newsspool3.arcor-online.net> <4a776b25$0$31878$9b4e6d93@newsspool3.arcor-online.net> NNTP-Posting-Host: 153.98.68.197 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1249372255 9940 127.0.0.1 (4 Aug 2009 07:50:55 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 4 Aug 2009 07:50:55 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: f37g2000yqn.googlegroups.com; posting-host=153.98.68.197; posting-account=pcLQNgkAAAD9TrXkhkIgiY6-MDtJjIlC User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.12) Gecko/2009070611 Firefox/3.0.12,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:7558 Date: 2009-08-04T00:50:55-07:00 List-Id: Georg Bauhaus wrote on comp.lang.ada: > Georg Bauhaus wrote: > > The GNAT that comes with Ubuntu 9.04 (GCC 4.3.3) > > produces storage errors where GNAT on Debian Lenny > > (GCC 4.3.2) and GNAT 2007 on Windows (4.3.1) don't. > > The latter is 4.1.3, sorry. >From the symptoms you describe and the workaround you found, it seems to me not related to the compiler but rather to the way the kernel is configured. It looks like Ubuntu's default stack size is much smaller than on Debian or Windows. What does "ulimit -s" say on your Ubuntu and Debian? -- Ludovic Brenta.