Ticket #19679 (closed defect: fixed)
llvm 2.5 port fails to support Link Time Optimization
| Reported by: | macports@… | Owned by: | erickt@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.7.1 |
| Keywords: | llvm lto | Cc: | |
| Port: | llvm llvm-gcc42 |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


