Current-Users archive

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

re: macos: "configure: error: gmp library too old"



Hi,

the relevant lines from /u/NetBSD/arch/amd64/obj/tools/isl/build/config.log:

...
configure:24492: cc -o conftest -O -O2 -no-cpp-precomp -I/u/NetBSD/arch/amd64/TOOLS/include  -L/u/NetBSD/arch/amd64/TOOLS/lib  conftest.c -lgmp -lgmp  >&5
ld: warning: ignoring duplicate libraries: '-lgmp'
ld: warning: disabling chained fixups because of unaligned pointers
ld: illegal text-relocation in '___gmpn_add_nc'+0x1E0 (/u/NetBSD/arch/amd64/TOOLS/lib/libgmp.a[282](add_n.o)) to '___gmpn_add_n'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:24492: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "isl"
| #define PACKAGE_TARNAME "isl"
| #define PACKAGE_VERSION "0.26"
| #define PACKAGE_STRING "isl 0.26"
| #define PACKAGE_BUGREPORT "isl-development%googlegroups.com@localhost"
| #define PACKAGE_URL ""
| #define PACKAGE "isl"
| #define VERSION "0.26"
| #define GCC_WARN_UNUSED_RESULT __attribute__((__warn_unused_result__))
| #define HAVE___ATTRIBUTE__ 1
| #define HAVE_CXX11 1
| #define HAVE_CXX17 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define USE_GMP_FOR_MP /**/
| #define HAVE_LIBGMP 1
| /* end confdefs.h.  */
| #include <gmp.h>
| int
| main (void)
| {
| 
|               mpz_t n, d;
|               if (mpz_divisible_p(n, d))
|                       mpz_divexact_ui(n, n, 4);
| 
|   ;
|   return 0;
| }
configure:24496: error: gmp library too old
...


Kurt


Home | Main Index | Thread Index | Old Index