Date: Thu, 2 Mar 2006 06:45:32 +0200 From: Kostik Belousov <kostikbel@gmail.com> To: freebsd-stable@freebsd.org, jhb@freebsd.org Subject: Latest (1.17.2.3) sys/i386/i386/local_apic.c on RELENG_6 and DDB Message-ID: <20060302044532.GH92816@deviant.kiev.zoral.com.ua>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Latest MFC'ed revision of the sys/i386/i386/local_apic.c, rev. 1.17.2.3, 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 [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (FreeBSD) iD8DBQFEBnhrC3+MBN1Mb4gRAvZ/AJ9oCgROFvA7Dqu8ZYvOu8neSl+rEgCdFcyd EoKVGJGNcrzP/97t3TXQE1Q= =cO7M -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060302044532.GH92816>
