comp.lang.ada
 help / color / mirror / Atom feed
From: Frederic Abiven <fabiven@teaser.fr>
Subject: Re: egcs1.1b and gnat3.10p
Date: 1998/12/07
Date: 1998-12-07T01:12:53+00:00	[thread overview]
Message-ID: <m2zp90pxfv.fsf@marius.teaser.fr> (raw)
In-Reply-To: 7429dn$lvj$1@news01.btx.dtag.de



Hello,


Juergen.Pfeifer@t-online.de (Juergen Pfeifer) writes:

> I don't believe that the patch is good enough.
> One suspicious line is Line# 2720. There is
> 
> +           TYPE_SIZE (new_type) = TYPE_SIZE_UNIT (right_type);
> 
> and I believe it should be
> 
> +           TYPE_SIZE_UNIT (new_type) = TYPE_SIZE_UNIT (right_type);

Yes, it's a bug (by the way, it's on line 588 in a-trans4.c)

> Maybe there are more such locations. 

Perhaps ...

> When I applied the patch and built
> it on my Linux box using the bootstrap target of the Makefile, I got
> errors in one of the higher stages in the object file comparision.

Me too.

I think these errors are in change of link step (egcs-1.1b use
collect2) and symbol naming (for debugging purpose).

On my system (Redhat-4.0 + libc.so.5.4.44 + binutils-2.8.1.0.23), i need
another compile stage to suppress errors in the object file comparison.

Because of the use of collect2, gnatlink MUST use the ld of 
binutils-2.8.1.0.15 (or newer). 

> So I decided not to use that. I'm quite happy with my egcs-1.03 based
> GNAT 3.10p on RedHat 5.1 which I built myself.

For me, all tests in the example directory of gnat pass (diners, hello, 
etc ...).

But several other personal tests fail so i don't think this is 
really usable :-(.

Sorry for the trouble.



       -- FA


-- 
-- Frederic Abiven     home : <mailto:Frederic.ABIVEN@teaser.fr>
--




      parent reply	other threads:[~1998-12-07  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-12-01  0:00 egcs1.1b and gnat3.10p grave
1998-12-02  0:00 ` Juergen Pfeifer
     [not found]   ` <m267borf5b.fsf@marius.teaser.fr>
1998-12-07  0:00     ` Richard Kenner
1998-12-07  0:00   ` Frederic Abiven [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox