64 Bit Configure fails on Power5 AIX 6.1 platform

Doug Dawson Doug.Dawson at csfi.com
Tue Apr 15 21:11:22 UTC 2014


Attempted  'ABI=mode64' using gmp-5.0.5. The only environmental set is 'OBJECT_MODE=64'.

AIX:doug:0> ./configure --prefix=/opt/freeware --disable-shared ABI=mode64
checking build system type... powerpc-ibm-aix6.1.0.0
checking host system type... powerpc-ibm-aix6.1.0.0
checking for a BSD-compatible install... /opt/freeware/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /opt/freeware/bin/mkdir -p
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
configure: error: ABI=mode64 is not among the following valid choices: 32


Attempted '--build=powerpc64-ibm-aix6.1.0.0' using gmp-5.0.5. Again the only environmental that is set is 'OBJECT_MODE=64'.

AIX:doug:0> ./configure --prefix=/opt/freeware --disable-shared --build=powerpc64-ibm-aix6.1.0.0
checking build system type... powerpc64-ibm-aix6.1.0.0
checking host system type... powerpc64-ibm-aix6.1.0.0
checking for a BSD-compatible install... /opt/freeware/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /opt/freeware/bin/mkdir -p
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking ABI=aix64
checking compiler gcc  ... no
checking ABI=32
checking compiler gcc  ... no
configure: error: could not find a working compiler, see config.log for details
AIX:doug:0>


*** Added the 'CPPFLAGS=-maix64' and 'CFLAGS=-maix64' back into the environment and the './configure --prefix=/opt/freeware --disable-shared --build=powerpc64-ibm-aix6.1.0.0' was successful with gmp-5.0.5.


Thanks and best regards,

Doug


-----Original Message-----
From: leif [mailto:not.really at online.de] 
Sent: Tuesday, April 15, 2014 2:53 PM
To: gmp-bugs at gmplib.org
Cc: Marc Glisse; Doug Dawson
Subject: Re: 64 Bit Configure fails on Power5 AIX 6.1 platform

Marc Glisse wrote:
> On Tue, 15 Apr 2014, Doug Dawson wrote:
>
>> gmp-5.0.5
>
> Why? Please try a more recent version.

And, more or less regardless of the GMP version, I'd strongly suggest to
*not* set CPP/C/CXX/LDFLAGS by yourself, but instead use

     ./configure ... ABI=mode64

or, perhaps less recommendable for a native build,

     ./configure ... --build=powerpc64-ibm-aix6.1.0.0

if you want a 64-bit build, unless you really know what you're doing... ;-)

(GMP should then figure out the appropriate flags by itself.  You could afterwards still run 'configure' again, feeding it with slightly modified flags if needed.)


-leif

--
() The ASCII Ribbon Campaign
/\   Help Cure HTML E-Mail


More information about the gmp-bugs mailing list