Subject: COMPAT_IBCS2, VM86 compile fails in 1.3.3
To: None <port-i386@netbsd.org>
From: John Darrow <John.P.Darrow@wheaton.edu>
List: port-i386
Date: 12/31/1998 17:44:57
Compiling a kernel with COMPAT_IBCS2 and VM86 from a clean 1.3.3 source tree
fails due to a missing include of <machine/vm86.h>.  This problem first
showed up in 1.3.2 and was send-pr'ed twice.  The first pr (kern/5574)
was closed 19981218 by Jason Thorpe with the commend 'Fixed.'  The second
pr (port-i386/5884) is still open, and was just (19981228) reassigned to
port-i386-maintainer.  However, the fix doesn't appear to have been
pulled up properly, as the 1.3.3 syssrc tarball contains the same version
of sys/arch/i386/i386/ibcs2_machdep.c (v 1.3.2.2) as 1.3.2 had.

I don't expect there to be a 1.3.4 before 1.4 is released, but it would be
nice if the included patch (copied from pr 5884) could be put into the
1.3.3 source/patches directory...

jdarrow

--
John Darrow
Computing Services, Wheaton College, Wheaton, IL
John.P.Darrow@wheaton.edu


*** sys/arch/i386/i386/ibcs2_machdep.c.~1~      Tue May  5 19:44:39 1998
--- sys/arch/i386/i386/ibcs2_machdep.c  Sat Aug  1 16:31:17 1998
***************
*** 54,59 ****
--- 54,63 ----

  
  #include <compat/ibcs2/ibcs2_signal.h>

  
+ #ifdef VM86
+ #include <machine/vm86.h>
+ #endif
+ 
  void
  ibcs2_setregs(p, epp, stack)
        struct proc *p;