https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98171

--- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot 
Uni-Bielefeld.DE> ---
> --- Comment #3 from David Edelsohn <dje at gcc dot gnu.org> ---
> gcc119 now is AIX 7.3.  If this doesn't work it won't be fixed.

How do you mean?  What won't be fixed?  Ada on AIX 7.2?  Ada on AIX 7.3?
Ada on AIX in general?

I tried again to build Ada on trunk on gcc119/AIX 7.3, but failed
miserably:

* Last time, while running gcc119 was running AIX 7.2, I'd started from
  gcc 4.1.0 binaries that include GNAT, built for AIX 5.2 (the only ones
  I was able to find).  I'd managed to build first GCC 4.7.4, than 8.4.0
  with Ada included on those.

* Unfortunately, those binaries (except the original 4.1 ones) don't run
  any longer on AIX 7.3:

ro@gcc119 560 > ~/gcc/4.7/bin/gcc -v
exec(): 0509-036 Cannot load program /home/ro/gcc/4.7/bin/gcc because of the
following errors:
        0509-150   Dependent module /usr/lib/libintl.a(libintl.so.9) could not
be loaded.
        0509-152   Member libintl.so.9 is not found in archive 

* I tried to repeat the same multistep bootstrap procedure again on AIX
  7.3.  Unfortunately, I failed miserably in the end:

** I needed a newer inclhack.x to deal with AIX 7.3 _LARGE_FILES issues.

** I also needed to disable _NORETURN in comp_macros.h because g++ 4.1
   couldn't deal with the 7.3 definitions.

** While that allowed me to build the stage 2 gnat1, all sorts of gcc
   invocations like xgcc -dumpspecs just loop.

The question I'd like to have both answered and documented is this:

* Is Ada supposed to bootstrap on trunk on AIX 7.3?

* If so, what bootstrap gnat should I use, both on gcc119 and in
  general?  At least on gcc119, I couldn't find any.

* If this is known not to work, that should be documented in
  install.texi and the language disabled.

I last needed this to check a Ada patch for Solaris where I meant to
make certain it won't break non-Solaris targets.  Knowing not to bother
with AIX would have saved me an enormous amount of time.

Reply via email to