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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!81.171.118.63.MISMATCH!peer03.fr7!futter-mich.highwinds-media.com!news.highwinds-media.com!fx12.fr7.POSTED!not-for-mail Subject: Re: gnatbind get stack overflow, how do I investigate the cause? Newsgroups: comp.lang.ada References: From: Per Sandberg User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Message-ID: X-Complaints-To: abuse@usenet.se NNTP-Posting-Date: Thu, 30 Mar 2017 16:22:07 UTC Organization: usenet.se Date: Thu, 30 Mar 2017 18:22:07 +0200 X-Received-Bytes: 1734 X-Received-Body-CRC: 3741926222 Xref: news.eternal-september.org comp.lang.ada:46508 Date: 2017-03-30T18:22:07+02:00 List-Id: Hi I did the same journey a on our system many years ago, and it was "interesting" since we found a whole bunch of serious bugs just by follow up on warnings and later enable all validity checks. You might increase the stacksize with: -dnn[k|m] Default primary stack size = nn [kilo|mega] bytes -Dnn[k|m] Default secondary stack size = nn [kilo|mega] bytes from "gnatbind -h" And expect a bunch of elaboration circles that needs to be broken out by factoring out generics and separates into child packages. And as Anh mentions ask AdaCore, since they usually gives good answers. /Per Den 2017-03-30 kl. 15:00, skrev Petter Fryklund: > Hi all, > > after a couple of years with C# I'm back! I am currently porting a large project from Ada-95 in ObjectAda to GNAT 17, first on Linux and later on W7. I've managed to compile the all files, but gnatbind hits a stack overflow. How do I get more information about the cause? > > Regards, > Petter >