From owner-freebsd-stable@FreeBSD.ORG Wed Feb 13 15:02:47 2008 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22D2C16A468 for ; Wed, 13 Feb 2008 15:02:47 +0000 (UTC) (envelope-from rafan@svm.csie.ntu.edu.tw) Received: from svm.csie.ntu.edu.tw (svm.csie.ntu.edu.tw [140.112.90.75]) by mx1.freebsd.org (Postfix) with ESMTP id CB36B13C461 for ; Wed, 13 Feb 2008 15:02:46 +0000 (UTC) (envelope-from rafan@svm.csie.ntu.edu.tw) Received: from svm.csie.ntu.edu.tw (localhost [127.0.0.1]) by svm.csie.ntu.edu.tw (8.14.1/8.14.1) with ESMTP id m1DEbdjO057054; Wed, 13 Feb 2008 22:37:39 +0800 (CST) (envelope-from rafan@svm.csie.ntu.edu.tw) Received: (from rafan@localhost) by svm.csie.ntu.edu.tw (8.14.1/8.14.1/Submit) id m1DEbdPH086700; Wed, 13 Feb 2008 22:37:39 +0800 (CST) (envelope-from rafan) Date: Wed, 13 Feb 2008 22:37:39 +0800 From: Rong-En Fan To: Christian Brueffer Message-ID: <20080213143739.GN4650@svm.csie.ntu.edu.tw> References: <20080213095250.GB1451@haakonia.hitnet.RWTH-Aachen.DE> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080213095250.GB1451@haakonia.hitnet.RWTH-Aachen.DE> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-stable@FreeBSD.org, David Naylor , rafan@FreeBSD.org Subject: Re: broken buildkernel (scsi_low and -Os) and duplicate manpages X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Feb 2008 15:02:47 -0000 On Wed, Feb 13, 2008 at 10:52:50AM +0100, Christian Brueffer wrote: > On Wed, Feb 13, 2008 at 11:15:29AM +0200, David Naylor wrote: > > Hi, > > > > Building the kernel with CFLAGS=-Os breaks when compiling module > > scsi_low. Sorry no output available. > > > > Placing CFLAGS+= -O in the Makefile fixes the problem. Last build > > with -O2 did work (for everything, world, kernel and ports). > > > > >From my research it appears the -Os produces code faster than -O2 and > > generally slower than -O3 but the smallest binary (and quicker compile > > times), does anyone have a better understanding of such things > > (performance and -O? flags). > > > > When doing an installworld DEST=? it fails twice when trying to > > install duplicate man pages: > > 1) lib/ncurses/ncurses: tputs.3 > > 2) share/man/man9: rman_fini.9 > > > > The rman_fini.9 one was a mistake, I've just fixed it. Thanks! rafan@ > (CCed) did the last few ncurses updates. Rong-En, could you take a look > at the tputs.3 issue? Interesting, I actually use installworld w/ DESTDIR, but it does not fail. Nevertheless, I have just removed the duplicate one (actually, both curs_terminfo and curs_termcap has tputs.3. As we use termcap in base, so I just removed the one links to curs_terminfo). Regards, Rong-En Fan