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: Building the Ada compiler... is http://gcc.gnu.org/install/build.htmlcorrect?


Joseph S. Myers writes:

> Any news on having a documented (in the Ada install documentation)
> collection of contributed bootstrap binaries (now including C compilers as
> well as gnat1 and gnatbind), as proposed by Robert Dewar in
> <http://gcc.gnu.org/ml/gcc/2001-02/msg01233.html> (and repeated in various
> subsequent messages)?

I've already built GCC 3.3.2 (C and Ada only), with --disable-nls
--disable-multilib and no additional configure options for

* Solaris 8/SPARC (sparc-sun-solaris2.8)

* Solaris 9/x86 (i386-pc-solaris2.9)

* Tru64 UNIX V4.0F (alpha-dec-osf4.0f)

* Tru64 UNIX V5.1B (alpha-dec-osf5.1b)

Currently I try to get it working on IRIX 6.2/6.5.  While the compiler
proper bootstraps with the change suggested in PR middle-end/6552, make
gnatlib_and_tools only builds the runtime library successfully.  The
freshly built gnatmake prints

__exc_unwind: Error: pc(0x1021075c) not in any .debug_frame table

and just hangs.  This error is from the IRIX 6 libexc.so.  I have no idea
what to do about this and haven't yet tried debugging what's going on
here.  Instead, I'm getting close to have C and Ada binaries from current
mainline for

* IRIX 6.2 (mips-sgi-irix6.2)

* IRIX 6.5 (mips-sgi-irix6.5)

While I would like to have a common base version for all platforms, the
mainline binaries will have to do if no solution for 3.3.x comes up.

There are some open questions:

* What are the consequences of the above workaround on IRIX?  It seems to
  break binary compatibility, so if the underlying middle-end bug is fixed
  and the workaround reverted, we have a problem.

* I don't really want to host the resulting binary distributions.  They
  should be on either gcc.gnu.org or libre.act-europe.fr.

* Unlike the other backends, GNAT isn't currently relocatable: if GCC/GNAT
  is built with the default prefix (/usr/local), but installed with make
  DESTDIR=<somedir>, I get the following error:

$ <somedir>/usr/local/bin/gcc -c conftest.adb    
fatal error, run-time library not installed correctly
cannot locate file system.ads
compilation abandoned

  While this can be worked around using the .gnat_wrapper script
  distributed with ACT's binary distributions, this shouldn't be necessary
  in the first place.

	Rainer

-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University


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