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

--- Comment #5 from dje.gcc at gmail dot com <dje.gcc at gmail dot com> ---
IBM AIX has changed libintl and older versions are not in the default
path.  There may be other versions installed on the system in different
paths (/usr/lib, /opt/cfarm, etc.) that could work with LIBPATH overrides.

AIX no longer is a secondary platform for GCC releases.  GCC is no longer
actively maintained on AIX.

On Mon, Oct 28, 2024 at 8:36 AM ro at CeBiTec dot Uni-Bielefeld.DE <
gcc-bugzi...@gcc.gnu.org> wrote:

> 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.
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.

Reply via email to