[MacPorts] #31679: xemacs: build failed on 10.7.2 & xcode 4.2 (clang)

MacPorts noreply at macports.org
Sun Mar 4 06:06:26 PST 2012


#31679: xemacs: build failed on 10.7.2 & xcode 4.2 (clang)
-------------------------------------+--------------------------------------
  Reporter:  jwest@…                 |       Owner:  ryandesign@…           
      Type:  defect                  |      Status:  reopened               
  Priority:  Normal                  |   Milestone:                         
 Component:  ports                   |     Version:  2.0.3                  
Resolution:                          |    Keywords:  lion clang             
      Port:  xemacs                  |  
-------------------------------------+--------------------------------------
Changes (by howarth@…):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 The proper fix for this issue wasn't to resort to llvm-gcc-4.2 to pass
 -std=c89 [[BR]]
 on CFLAGS to eliminate the duplicate inline symbol linkage error.
 See...[[BR]]
 [[BR]]
 http://wiki.freebsd.org/PortsAndClang[[BR]]
 [[BR]]

 undefined or duplicate symbols while linking[[BR]]

 clang defaults to gnu99, while gcc defaults to gnu89. This causes problems
 with the inline and restrict keywords (and possibly others). inline does
 different things in gnu89/gnu99

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


More information about the macports-tickets mailing list