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] Xen 4.1.0 RC2 released,

To: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Subject: Re: [Xen-devel] Xen 4.1.0 RC2 released,
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
Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=gt.net; h=message-id:date :from:mime-version:to:cc:subject:references:in-reply-to :content-type; s=mail; bh=AexufF3JtG+tsXt0SNs+ZOcq4vo=; b=ZfO0TZ 8zCJOnTbwf5le6otKQ4sLDjeaxHdJusTN+MgEvMVfTjCFKH34P1ogeglDbGncD2M 54e9eogo/XrgeBctWvcoTmk6bzV3UCEAdLNpsWeVRKQDEVdfgcgOU1pYiiLcbPml rnUvDCZB+JNs8ZlnYmEBqniQSPvqLGYtU0rV8=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1296204837.14780.6925.camel@xxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4D41FA20.40509@xxxxxx> <1296204837.14780.6925.camel@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7

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