Subject: bin/21117: kdump does not compile without "make clean" after recent change
To: None <firstname.lastname@example.org>
From: None <email@example.com.OZ.AU>
Date: 04/13/2003 07:04:36
>Synopsis: kdump does not compile without "make clean" after recent change
>Arrival-Date: Sat Apr 12 17:06:00 PDT 2003
>Originator: Robert Elz
>Release: NetBSD 1.6Q (--current of 2003-04-13)
Prince of Songkla University
System: NetBSD fuchsia.cs.mu.OZ.AU 1.6P NetBSD 1.6P (FUCHSIA) #35: Wed Mar 5 13:50:03 ICT 2003 root@:/usr/obj/sys/FUCHSIA i386
sys/sockio.h recently had 2 ioctl definitions removed from it.
After that, usr.bin/kdump does not compile, without doing a
"make clean" as its constructed ioctl.c refers to the deleted
ioctls but doesn't depend on sockio.h so doesn't get rebuilt
Have a pre-built set of .o files, etc, and "build.sh -U" after
the (less than a day old) update to sockio.h
Add sockio.h to the list of (currently just 2) include files
that ioctl.c depends upon in usr.bin/kdump/Makefile.ioctl-c
All other .h files included by sys/ioctl.h and sys/ioctl_compat.h
should also be added.
An alternative migt be to massage the .depend file in some way
so that ioctl.c depends upon all of that stuff instead of
ioctl.o - then the list of which include files require ioctl.c
to be rebuilt could be maintained automatically. If that is
done, make sure it happens in Makefile.ioctl-c so usr.bin/ktruss
benefits from the same fix.
And, shouldn't the deleted ioctl's have been added to
ioctl_compat.h anyway, so kdump can decode them for
backwards compatability with old ktrace.out files, or is
that not considered worth the bother?