From: Ian Jackson Subject: Re: [PATCH v2] tools: require OCaml version 3.09.3 or greater Date: Thu, 22 May 2014 16:39:53 +0100 Message-ID: <21374.6729.22928.940532@mariner.uk.xensource.com> References: <1392115104-22828-1-git-send-email-roger.pau@citrix.com> <52FA4E4B.2000906@terremark.com> <1394635854.21145.102.camel@kazak.uk.xensource.com> <1398428051.18537.446.camel@kazak.uk.xensource.com> <21345.4328.682258.876534@mariner.uk.xensource.com> <1398870617.29888.5.camel@kazak.uk.xensource.com> <536180CD.1070301@terremark.com> <21347.51131.684335.940532@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WnV67-0002me-9I for xen-devel@lists.xenproject.org; Thu, 22 May 2014 15:39:59 +0000 In-Reply-To: <21347.51131.684335.940532@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: Don Slutz , Ian Campbell , xen-devel@lists.xenproject.org, Roger Pau Monne List-Id: xen-devel@lists.xenproject.org Ian Jackson writes ("Re: [Xen-devel] [PATCH v2] tools: require OCaml version 3.09.3 or greater"): > Don Slutz writes ("Re: [Xen-devel] [PATCH v2] tools: require OCaml version 3.09.3 or greater"): > > This was done to help catch build errors. The fix for RHEL5 was: > > > > [BUGFIX][PATCH 1/1] xenlight_stubs.c: Allow it to build with ocaml 3.09.3 > > > > ... > > > > +/* > > + * Starting with ocaml-3.09.3, CAMLreturn can only be used for ``value'' > > + * types. CAMLreturnT was only added in 3.09.4, so we define our own > > + * version here if needed. > > + */ > > > > Hope this helps. > > Thanks. I have added this to my backport list. I have backported this to Xen 4.4 and will push it shortly. 4.3 and earlier don't seem to have the patch mentioned above so I assume it's either not applicable, or would need adapting (eg to require 3.09.4). Ian.