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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,dc258f772c852a1b,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!newscon02.news.prodigy.com!prodigy.net!newsmst01b.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr21.news.prodigy.com.POSTED!660be329!not-for-mail From: "Kevin K" Message-ID: Newsgroups: comp.lang.ada Subject: GNAT GPL for Mac OSX stack checking problem User-Agent: ProNews/2 V1.57.cp107 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 68.92.114.81 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr21.news.prodigy.com 1128638828 ST000 68.92.114.81 (Thu, 06 Oct 2005 18:47:08 EDT) NNTP-Posting-Date: Thu, 06 Oct 2005 18:47:08 EDT Organization: SBC http://yahoo.sbc.com X-UserInfo1: FKPGW[[B^RRARTD[KROD]_\@VR]^@B@MCPWZKB]MPXHBTWICYFWUQBKZQLYJX\_ITFD_KFVLUN[DOM_A_NSYNWPFWNS[XV\I]PZ@BQ[@CDQDPCL^FKCBIPC@KLGEZEFNMDYMKHRL_YYYGDSSODXYN@[\BK[LVTWI@AXGQCOA_SAH@TPD^\AL\RLGRFWEARBM Date: Thu, 06 Oct 2005 22:47:08 GMT Xref: g2news1.google.com comp.lang.ada:5469 Date: 2005-10-06T22:47:08+00:00 List-Id: I've downloaded the new 2005 GPL edition for the Mac (of which I am NOT an expert, having the computer for only 2 weeks). I wrote a test program using tasks, namely a program with 10 tasks, of 10Meg each. However, even when compiled with the -fstack-check option, not only is the virtual memory usage not anywhere close to the the 100meg expected, but when run, when I attempt to get a storage_error, I get an illegal instruction instead. This same test procedure compiled on the Linux version of Gnat 2005, running Centos4, runs as expected. I guess the question is what is the maximum stack size of a task under OSX? (10.4 with all available patches) Is there a missing option I need to do when compiling or linking under OSX? I know that Windows has some special options. The test driver is available for posting. Thanks, Kevin --