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

Re: [Xen-devel] Xen 4.1.0 RC2 released,


  • To: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
  • From: Nathan March <nathan@xxxxxx>
  • Date: Fri, 28 Jan 2011 11:09:32 -0800
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Fri, 28 Jan 2011 11:10:33 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gt.net; h=message-id:date :from:mime-version:to:cc:subject:references:in-reply-to :content-type; q=dns; s=mail; b=KD+pEez9NN+poc4GePS3Dnj7DBft9TH2 j/yL4s6obPzY9p/KdfieKOAo1yi8EzQackx0ol44Hf6yJuBY2JlKb0k5dr7r8KX3 eTlBcb7f6JbgJYiUgqSn6mbZyzEI8iFMBT/s/ZiA01Zzg1ur2yJVDPWRhWNw5D8X 9dA4V4ZEAT8=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>


On 1/28/2011 12:53 AM, Ian Campbell wrote:
Can you confirm further back in your logs that libxenctrl actually
linked against -ldl correctly (it does in my build at least)? Also "ldd
tools/libxc/libxenctrl.so" should list libdl I think.

Does not appear to be:

xen5 xen-unstable.hg # ldd tools/libxc/libxenctrl.so
        linux-vdso.so.1 =>  (0x00007fff594c1000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00007ff09b7f6000)
        libc.so.6 => /lib/libc.so.6 (0x00007ff09b49a000)
        /lib64/ld-linux-x86-64.so.2 (0x00007ff09bc41000)

The gcc line:

gcc -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -D__XEN_TOOLS__ -MMD -MF .libxenctrl.so.4.0.0.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -I../../xen/common/libelf -Werror -Wmissing-prototypes -I. -I../xenstore -I../include -L. -Wl,-soname -Wl,libxenctrl.so.4.0 -ldl -shared -o libxenctrl.so.4.0.0 xc_core.opic xc_core_x86.opic xc_cpupool.opic xc_domain.opic xc_evtchn.opic xc_gnttab.opic xc_misc.opic xc_acm.opic xc_flask.opic xc_physdev.opic xc_private.opic xc_sedf.opic xc_csched.opic xc_csched2.opic xc_arinc653.opic xc_tbuf.opic xc_pm.opic xc_cpu_hotplug.opic xc_resume.opic xc_tmem.opic xc_mem_event.opic xc_mem_paging.opic xc_mem_access.opic xc_memshr.opic xc_hcall_buf.opic xc_foreign_memory.opic xtl_core.opic xtl_logger_stdio.opic xc_pagetab.opic xc_linux.opic xc_linux_osdep.opic -lpthread

Usually when I've run into this in the past it's just been an issue of putting them in the correct order, take a look at "Importance of linking order" here: http://www.gentoo.org/proj/en/qa/asneeded.xml

I've also attached the full make output from tools/libxc.

- Nathan

Attachment: libxc_make.txt
Description: Text document

_______________________________________________
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®.