From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick Welche Subject: stdbool.h -nostdinc XSA-55 trouble Date: Thu, 8 Aug 2013 12:49:45 +0100 Message-ID: <20130808114945.GG22372@quark> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org I hope that this is the right list for compilation issues. When building libelf-tools.c with gcc 4.5.4 on NetBSD-current/amd64: In file included from libelf-private.h:25:0, from libelf-tools.c:19: /usr/src/local/xen/xen/include/xen/libelf.h:32:21: fatal error: stdbool.h: No such file or directory I ran into this problem when trying to apply XSA-55 to xen 4.2.2, but just reproduced it in -head. I think this issue stems from a combination of commit 7a549a6aa ... libelf: use C99 bool for booleans ... In this patch we change all the booleans in libelf to C99 bool, from . and xen/arch/x86/Rules.mk: ifneq ($(XEN_OS),SunOS) CFLAGS-$(gcc) += -nostdinc endif If I comment out the -nostdinc in Rules.mk, I get a successful "make xen". (One mystery: why aren't you all seeing this?) Cheers, Patrick