WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] [XM-TEST] Fix xm-test suite for x86-64

To: Tony Breeds <tony@xxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] [XM-TEST] Fix xm-test suite for x86-64
From: Stefan Berger <stefanb@xxxxxxxxxx>
Date: Sat, 28 Oct 2006 11:00:41 -0400
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sat, 28 Oct 2006 08:01:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20061028043401.GY27551@xxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

Tony Breeds <tony@xxxxxxxxxxxxxxxxxx> wrote on 10/28/2006 12:34:01 AM:

> On Fri, Oct 27, 2006 at 04:35:00PM -0400, Stefan Berger wrote:
> Hi Stefan
>
> > This patch fixes the xm-test suite to allow building the buildroot
> > environment for x86-64.
>
> It looks to me that this patch breaks powerpc.  When you rename uClibc
> -> uClibc-i386 can you also clone it to create uClibc-powerpc?


Did the uClibc really compiled/work for powerpc before? The 'TARGET_i386=y' is set in that common uClibc cnfig file.

>
> >                         I had to disable hping2 in the configuration for
> > x86-64 since that package does not build without applying a patch to it.
> > So all hping2-related tests will fail now.
> Out of curiosity, What does the new x86_64 config do (other than disable
> hping)?


I tried  building the buildroot environment for x86-64 using the same as the i386 configuration. Unfortunatley the uClibc version that's being downloaded for i386 does not compile for x86-64 due to a missing file in an x86-64 directory, so I switched it to use a snapshot of a given date.

>
> > The problem is that I don't know how to step into the buildroot
> > buildprocess and apply that patch for it.
> > http://www.redhat.com/archives/fedora-extras-commits/2005-
> February/msg00263.html
>
> It looks to me in tools/xm-test/ramdisk/patches/buildroot/patches
> There is a patch that creates the makefile responsile for building
> hping.
>
> Could you not:
>  a) Place the patch in that message in the patches dir
>  b) modify the target that extracts the hping archive, to apply the
>     patch?
>
> Perhaps (untested):
> ---
> $(HPING_DIR)/.source: $(DL_DIR)/$(HPING_TBALL)
>        tar xzf $(DL_DIR)/$(HPING_TBALL) -C $(BUILD_DIR)
>        [ $(BR_ARCH) -eq "x86_64" ] && patch -p1 -i $(DL_DIR)/..
> /patches/x86_64/hping.patch
>        touch $(HPING_DIR)/.source
> ---
>
> Would get you closer?


I will have a  look.

  Stefan

>
> Yours Tony
>
>    linux.conf.au       http://linux.conf.au/ || http://lca2007.linux.org.au/
>    Jan 15-20 2007      The Australian Linux Technical Conference!
>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel