libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/4] Support GCC LTO on GNU/Linux.


From: Charles Wilson
Subject: Re: [PATCH 1/4] Support GCC LTO on GNU/Linux.
Date: Mon, 05 Apr 2010 22:01:41 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666

On 4/5/2010 10:53 AM, Dave Korn wrote:
> On 04/04/2010 18:53, Charles Wilson wrote:
>> Can anybody confirm that this sort of thing will continue to work, even
>> with LTO turned on?
> 
>   There's surely no need to build the wrapper with LTO just because the target
> application is built that way?

No, but the wrapper is built using the target compiler, with all of the
target flags.  We've talked about maybe filtering that command (e.g.
strip "-Werror" -- or "-WX" for cl.exe -- just so that slight problems
in the cwrapper don't bring someone's build to a crashing halt).  But so
far, nothing along those lines has happened.

>   As for whether it would get dropped if you did, I'd imagine that's quite
> plausible; you might want to add a volatile qualifier.

'static volatile const char * MAGIC = ...'
        ^^^^^^^^^^^^^^
err...maybe just 'volatile'!

--
Chuck




reply via email to

[Prev in Thread] Current Thread [Next in Thread]