> I've found I need a few diffs to build my i386 system cleanly with > gcc4 when the DESTDIR variable is set.
Please don't do this. We want fewer building processes; rather than more. With a system this big there are always going to be accidental and strange unwanted effects just from building differently. It may seem to have a point for you to do just one build, but then something will accidentally get compiled wrong and you will submit a bug report which we cannot reproduce. It is not worth the pain. > 4) An additional header required for gscpm(4): > > Index: sys/arch/i386/pci/gscpm.c > =================================================================== > RCS file: /cvs/src/sys/arch/i386/pci/gscpm.c,v > retrieving revision 1.6 > diff -p -u -r1.6 gscpm.c > --- sys/arch/i386/pci/gscpm.c 12 Dec 2006 23:14:27 -0000 1.6 > +++ sys/arch/i386/pci/gscpm.c 16 Jul 2010 14:54:23 -0000 > @@ -23,6 +23,7 @@ > #include <sys/systm.h> > #include <sys/device.h> > #include <sys/kernel.h> > +#include <sys/proc.h> > #include <sys/sysctl.h> > #ifdef __HAVE_TIMECOUNTER > #include <sys/timetc.h> But this I commited.
