Re: Re: How is it possible ???

Paul de Vrieze <[email protected]>
Newsgroups gmane.linux.gentoo.performance
Message-ID <[email protected]>
On Friday 07 January 2005 06:57, Patrick Audley wrote:
> On Thursday 06 January 2005 04:46, William Kenworthy wrote:
> > Have a read of the ebuild - compiling gentoo with your own choice of
> > optimisations is is almost a myth!  There's been some interesting
> > threads about the predominance of flag filtering and how it often seems
> > to be used with little cause.
>
> I have a hacked gcc-config profile that calls a perl script for all the gcc
> executables that forces my cflags to be what I want and aside from ten
> packages on my entire system I'm able to run without any problems.  That
> includes X (though not glibc).  I think strip-compiler flags might be a
> good idea for some systems but clearly on mine it's not necessary.

While I certainly won't stop you from doing this, please keep in mind that 
there might be rather subtle bugs (depending on your cflags) that occur.
Also the current gcc streams (every release gets better) can and will produce 
broken code for certain uncommon code/flag combinations. For example sse2 
support is known to be an issue esp. with the older versions, but the newer 
versions also aren't perfect. As people use different compiler versions on 
different architectures (i386 is the best tested/most bugfree), many ebuilds 
need to be a bit conservative and filter out more common flags that are 
broken for this package.

Paul

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

--
[email protected] mailing list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.