Summary: | gcc fails to compile on darwin (with lto) | ||
---|---|---|---|
Product: | gcc | Reporter: | vincenzo Innocente <vincenzo.innocente> |
Component: | bootstrap | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 4.7.0 | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Known to work: | ||
Known to fail: | Last reconfirmed: |
Description
vincenzo Innocente
2011-05-30 08:39:02 UTC
This is a duplicate of pr48086. If you want to use lto on darwin, you have to revert to Xcode 3.2.5 or try the patch in http://gcc.gnu.org/ml/gcc-testresults/2011-03/msg01695.html (see pr48108). *** This bug has been marked as a duplicate of bug 48086 *** If you want to keep most of Xcode 3.2.6, but live dangerously with lto, you can also do what I have done: i.e., replace Apple Inc version cctools-795~45, GNU assembler version 1.38 of 3.2.6 with Apple Inc version cctools-782~33, GNU assembler version 1.38 from 3.2.5. The relevant beasts are in /usr/libexec/gcc/darwin/x86_64 and /usr/libexec/gcc/darwin/i386/. Use at your own risk!-) |