This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GNAT ACT source tree


On Wed, 2003-04-16 at 14:13, Richard Kenner wrote:
>     We have a version of GNAT that should more or less compile with the
>     current GCC HEAD. 
> 
> Compiles and bootstraps (on Alpha Unix), but that's all the testing
> done so far.  There's no point in doing more until the merge from
> gcc-32.dif is done since those patches are needed to fix known bugs.

I succeeded with bootstraping on x86-linux as well by plugging
the ACT CVS sources plus files from gcc-head branch.

I needed to use 5.00 as base compiler to avoid
failures (due to warnings) on the new "Unreferenced" pragma which
is present in ACT sources, I assume ACT is using either 3.16 or 5.00 as
baseline compiler. I assume either Warnings (Off) or Makefile trickery
are needed if we want to preserve 3.2 GNAT as base build compiler.

I needed a small patch to utils2.c which I did not
found in gcc-32.dif:

--- gnat-head/utils2.c   
+++ ./utils2.c
@@ -30,6 +30,7 @@
 #include "tm.h"
 #include "tree.h"
 #include "flags.h"
+#include "output.h"
 #include "ada.h"
 #include "types.h"
 #include "atree.h"

I also removed gnatmem and -lgmem related stuff (list
of object files not including memtrack.o and -laddr2line
not being on my machine) in order to build
gnatlib_and_tools

I found afterwards I should have included this patch from gcc-32.dif
in order to be able to link tasking programs:

2002-09-17  Vincent Celier <celier at gnat dot com>
 
        * configure.in: Add gnat to the list of thread packages
 
2002-09-12  Vincent Celier <celier at gnat dot com>
 
        * gthr-gnat.h, gthr-gnat.c: new sources for implementation of
        --enable-threads=gnat.
        * Makefile.in: Add gthr-gnat.c to LIB2ADDEH.
        * configure: Add gnat to the list of thread packages.
        * config/t-linux: Add gthr-gnat.c to LIB2ADDEH and LIB2ADDEHDEP

Not counting tasking link failures due to this oversight, ACATS run
showed 30 less failures than current CVS head. 

I'll probably be off-net this week-end.

-- 
Laurent Guerby <guerby at acm dot org>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]