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
Christoph Egger writes:
- On 28.05.11 19:00, David Holland wrote:
- > It's trying to do #include <stdarg.h> while using -nostdinc.
-
- Yes, but why does it compile with 5.99.44 userland regardless ?
Somewhere between 5.99.44 and now, the C cross compiler had
change to the options used to build compilers. Not sure why
that would make a difference, but..
In looking at the pkgsrc/sysutils/xenkernel33 build, I find the
following patch makes it all build.
From reading the comment, the Solaris clause is backwards, but I
hate to make too radical of a change.
FYI: I was also able to build xenkernel41 with the attached
patch, and without the modifed include/xen/stdarg.h.
--
Eric Schnoebelen eric%cirr.com@localhost
http://www.cirr.com
The Force is what holds everything together. It has its dark side,
and it has its light side. It's sort of like cosmic duct tape.
$NetBSD$
--- xen/arch/x86/Rules.mk.orig 2009-08-06 12:56:40.000000000 +0000
+++ xen/arch/x86/Rules.mk
@@ -13,7 +13,9 @@ supervisor_mode_kernel ?= n
# Solaris grabs stdarg.h and friends from the system include directory.
ifneq ($(XEN_OS),SunOS)
+ ifneq ($(XEN_OS),NetBSD)
CFLAGS += -nostdinc
+ endif
endif
CFLAGS += -fno-builtin -fno-common
Home |
Main Index |
Thread Index |
Old Index