NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/44998: userland change breaks Xen kernel compile

The following reply was made to PR lib/44998; it has been noted by GNATS.

From: David Holland <>
Subject: Re: lib/44998: userland change breaks Xen kernel compile
Date: Tue, 19 Jul 2011 03:02:19 +0000

 On Sat, May 28, 2011 at 08:30:09PM +0000, Christoph Egger wrote:
  >  >   > sysutils/xenkernel41 contains a patch to get around this.
  >  >   > To bring this patch upstream I need an explanation why this
  >  >   > patch is suddenly needed.
  >  >  
  >  >  Did you even read tnn's commit message, or the compiler error output?
  >  >  It's trying to do #include <stdarg.h> while using -nostdinc.
  >  Yes, but why does it compile with 5.99.44 userland regardless ?
 Because there something's different about the way it its configure
 script runs? I don't know, but it's clearly an upstream problem.
 A kernel, even a hypervisor kernel, should always use -nostdinc and
 should not try to use system headers, even ones like <stdarg.h>.
 David A. Holland

Home | Main Index | Thread Index | Old Index