6.1 buildkernel question

doug at safeport.com doug at safeport.com
Fri Jun 2 23:01:53 UTC 2006


My system works, however the buildkernel process had about 2000 warnings, with
1/2 of those compiling aic7xxx (see below). This was discussed on BSDForums but
as far as I can tell, different compiler options were used; the conclusion was
using -O3 was the problem.

I did a clean install from a 6.1 ISO, selecting the minimum footprint and
cvsup'd from cvsup10.FreeBSD.org @ May 30 17:48. I used the GENERIC kernel
commenting out all cpu directive except I686_CPU. I changed nothing in
make.conf, leaving the default of:

# added by use.perl 2006-06-01 01:40:49
PERL_VER=5.8.8
PERL_VERSION=5.8.8

My change to the kernel conf file:

diff -u GENERIC ARTEMIS
--- GENERIC     Sun Apr 30 13:39:42 2006
+++ ARTEMIS     Wed May 31 18:15:59 2006
@@ -19,10 +19,10 @@
 # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.429.2.9 2006/04/30 17:39:42 scottl
Exp $

 machine                i386
-cpu            I486_CPU
-cpu            I586_CPU
+#cpu           I486_CPU
+#cpu           I586_CPU
 cpu            I686_CPU
-ident          GENERIC
+ident          ARTEMIS


cc -O2 -fno-strict-aliasing -pipe -DAHD_REG_PRETTY_PRINT=1 -D_KERNEL -DKLD_MODUL
E -nostdinc -I-   -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/ART
EMIS/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -f
no-common -g -I/usr/obj/usr/src/sys/ARTEMIS -mno-align-long-strings -mpreferred-
stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -W
redundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpoi
nter-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -c /usr/src/sys/mo
dules/aic7xxx/ahd/../../../dev/aic7xxx/aic79xx.c
/usr/src/sys/modules/aic7xxx/ahd/../../../dev/aic7xxx/aic79xx.c: In function `ah
d_clear_msg_state':
./machine/bus.h:221: warning: inlining failed in call to 'bus_space_read_1': --p
aram inline-unit-growth limit reached
/usr/src/sys/modules/aic7xxx/ahd/../../../dev/aic7xxx/aic79xx.c:127: warning: ca
lled from here
./machine/bus.h:221: warning: inlining failed in call to 'bus_space_read_1': --p
aram inline-unit-growth limit reached
      :

If there is any interest in pursuing this, I have the full output from the
buildkernel.


_____
Douglas Denault
http://www.safeport.com
doug at safeport.com
Voice: 301-469-8766
  Fax: 301-469-0601


More information about the freebsd-stable mailing list