A couple of platform compatibility issues...

Greg Schafer gschafer at zip.com.au
Sun Jan 5 15:58:42 PST 2003


On Sun, Jan 05, 2003 at 04:20:48PM -0600, Kelledin wrote:
> On Sunday 05 January 2003 05:44 am, Greg Schafer wrote:
> > On another side note, the zlib package defaults its
> > optimization to -O3 which is probably not good with latest
> > gcc's (at least according to my very unscientific
> > decompression tests :-)
> 
> Hmmm...does it just hurt performance in some cases, or does it 
> actually introduce erroneous behavior?  I've been letting zlib 
> build with -O3 for a while now with no problems...but I'm not in 
> the habit of benchmarking it.

No harm. It was just consistently slower (but only by approx' a few %). But
like I said, my tests weren't too scientific. But I was fairly certain O3
was producing slower code.

Greg
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message



More information about the lfs-dev mailing list