broken buildkernel (scsi_low and -Os) and duplicate manpages

David Naylor blackdragon at highveldmail.co.za
Wed Feb 13 09:42:45 UTC 2008


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

David


More information about the freebsd-stable mailing list