broken buildkernel (scsi_low and -Os) and duplicate manpages

Rong-En Fan rafan at FreeBSD.org
Wed Feb 13 15:02:47 UTC 2008


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


More information about the freebsd-stable mailing list