Latest ( sys/i386/i386/local_apic.c on RELENG_6 and DDB

Kostik Belousov kostikbel at
Thu Mar 2 04:45:41 UTC 2006

Latest MFC'ed revision of the sys/i386/i386/local_apic.c, rev.,
causes i386 (and, probably, amd64) kernel compilation error when

options DDB 

is specified in kernel config:

cc -c -O -pipe -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstri
ct-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fform
at-extensions -std=c99 -g -nostdinc -I-  -I. -I/usr/bsd/src/sys -I/usr/bsd/src/s
ys/contrib/altq -I/usr/bsd/src/sys/contrib/ipfilter -I/usr/bsd/src/sys/contrib/p
f -I/usr/bsd/src/sys/contrib/dev/ath -I/usr/bsd/src/sys/contrib/dev/ath/freebsd -I/usr/bsd/src/sys/contrib/ngatm -I/usr/bsd/src/sys/dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror  /usr/bsd/src/sys/i386/i386/local_apic.c
/usr/bsd/src/sys/i386/i386/local_apic.c: In function `db_show_apic':
/usr/bsd/src/sys/i386/i386/local_apic.c:790: warning: implicit declaration of function `db_dump_intr_event'
/usr/bsd/src/sys/i386/i386/local_apic.c:790: warning: nested extern declaration of `db_dump_intr_event'
/usr/bsd/src/sys/i386/i386/local_apic.c:790: error: structure has no member named `is_event'
*** Error code 1

Stop in /usr/bsd/obj/usr/bsd/src/sys/POOMA.
*** Error code 1

It seems that
sys/kern/kern_intr.c, rev. 1.127 and sys/sys/interrupt.h rev. 1.32
shall be (partially) mfc'ed too, or (much more lilkely) 
reference to db_dump_intr_event shall be removed.

Best regards,
Kostik Belousov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :

More information about the freebsd-stable mailing list