gmp-5.0.1 and Mac OS X 10.5.8 Intel

Nelson H. F. Beebe beebe at
Wed Feb 24 02:59:31 CET 2010

Builds in both 32-bit and 64-bit environments for gmp-5.0.1 on Mac OS
X 10.5.8 Intel, with native compilers, and with locally-installed
newer compilers, have all failed.  The problem is the intolerance of
the linker on this system for duplicate symbols:

    libtool: link: gcc -std=gnu99 -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o
    .libs/libgmp.10.dylib  .libs/assert.o ... many more...
    ld: duplicate symbol ___gmpz_abs in .libs/compat.o and .libs/assert.o
    collect2: ld returned 1 exit status
    make[2]: *** [] Error 1
    make[1]: *** [all-recursive] Error 1
    make: *** [all] Error 2

Complete build logs for this system are available on request, but 
I'm hoping that the problem is easily recognized and fixed at the
developers' end.

I've built this version of gmp on 20+ flavors of Unix covering all
major CPU architectures, and most have passed all of their tests.

- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: beebe at  -
- 155 S 1400 E RM 233                       beebe at  beebe at -
- Salt Lake City, UT 84112-0090, USA    URL: -

More information about the gmp-bugs mailing list