From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aron Griffis Subject: Re: Re: [Xen-ia64-devel] cross compiling xen/ia64 Date: Thu, 19 Jun 2008 12:27:50 -0400 Message-ID: <20080619162749.GE15837@fc.hp.com> References: <18518.34109.911947.95491@mariner.uk.xensource.com> <20080617152519.GF25196@fc.hp.com> <18519.56415.763847.999813@mariner.uk.xensource.com> <20080617195804.GK16618@fc.hp.com> <18520.53465.686416.812585@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <18520.53465.686416.812585@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Jackson Cc: xen-devel , Keir Fraser , Alex Williamson , xen-ia64-devel List-Id: xen-devel@lists.xenproject.org Ian Jackson wrote: [Wed Jun 18 2008, 05:09:45AM EDT] > Aron Griffis writes ("Re: [Xen-devel] Re: [Xen-ia64-devel] cross compiling xen/ia64"): > > Any luck? > > drivers/built-in.o: In function `make_page_uptodate': > rd.c:(.text+0xdda50): undefined reference to `mem_map' > drivers/built-in.o:rd.c:(.text+0xdda61): more undefined references to `mem_map' follow > make[5]: *** [.tmp_vmlinux1] Error 1 I've never seen this particular error in my cross-builds, and I've been building all the changesets constantly since March. > Is CONFIG_NEED_MULTIPLE_NODES supposed to be enabled ? AFAICT mem_map > and max_mapnr are defined in mm/memory.c but inside > #ifndef CONFIG_NEED_MULTIPLE_NODES Rather than try to debug this, how about getting a known-good combination building? I'm concerned that these errors are due to a problem in your building process rather than issues that need to be debugged in the tree. I just successfully built this combination: xen-unstable.hg-17879 linux-2.6.18-xen.hg-577 If this combination fails for you, could you provide the full log of the build for perusal? The full log of my build, including the commands used, is here: http://free.linux.hp.com/~agriffis/17879+577.log In particular, the make command: make XEN_TARGET_ARCH=ia64 CROSS_COMPILE=ia64-linux-gnu- This is running in a Fedora8 chroot with the cross-compiler and sysroot installed as described on the wiki. Thanks, Aron