cannot compute suffix of object files: cannot compile: -a64 unsupported

dellair jie dellair@gmail.com
Tue Nov 26 11:13:00 GMT 2013


Dear Jonathan,

Thanks for the reply and information shared.

We are not able to compile the GMP/MPFR/MPC libraries via prerequisite
script as the server is not connected to internet either. Hence we can
only compile them separately.
The libraries we compile are static libraries, and after the
compilation, a "make check" has been done in order for accuracy.

I did follow your guide to check the config.log under sub-directory,
in this case libgcc, and the log was attached in first email.
It failed at "Fatal error: -a64 unsupported" and it is very confusing
cause there's nowhere to find the a64 option in command/arguments.

Could it be incompatibility of AIX6.1 and GCC 4.4.5 and XLC 10.1?

Thanks,
Dellair

On Mon, Nov 25, 2013 at 11:22 PM, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
> On 25 November 2013 19:13, dellair jie wrote:
>> Folks,
>>
>> I am compiling GCC 4.4.5 on AIX 6.1 with xlc 10.1.
>>
>> GMP, MPFR, MPC are compiled because we have no root control over the server.
>
> Then you should probably build then in-tree, not install them
> separately. See http://gcc.gnu.org/wiki/InstallingGCC
>
>> configure:2627: error: in `/gcc/powerpc-ibm-aix6.1.0.0/ppc64/libgcc':
>> configure:2629: error: cannot compute suffix of object files: cannot compile
>> See `config.log' for more details.
>
> Have you read http://gcc.gnu.org/wiki/FAQ#configure_suffix ?
>
> If you follow the instructions at
> http://gcc.gnu.org/wiki/InstallingGCC it will probably solve your
> problem.



More information about the Gcc-help mailing list