From owner-freebsd-current@FreeBSD.ORG Mon Jul 12 09:48:32 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B79316A4CE for ; Mon, 12 Jul 2004 09:48:32 +0000 (GMT) Received: from mail.emu.edu.tr (mail.emu.edu.tr [193.140.41.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA2B943D2D for ; Mon, 12 Jul 2004 09:48:31 +0000 (GMT) (envelope-from ilker.ozupak@mail.emu.edu.tr) Received: from eniac.emu.edu.tr ([213.208.49.139]) by mail.emu.edu.tr with Microsoft SMTPSVC(5.0.2195.5329); Mon, 12 Jul 2004 12:48:30 +0300 From: Ilker OZUPAK To: noackjr@alumni.rice.edu Date: Mon, 12 Jul 2004 12:49:12 +0300 User-Agent: KMail/1.6.2 References: <200407121157.01181.ilker.ozupak@emu.edu.tr> <40F25644.1030001@alumni.rice.edu> In-Reply-To: <40F25644.1030001@alumni.rice.edu> MIME-Version: 1.0 Content-Disposition: inline Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <200407121249.22161.ilker.ozupak@emu.edu.tr> X-OriginalArrivalTime: 12 Jul 2004 09:48:30.0741 (UTC) FILETIME=[63833C50:01C467F5] cc: freebsd-current@freebsd.org Subject: Re: buildworld fails X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ilker.ozupak@emu.edu.tr List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2004 09:48:32 -0000 =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 > > > > > 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-----