On Sunday 25 January 2004 13:18, Tom Martin wrote:
> Hello all,
>
> Without wanting to become flame bait at all.. I'd just like to know why
> -O3 is the default (commented) -O in make.conf, even for x86 stage
> tarballs (I don't really know about the stageballs on other
> architectures). Although the usefulness / harm of this flag has been
> discussed to death, on the vast majority of x86 /desktop/ machines I
> don't really think this flag is that suitable, and I know many agree.
>
> The reason I ask is because many people who didn't really change the
> default flags beyond setting -march have come on #gentoo or on the
> forums unsatisfied with performance of Gentoo, and there are also
> several packages that still won't compile with -O3.
>
> As a default for x86, wouldn't -O2 be more suitable? My personal
> viewpoint is that if you want to set -O3 on x86, go ahead. But if you
> do, you should know why you want to do it, and what affects it will
> have. Many beginners who haven't really got their heads around CFLAGS
> will possibly read somewhere that -O3 gives the most optimisation and be
> sold there and then.

I would agree with this. Especially as gcc-3.2.3 is still the stable compiler. 
It has known code generation issues so should be avoided.

Paul

-- 
Paul de Vrieze
Gentoo Developer
Mail: [EMAIL PROTECTED]
Homepage: http://www.devrieze.net

Attachment: pgp00000.pgp
Description: signature

Reply via email to