64 Bit Configure fails on Power5 AIX 6.1 platform

Doug Dawson Doug.Dawson at csfi.com
Tue Apr 15 15:39:58 UTC 2014


gmp-5.0.5

Configure fails to detect 64 bit on AIX 6.1 with PowerPC_POWER5 CPU.

AIX:doug:1> prtconf | grep -i "Processor Type"
Processor Type: PowerPC_POWER5

AIX:doug:1> ./configfsf.guess
powerpc-ibm-aix6.1.0.0

AIX:doug:1> ./config.guess
powerpc-ibm-aix6.1.0.0

AIX:doug:1> gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/opt/freeware/libexec/gcc/powerpc-ibm-aix6.1.0.0/4.7.2/lto-wrapper
Target: powerpc-ibm-aix6.1.0.0
Configured with: configure --prefix=/opt/freeware --enable-languages=c,c++ --enable-threads=posix --disable-nls --with-gmp=/opt/freeware --with-mpfr=/opt/freeware --with-mpc=/opt/freeware --disable-libstdcxx-pch
Thread model: aix
gcc version 4.7.2 (GCC)

ENVIRONMENT
AIX:doug:1> set |grep 64
CFLAGS=-maix64
CPPFLAGS=-maix64
LDFLAGS=-maix64
LIBPATH=/opt/freeware/lib64:/usr/local64/lib:/usr/local/lib:/home/informix/lib:/h    oracle/10.2/lib:/home/informix/lib/esql
OBJECT_MODE=64

AIX:doug:1> ./configure --prefix=/opt/freeware --disable-shared
checking build system type... powerpc-ibm-aix6.1.0.0
.......................

checking for suitable m4... m4
checking if m4wrap produces spurious output... no
checking how to switch to text section... .csect .text[PR]
checking how to switch to data section... .csect .data[RW]
checking for assembler label suffix... :
checking for assembler global directive... .globl
checking for assembler global directive attribute...
checking if globals are prefixed by underscore... 0654-210 conftest.o is not valid in the current object file mode.
                                Use the -X option to specify the desired object mode.
unknown
configure: WARNING: +----------------------------------------------------------
configure: WARNING: | Cannot determine global symbol prefix.
configure: WARNING: | /usr/bin/nm -B -X32 output doesn't contain a global data symbol.
configure: WARNING: | Will proceed with no underscore.
configure: WARNING: | If this is wrong then you'll get link errors referring
configure: WARNING: | to ___gmpn_add_n (note three underscores).
configure: WARNING: | In this case do a fresh build with an override,
configure: WARNING: |     ./configure gmp_cv_asm_underscore=yes
configure: WARNING: +----------------------------------------------------------
checking how to switch to read-only data section...     .csect _conftest.ro_[RO],4
checking for assembler .type directive...
checking for assembler .size directive...
checking for assembler local label prefix... configure: WARNING: "/usr/bin/nm -B -X32" failure
configure: WARNING: cannot determine local label, using default L
L
checking for assembler byte directive... .byte
checking how to define a 32-bit word... 0654-210 conftest.o is not valid in the current object file mode.
Use the -X option to specify the desired object mode.
configure: error: cannot determine how to define a 32-bit word

Regards,

Doug Dawson

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Conf_log.zip
Type: application/x-zip-compressed
Size: 17860 bytes
Desc: Conf_log.zip
URL: <https://gmplib.org/list-archives/gmp-bugs/attachments/20140415/f1c6e6ae/attachment-0001.bin>


More information about the gmp-bugs mailing list