This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcc 3.3.1 on AIX 5.2?
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Paul Ripke <stix at stix dot homeunix dot net>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Wed, 08 Oct 2003 15:04:23 -0400
- Subject: Re: gcc 3.3.1 on AIX 5.2?
- References: <8FA81E0C-EF3A-11D7-A3D7-000502638BD0@stix.homeunix.net>
>>>>> Paul Ripke writes:
> Anyone running recent a recent gcc release on AIX 5.2? I've tried
> building gcc 3.3.1 with a mostly-working IBM compiled gcc, and gnumake.
> The error is during the libgcc2 build.
>
> ../../gcc-3.3.1/gcc/libgcc2.c:1161: internal compiler error: in
> extract_insn, at recog.c:2175
>
> Mostly working IBM built gcc is:
>
> Reading specs from
> /usr/bin/../lib/gcc-lib/powerpc-ibm-aix5.1.0.0/2.9-aix51-020209/specs
> gcc version 2.9-aix51-020209
Note that you are using GCC built for AIX 5.1 to build GCC for AIX
5.2 *ON AN AIX 5.2 system*.
You need to delete the cache of "fixed" AIX 5.1 header files in
the GCC installation.
AIX 5.2 includes the atoll() function and the GCC configuration
finds it, but the AIX 5.1 header file in the cache does not declare it.
GCC assumes that atoll() returns an "int" instead of "long long" and
things go downhill from there.
David