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

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




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

 


Rackspace

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