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

[Xen-devel] RE: xen/ia64 crosscompile


  • To: "Hollis Blanchard" <hollisb@xxxxxxxxxx>
  • From: "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@xxxxxx>
  • Date: Wed, 13 Apr 2005 09:08:09 -0700
  • Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Wed, 13 Apr 2005 16:08:35 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcU6JoqHuD0TCXtwSgq5nsPMFPyrqgGGYVFg
  • Thread-topic: xen/ia64 crosscompile

I finally got around to trying your patch. It seems to work fine for
cross-compiling but it doesn't work native (on an ia64).  It appears
that CC gets set to CROSS_COMPILE, which wreaks havoc.

I can get around this problem by surrounding the setting
of CROSS_COMPILE with ifneq ($(COMPILE_ARCH),$(TARGET_ARCH))

Will this do?

Dan

> -----Original Message-----
> From: Hollis Blanchard [mailto:hollisb@xxxxxxxxxx] 
> Sent: Tuesday, April 05, 2005 3:27 PM
> To: Magenheimer, Dan (HP Labs Fort Collins)
> Cc: Xen-devel
> Subject: xen/ia64 crosscompile
> 
> Hi Dan, could I convince you to take this patch? I'm trying to
> cross-compile xen/ia64 so I can propose portability fixes 
> that work for
> ia64 too, but obviously I don't
> have /usr/local/sp_env/v2.2.5/i686/bin/ia64-unknown-linux-gcc and I
> think it's better to use the CROSS_COMPILE variable found in 
> Config.mk.
> Your build should be unaffected.
> 
> Also, have you tried building with a current gcc? Crosstool
> (http://kegel.com/crosstool) gave me 3.4.2, but there are a 
> fair number
> of implicit function declarations that cause build breaks, 
> some of which
> live in Linux-patched code (I just hacked them by hand). I'd 
> really like
> to be able to build with crosstool...
> 
> -- 
> Hollis Blanchard
> IBM Linux Technology Center
> 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.