[MacPorts] #16634: __gnu_inline__ attribute directive and Apple's gcc

MacPorts noreply at macports.org
Wed Sep 24 07:40:52 PDT 2008


#16634: __gnu_inline__ attribute directive and Apple's gcc
---------------------------------+------------------------------------------
 Reporter:  jhr at cs.uchicago.edu  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect               |      Status:  new                                  
 Priority:  Normal               |   Milestone:  Port Bugs                            
Component:  ports                |     Version:  1.6.0                                
 Keywords:  gmp, inline          |        Port:  gmp                                  
---------------------------------+------------------------------------------
 I am trying to build the MLton SML compiler (http://mlton.org), which uses
 the gmp library.  When compiling the runtime system, linking is failing
 because of multiple definitions of some of the GMP symbols (such as
 {{{___gmpz_abs}}}).  I've done some digging, and it seems that the source
 of the problem is related to a recent change in gmp.h and a bad
 interaction with Apple's version of gcc.  Specifically, the
 {{{__gnu_inline__}}}  attribute directive is causing problems (see
 http://www.mail-archive.com/bug-gnulib@gnu.org/msg09721.html for some
 discussion; a latter message in the thread proposes a patch).

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


More information about the macports-tickets mailing list