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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c6a240359af1a030 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Alex R. Mosteo" Newsgroups: comp.lang.ada Subject: Re: Porting problems from Solaris to Redhat Linux using GNAT 5.01a on both. Date: Tue, 19 Jun 2007 13:27:49 +0300 Message-ID: <5dppd7F34po94U1@mid.individual.net> References: <1182243419.220052.230150@c77g2000hse.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: individual.net m5ICWJMrJyIGAOKuGlYtqApzKbISUJ1uOpbLHeR4wO6gK+0XA= User-Agent: KNode/0.10.5 Xref: g2news1.google.com comp.lang.ada:16234 Date: 2007-06-19T13:27:49+03:00 List-Id: petter_fryklund@hotmail.com wrote: > First we got circularity detected in elaboration for a rather complex > generic structure. This does not happen in Solaris. A pragma Suppress > (Elaboration_Check) allowed us to build. But elaboration never > completes. We suspect that a PROGRAM_ERROR has been raise, but see no > trace of it. Last entry of call stack is an instantiation of generic > package that needed pragma Suppress to build. > > Task Display does not work, always empty. > > Any suggestions? Have you tried the -gnatE switch? Elaboration checks by gnat default to a static, more restricted mechanism than required. It helped me in the past, although nowadays I prefer to make my programs buildable without this switch.