Re: gcc 3.3.1 on AIX 5.2?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> 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


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux