From: Ian Jackson Subject: "x86-64: EFI boot code" breaks 32-bit build Date: Tue, 28 Jun 2011 12:05:53 +0100 Message-ID: <19977.46481.793420.655366@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich Cc: xen-devel@lists.xensource.com, keir@xen.org List-Id: xen-devel@lists.xenproject.org cc1: warnings being treated as errors mpparse.c: In function 'efi_check_config': mpparse.c:669: error: format '%08llx' expects type 'long long unsigned int', but argument 2 has type 'long unsigned int' In xen/include/xen/efi.h: 23616: unsigned long mps; /* MPS table */ In xen/arch/x86/mpparse.c (line 669): 23616: printk(KERN_INFO "SMP MP-table at %08"PRIx64"\n", efi.mps); Should mps be uint64_t ? What about the other fields in struct efi ? Ian.