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!news1.google.com!postnews.google.com!n60g2000hse.googlegroups.com!not-for-mail From: petter_fryklund@hotmail.com Newsgroups: comp.lang.ada Subject: Re: Porting problems from Solaris to Redhat Linux using GNAT 5.01a on both. Date: Tue, 19 Jun 2007 03:55:37 -0700 Organization: http://groups.google.com Message-ID: <1182250537.808196.165460@n60g2000hse.googlegroups.com> References: <1182243419.220052.230150@c77g2000hse.googlegroups.com> <5dppd7F34po94U1@mid.individual.net> NNTP-Posting-Host: 148.2.192.140 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: posting.google.com 1182250538 4742 127.0.0.1 (19 Jun 2007 10:55:38 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 19 Jun 2007 10:55:38 +0000 (UTC) In-Reply-To: <5dppd7F34po94U1@mid.individual.net> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: n60g2000hse.googlegroups.com; posting-host=148.2.192.140; posting-account=BR1rQA0AAADK6pcQTy1j-a-E35ZLMrdq Xref: g2news1.google.com comp.lang.ada:16235 Date: 2007-06-19T03:55:37-07:00 List-Id: On 19 Juni, 12:27, "Alex R. Mosteo" wrote: > petter_frykl...@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. Thanks for the swift response. Yes, it did not help at all. But perhaps the combination of pragma Suppress and -gnatE? Unfortunatly this is a big application depending on a large infrastructure set using complex generics. I don't understand why it differs between Solaris and Linux, but perhaps same release level is just an illusion. /Petter