Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jul 2004 12:49:12 +0300
From:      Ilker OZUPAK <ilker.ozupak@emu.edu.tr>
To:        noackjr@alumni.rice.edu
Cc:        freebsd-current@freebsd.org
Subject:   Re: buildworld fails
Message-ID:  <200407121249.22161.ilker.ozupak@emu.edu.tr>
In-Reply-To: <40F25644.1030001@alumni.rice.edu>
References:  <200407121157.01181.ilker.ozupak@emu.edu.tr> <40F25644.1030001@alumni.rice.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hello,

I had started a new build just before sending mail. (which is going on)
it just get past the problem point. thanks for the reminder.

for the -Os case...

which benchmarks could be usefull. could anyone make a few
suggestions?

mysql test suite  is the first one that comes to my mind.
anything else?=20

On Monday 12 July 2004 12:13, you wrote:
> On 07/12/04 03:57, Ilker OZUPAK wrote:
> > when i try to buildworld using "CPUTYPE=3Dp4" i get errors in
> > lib/libc/gen/getnetgrant.c. i got the same error in both
> > -march=3Dpentium4 and mcpu=3Dpentium4 cases
>
> <snip>
>
> > CFLAGS=3D -O3 -pipe -mcpu=3Dpentium4
>
> Um... have you tried not using -O3?  As far as I know, -O2 and below
> should work.
>
> I use the following:
> CPUTYPE=3D p4
> CFLAGS=3D -Os -pipe
> COPTFLAGS=3D -Os -pipe
>
> Although it is slightly broken (don't use it with
> (xfree86|xorg)-libraries, for example), I find -Os gives the best
> performance on my p4.  In case you haven't heard of it, -Os includes all
> the optimizations from -O2 that don't increase code size and
> additionally optimizes for size.  I think the extra performance over -O2
> is due to better cache hit rates, but that's just idle speculation.
>
> Perhaps I don't know something everyone else knows, but I'm surprised
> more people don't benchmark -Os.
>
> Jon
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFA8l6gvxSBSqT0G9ARAjbFAKDQXmjYvG/nHA1fo2cphNj78N92ZACdHugs
4DYOCQE3X1+VbSFvi68GZqg=3D
=3Dvaqm
=2D----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407121249.22161.ilker.ozupak>