Hi, I tried to build GMP 6.3.0 with openxlC on AIX (for testing) using
./configure --prefix=$HOME/gmp-openxlc CC=/opt/IBM/openxlC/17.1.1/bin/ibm-clang_r CFLAGS=-O2 on cfarm119.cfarm.net (a.k.a. gcc119), but got the following warnings and error related to assembler: [...] 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 -X64 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 .text[PR] checking for assembler .type directive... checking for assembler .size directive... checking for assembler local label prefix... configure: WARNING: "/usr/bin/nm -B -X64" 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 This error comes from the GMP_ASM_W32 acinclude.m4 macro. config.log.gz attached. -bash-5.1$ uname -a AIX gcc119 3 7 00F9C1964C00 -bash-5.1$ /opt/IBM/openxlC/17.1.1/bin/ibm-clang_r --version IBM Open XL C/C++ for AIX 17.1.1 (5725-C72, 5765-J18), version 17.1.1.2, clang version 15.0.0 (build 3948f09) Target: powerpc-ibm-aix7.3.0.0 Thread model: posix InstalledDir: /opt/IBM/openxlC/17.1.1/bin -bash-5.1$ ./config.guess powerpc-ibm-aix7.3.1.0 -bash-5.1$ ./configfsf.guess -bash: ./configfsf.guess: The file access permissions do not allow the specified action. Indeed, the permissions in the tarball are incorrect (see my other bug report). -bash-5.1$ sh ./configfsf.guess powerpc-ibm-aix7.3.1.0 -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
config.log.gz
Description: application/gzip
_______________________________________________ gmp-bugs mailing list gmp-bugs@gmplib.org https://gmplib.org/mailman/listinfo/gmp-bugs