Opened 13 years ago

Last modified 12 years ago

#30276 closed defect

gmp fails to build on 10.7 — at Version 1

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

Description (last modified by mf2k (Frank Schima))

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 (1)

comment:1 Changed 13 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: lion added
Owner: changed from macports-tickets@… to mcalhoun@…
Note: See TracTickets for help on using tickets.