This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: darwin LTO broken under Xcode 3.2.6/4.0


On Sun, Mar 13, 2011 at 09:38:06PM +0100, Steven Bosscher wrote:
> 
> I agree it is probably better to re-code things, but that will be
> impossible do before GCC 4.6 goes out.
> 
> We have to make a decision: keep the LTO support for Mach-O in for now
> and recommend a non-recent Xcode, disable it for the GCC 4.6 release
> and for the GCC 4.5.x series.
> 
> Ciao!
> Steven

Steven,
   I've come to the conclusion that your suggestion to disable lto for
gcc 4.6.0 on darwin is likely the correct course. The reason is that Apple
only provides Xcode 3.2.2 which I am pretty sure is missing some critical fixes
for http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43751 and others issues.
The users will be unable to obtain anything newer from Apple except Xcode 3.2.6
via Software Update which has the buggy assembler. Also any user currently
on Xcode 3.2.5 is subject to an accidentally upgrade to 3.2.6 via Software Update
if they are careless. It is probably better to disable the lto now rather than
suffer the complaints from end-users later. We can just revert...

2010-09-03  Jack Howarth <howarth@bromo.med.uc.edu>

        * configure.ac: Enable LTO by default on Darwin.
        * configure: Regenerate.

to achieve this.
                Jack


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]