[MacPorts] #29842: cairo: static libs fail to build correctly with llvm

MacPorts noreply at macports.org
Sun Jul 24 23:42:07 PDT 2011


#29842: cairo: static libs fail to build correctly with llvm
-------------------------------+--------------------------------------------
 Reporter:  matuzalem@…        |       Owner:  ryandesign@…           
     Type:  defect             |      Status:  new                    
 Priority:  Normal             |   Milestone:                         
Component:  ports              |     Version:  1.9.99                 
 Keywords:  lion               |        Port:  cairo                  
-------------------------------+--------------------------------------------

Comment(by jeremyhu@…):

 The use of lipo(1) on static libraries will not generally work as they
 will need to have their table of contents updated with respect to the time
 stamp of the newly created fat file.  libtool(1) is the recommended way to
 properly create a fat archive.  As libtool(1) will do what ever it takes
 to place the objects from the input in their proper place in the output
 (things like taking fat .o files out of thin archives, etc).  So in this
 case the recommended way to make the output is:

 /Developer/usr/bin/libtool i386.a x86_64.a -o cairo.a

 The problem is in muniversal trying to do this with lipo.

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


More information about the macports-tickets mailing list