Opened 13 years ago

Last modified 12 years ago

#30276 closed defect

gmp fails to build on 10.7 — at Initial Version

Reported by: thecolourblue@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: lion Cc:
Port: gmp

Description

Trying to build/upgrade gmp on 10.7 and it fails with a linker error. Doesn't matter which compiler is used (fails with same error for gcc-4.2 and clang). The linker version is:

$ ld -v @(#)PROGRAM:ld PROJECT:ld64-126.3.2 llvm version 3.0svn, from Apple Clang 3.0 (build 210.1)

and the error is:

ld: illegal text-relocation to _gmpn_add_n in mpn/.libs/add_n.o from _gmpn_add_n in mpn/.libs/add_n.o for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: * [libgmp.la] Error 1

Change History (0)

Note: See TracTickets for help on using tickets.