[MacPorts] #30276: gmp fails to build on 10.7

MacPorts noreply at macports.org
Thu Jul 21 06:14:59 PDT 2011


#30276: gmp fails to build on 10.7
-------------------------------------+--------------------------------------
 Reporter:  thecolourblue@…          |       Owner:  macports-tickets@…                   
     Type:  defect                   |      Status:  new                                  
 Priority:  Normal                   |   Milestone:                                       
Component:  ports                    |     Version:  1.9.2                                
 Keywords:                           |        Port:  gmp                                  
-------------------------------------+--------------------------------------
 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

-- 
Ticket URL: <https://trac.macports.org/ticket/30276>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list