Opened 15 years ago
Closed 14 years ago
#23580 closed update (duplicate)
odcctools: update to support LTO
Reported by: | macports@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.2 |
Keywords: | llvm lto | Cc: | ryandesign (Ryan Carsten Schmidt) |
Port: | odcctools |
Description
To enable -O4 and -flto link time optimization in clang and llvm-gcc we need a linker with support for llvm bitcode. Newer versions of the ld64 linker (>=v77) can be configured to include such support through libLTO.dylib. The recent release of odcctools-20090808 comes bundled with ld64 v85. Updating the odcctools port would be very helpful, see #19679.
Attachments (1)
Change History (6)
comment:1 Changed 15 years ago by raimue (Rainer Müller)
Changed 15 years ago by raimue (Rainer Müller)
Attachment: | patch-odcctools-159.diff added |
---|
comment:2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|
I updated odcctools to version 20090808 in r67362. It doesn't build for me on Snow Leopard either, but at least it now does on Tiger, and maybe Leopard, which is more than I could say for the previous version of the port.
comment:3 Changed 14 years ago by macports@…
Thanks for updating odcctools! Unfortunately the updated port doesnt work for me on Snow Leopard either. I did succeed to manually compile and test just the ld64 v85.2.1 component on Snow Leopard. But sadly these 10.5 era tools seem to be unsuitable for targeting newer releases of mac os x.
Well, I guess on 10.6 the only remaining option is to grab a copy of the installed tools. I will try this in a separate ld64 port to keep odcctools undiluted. A port of ld64 is really all we need for LTO in llvm anyway. And a separate port would even match upstream (apple) more closely, where ld64 is a standalone package too.
comment:4 Changed 14 years ago by macports@…
A port of ld64 and several related enhancements are available in #24112. This ticket can be closed.
comment:5 Changed 14 years ago by mf2k (Frank Schima)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
I tried to update the port, but couldn't get it to compile on 10.6.