Ticket #19679 (closed defect: fixed)
llvm 2.5 port fails to support Link Time Optimization
|Reported by:||macports@…||Owned by:||erickt@…|
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.
- Owner changed from macports-tickets@… to erickt@…
- Cc erickt@… removed