On 06/28/2010 10:51 AM, Ciaran McCreesh wrote:
> On Mon, 28 Jun 2010 10:44:54 +0300
> Samuli Suominen <ssuomi...@gentoo.org> wrote:
>>> You've forgotten "make --as-needed not break correct code by making
>>> the linker ignore explicit instructions from a program author to
>>> link two things together". Until you do that, --as-needed is in the
>>> same category as -ffast-math.
>>
>> And we can't be held hostage by few packages (marginal cases), that's
>> why we have function called $(no-as-needed) in flag-o-matic.eclass to
>> disable the behavior for these packages.
> 
> Will Gentoo be doing the same for -Ofast and its flags then? After all,
> most packages work with them, and you can't let the few packages that
> require standard-compliant behaviour from a compiler hold Gentoo
> hostage.
> 

This is not about optimizing but preventing clear breakage, the benefits
of asneeded are not under debate here (like already stated in the
original message this thread started from)

So please stop trying to derail the thread

- Samuli

Reply via email to