[MacPorts] #19679: llvm 2.5 port fails to support Link Time Optimization

MacPorts noreply at macports.org
Mon May 18 05:38:04 PDT 2009


#19679: llvm 2.5 port fails to support Link Time Optimization
-------------------------------+--------------------------------------------
 Reporter:  macports@…         |       Owner:  macports-tickets@…                   
     Type:  defect             |      Status:  new                                  
 Priority:  Normal             |   Milestone:                                       
Component:  ports              |     Version:  1.7.1                                
 Keywords:  llvm lto           |        Port:  llvm llvm-gcc42                      
-------------------------------+--------------------------------------------
 The port does not make libLTO.dylib avaliable to a linker. Thus -flto and
 -O4 do not work in llvm-gcc42.

 Either provide a custom linker for use with llvm in macports or simply
 make libLTO.dylib available to the system linker by placing a symlink to
 /opt/local/lib/libLTO.dylib in /usr/lib/. The second option would make
 LTO/bitcode linking available globally but would leave the existing XCode
 llvm installation in /Developer/usr/ unaffected.

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


More information about the macports-tickets mailing list