This bug report is a placeholder for discussing the changes required for LTO via collect2 on darwin. It exists to have a distinct discussion about darwin since we don't use either ELF or binutils. It would be optimal if the required changes would not involve modifications to the darwin linker since, even if those were obtained from Apple in some future Xcode, it is unlikely that they would ever be backported to the earlier OS releases.
-- Summary: MachO LTO support needed for darwin Product: gcc Version: lto Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: howarth at nitro dot med dot uc dot edu GCC build triplet: *-apple-darwin* GCC host triplet: *-apple-darwin* GCC target triplet: *-apple-darwin* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43729