Skip site navigation (1)Skip section navigation (2)
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

--Qz2CZ664xQdCRdPu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable


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=20

is specified in kernel config:

cc -c -O -pipe -march=3Dpentiumpro -Wall -Wredundant-decls -Wnested-externs=
 -Wstri
ct-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -=
fform
at-extensions -std=3Dc99 -g -nostdinc -I-  -I. -I/usr/bsd/src/sys -I/usr/bs=
d/src/s
ys/contrib/altq -I/usr/bsd/src/sys/contrib/ipfilter -I/usr/bsd/src/sys/cont=
rib/p
f -I/usr/bsd/src/sys/contrib/dev/ath -I/usr/bsd/src/sys/contrib/dev/ath/fre=
ebsd -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-lim=
it=3D8000 --param inline-unit-growth=3D100 --param large-function-growth=3D=
1000  -mno-align-long-strings -mpreferred-stack-boundary=3D2  -mno-mmx -mno=
-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror  /usr/bsd/src/sys/i386/i38=
6/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 declara=
tion 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)=20
reference to db_dump_intr_event shall be removed.

Best regards,
Kostik Belousov

--Qz2CZ664xQdCRdPu
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (FreeBSD)

iD8DBQFEBnhrC3+MBN1Mb4gRAvZ/AJ9oCgROFvA7Dqu8ZYvOu8neSl+rEgCdFcyd
EoKVGJGNcrzP/97t3TXQE1Q=
=cO7M
-----END PGP SIGNATURE-----

--Qz2CZ664xQdCRdPu--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060302044532.GH92816>