From: Ian Campbell Subject: Re: [PATCH] tools/ocaml: Fix library generation [and 1 more messages] Date: Wed, 10 Apr 2013 12:32:08 +0100 Message-ID: <1365593528.27868.2.camel@zakaz.uk.xensource.com> References: <1365441966-31732-1-git-send-email-vb@luminar.eu.org> <5162FEE7.60303@citrix.com> <20836.9709.511956.643278@mariner.uk.xensource.com> <51642AC3.1020808@citrix.com> <20836.12156.195760.793255@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20836.12156.195760.793255@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Jackson Cc: Andrew Cooper , "xen-devel@lists.xen.org" , Roger Pau Monne , AL13N , Vincent Bernardoff , "Vincent Bernardoff (Intern)" List-Id: xen-devel@lists.xenproject.org On Tue, 2013-04-09 at 16:10 +0100, Ian Jackson wrote: > Andrew Cooper writes ("Re: [Xen-devel] [PATCH] tools/ocaml: Fix library generat> As far as I am concerned, having had to explicitly fix this up in > > XenServer, commit b7ee8d2f432f726a1154d172016d3f2b22757fe3 should be > > reverted, unless I am really misunderstanding the point of the patch. > > Going back to when this was done, > http://lists.xen.org/archives/html/xen-devel/2011-10/msg00322.html > says > Minor build process fixes, to allow the use of LDFALGS and CFLAGS > with folders that contain older versions of xen libraries and added > a specific env variable to point to yajl header and library files. > > So AIUI the problem is that you have an LDFLAGS which mentions -L > where contains other versions of the Xen libraries, you end up > linking against them. There was also an issue with linking against the libraries in /usr/lib instead of the fresh ones in the build tree, which IIRC was the real impetus behind this change. Ian.