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] tools/ioemu/ia64.ld ?

To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] tools/ioemu/ia64.ld ?
From: Aron Griffis <aron@xxxxxx>
Date: Thu, 21 Feb 2008 17:57:06 -0500
Cc: David Mosberger-Tang <dmosberger@xxxxxxxxx>
Delivery-date: Fri, 22 Feb 2008 08:03:57 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.17 (2007-11-01)
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.html)
but as far as I can see, that's essentially bringing part of it
up to date with the default linker script in binutils.

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.

Thanks,
Aron

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

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