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-ia64-devel

[Xen-ia64-devel] RE: tools/ioemu/ia64.ld ?

To: "Aron Griffis" <aron@xxxxxx>, <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-ia64-devel] RE: tools/ioemu/ia64.ld ?
From: "Zhang, Xiantao" <xiantao.zhang@xxxxxxxxx>
Date: Fri, 22 Feb 2008 10:24:32 +0800
Cc: David Mosberger-Tang <dmosberger@xxxxxxxxx>
Delivery-date: Fri, 22 Feb 2008 08:08:19 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20080221225706.GA23801@xxxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20080221225706.GA23801@xxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Ach03SnAr0dtTPw5RCeA0wAd0vtkfwAGdODA
Thread-topic: tools/ioemu/ia64.ld ?
Aron Griffis wrote:
> Hi,
> 
> Does anybody know why xen's ioemu has its own custom linker
> script?  This was inherited from qemu, apparently contributed by
> David Mosberger over 2 years ago.  It's been patched for kvm (see
>
http://www.mail-archive.com/kvm-devel@xxxxxxxxxxxxxxxxxxxxx/msg10306.htm
l)
> but as far as I can see, that's essentially bringing part of it
> up to date with the default linker script in binutils.

Hi, Aron 
        The fix for kvm is just for moving the code section to region 2,
and has no other purposes :)


> I'm asking about this because it's the last thing in the way of
> a clean cross build of xen tools.  You can see the build failure
> at http://markmail.org/message/zowwwfs3mdipseiv
> 
> The first failure in that message is because the custom linker
> script was using the wrong library directories.  That is easily
> fixed.  The second build failure is opaque to me:
> 
> ../../xenstore/libxenstore.so:
> undefined reference to `__isoc99_sscanf@xxxxxxxxx'
> collect2: ld returned 1 exit status
> 
> However, if I comment out the linker script in the Makefile then
> the build works, and hvm domains seem to run fine built with the
> default linker script.  When I diff ia64.ld to Debian's
> /usr/lib/ldscripts/elf64_ia64.x I don't see anything significant,
> but I'm not an expert in this area.
> 
> Can anybody tell me why we need this?  If not, I'll submit
> a patch to remove it.

I guess you can remove it and use the default, since ia64 arch has no
special requirment for it.
Xiantao

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

<Prev in Thread] Current Thread [Next in Thread>