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] RFC: Partially revert xen-unstable c/s 23071:a3466b00501

To: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Subject: Re: [Xen-devel] RFC: Partially revert xen-unstable c/s 23071:a3466b005017
From: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
Date: Tue, 18 Oct 2011 15:32:19 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Keir \(Xen.org\)" <keir@xxxxxxx>, Jonathan Ludlam <Jonathan.Ludlam@xxxxxxxxxxxxx>
Delivery-date: Tue, 18 Oct 2011 07:33:19 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=3gSNLGzpjWhhqrN9tmaZGynpXkKBXMDGJD4XwNC70zE=; b=mXS7Nlhp/gtDZS6CctRdPVeDH+alD5WThAabx8i0ComyriIvNuiZW4hHE6auE8oOKm 9mrj8Rz6qJ4ZJ903C9CZw20L7AW/Sx5jeyERqO0Yjo5omhLIIiahQmbjiIZcZCSRfnfe cZ+N7+gPavxiSWaVFBzcaBRse7/9uAJ3UfmGs=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1318947065.3385.26.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: <CAFLBxZaYwHe9VH4tSHFBt7jy-EzLjuN87kW0FChH0LOy=EvZnw@xxxxxxxxxxxxxx> <1318947065.3385.26.camel@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, Oct 18, 2011 at 3:11 PM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
> The use of "hard-link" here is confusing. You presumably mean it bakes
> the literal/precise path into the binary.

Yes; it hard-codes the full path of the build tree library file.

> Nowadays this expands to:
>        $(XEN_LIBXC)/libxenctrl.so $(XEN_LIBXC)/libxenguest.so
> prior to 23921:19d2922bcfb9 it would have been:
>        -L$(XEN_LIBXC) -lxenctrl -L$(XEN_LIBXC) -lxenguest
>
> which tree were you working against?

Not sure what you're asking; this is XenServer trunk, with the xen.hg
pulled in from xen-unstable (pulled recently, like Friday or
something).

> Are you sure 23071:a3466b005017 and not 23921:19d2922bcfb9 is to blame?
> The <23931 version doesn't seem materially different to the <21071 one
> whereas I can plausibly imagine that 23931 might have made a difference.

You're right, it's actually 23921 that caused the problem.  I just did
"hg annotate" and found 23071.

> -ccopt just passes the raw argument in and seems likely to be more
> correct (irrespective of any of the changesets mentioned here, since the
> variable seems to have always included -L and -l itself). Perhaps that
> helps?

Sorry, I'm having trouble mentally compling this paragraph into patch.
:-)  (In part no doubt because I don't understand the make syntax you
mention.)  Could you explain what you mean?

Thanks,
 -George

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