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: Mon, 30 Oct 2006 09:44:52 -0500
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 30 Oct 2006 06:45:26 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20061030031743.GF27551@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

xen-devel-bounces@xxxxxxxxxxxxxxxxxxx wrote on 10/29/2006 10:17:43 PM:

> On Sat, Oct 28, 2006 at 11:00:41AM -0400, Stefan Berger wrote:
>
> Hi Stefan,
>    Sorry for the delay in replying.  To be honnest I know that
> uClibc works but I was unsure why, so I had to get access to a machine
> I could investigate on.
>
> > Did the uClibc really compiled/work for powerpc before? The
> > 'TARGET_i386=y' is set in that common uClibc cnfig file.
>
> Yes, thats correct but toolchain/uClibc/uclibc.mk overrides the TARGET
> based on BR2_ARCH, which is correctly handels for native or cross
> compiles.


I have changed the xm-test/ramdisk/Makefile.am to look like this now. With this only x86-64 so far gets its own config for the uClibc.

-                 cp configs/uClibc $(BR_SRC)/toolchain/uClibc/uClibc.config
+                 if [ $(BR_ARCH) == "x86_64" ]; then                       \
+                                  cp configs/uClibc-$(BR_ARCH)                      \
+                                                   $(BR_SRC)/toolchain/uClibc/uClibc.config; \
+                 else                                                      \
+                                  cp configs/uClibc                                 \
+                                                   $(BR_SRC)/toolchain/uClibc/uClibc.config; \
+                 fi


Is this better?

>
> > 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.
>
> OK thanks.  It's a shame that uClibc 0.9.28 doesn't work on x86_64.
>

I had encountered this error here:

http://bugs.busybox.net/bug_view_advanced_page.php?bug_id=523

And thanks on the hint on how to patch hping2. It works now - at least for x86-64.

  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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>