From mboxrd@z Thu Jan 1 00:00:00 1970 From: cyberhawk001@gmail.com Subject: Error in compiling latest Xen 4.2-Unstable Date: Thu, 31 May 2012 19:02:55 -0400 Message-ID: <4FC7F89F.9010203@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1593638211853929992==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --===============1593638211853929992== Content-Type: multipart/alternative; boundary="------------070204000000010200090800" This is a multi-part message in MIME format. --------------070204000000010200090800 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Just would like to ask the Xen-Devel team what version of GCC compiler they are using to Compile the Xen 4.2-Unstable from the xen-untable.hg repository? Just curious since i always have such a hard time in compiling the latest Xen 4.2-Unstable as it always aborts with errors. The last changeset of Xen 4.2 i was able to compile was "*25392:3d98fb95e735*" and ONLY after removing patch 25364 (*hg backout -r 25364*), otherwise it wouldn't compile either. That trick doesn't seem to work with any changesets after that and even revision "*25432:d7318231cfe3*" ends with an error: libxl.c: In function 'libxl_primary_console_exec': libxl.c:1233:9: error: case value '4294967295' not in enumerated type 'libxl_domain_type' [-Werror=switch] SO, possibly the GCC compiler is at fault and was wondering what version the Xen-devel team uses? Thank you very much --------------070204000000010200090800 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Just would like to ask the Xen-Devel team what version of GCC compiler they are using to Compile the Xen 4.2-Unstable from the xen-untable.hg repository?

Just curious since i always have such a hard time in compiling the latest Xen 4.2-Unstable as it always aborts with errors.

The last changeset of Xen 4.2 i was able to compile was "25392:3d98fb95e735" and ONLY after removing patch 25364 (hg backout -r 25364), otherwise it wouldn't compile either.

That trick doesn't seem to work with any changesets after that and even revision "25432:d7318231cfe3" ends with an error:

libxl.c: In function 'libxl_primary_console_exec':
libxl.c:1233:9: error: case value '4294967295' not in enumerated type 'libxl_domain_type' [-Werror=switch]

SO, possibly the GCC compiler is at fault and was wondering what version the Xen-devel team uses?

Thank you very much
--------------070204000000010200090800-- --===============1593638211853929992== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============1593638211853929992==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: Error in compiling latest Xen 4.2-Unstable Date: Fri, 1 Jun 2012 07:25:18 +0100 Message-ID: <1338531918.14877.35.camel@dagon.hellion.org.uk> References: <4FC7F89F.9010203@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4FC7F89F.9010203@gmail.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: "cyberhawk001@gmail.com" Cc: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Fri, 2012-06-01 at 00:02 +0100, cyberhawk001@gmail.com wrote: > SO, possibly the GCC compiler is at fault and was wondering what > version the Xen-devel team uses? This issue is indeed a compiler related one. The developers use a wide variety of compilers, including ones which exhibit this behaviour. A few patches have been posted to xen-devel (e.g. http://lists.xen.org/archives/html/xen-devel/2012-05/msg01856.html) but we are still working on the final fix. As a workaround in the meantime you could either apply the patch linked above locally or remove the entirety of the "case -1" that is causing the warnings. Thanks for continuing to be patient. Ian. From mboxrd@z Thu Jan 1 00:00:00 1970 From: cyberhawk001@gmail.com Subject: Re: Error in compiling latest Xen 4.2-Unstable Date: Thu, 07 Jun 2012 11:43:59 -0400 Message-ID: <4FD0CC3F.7020108@gmail.com> References: <4FC7F89F.9010203@gmail.com> <1338531918.14877.35.camel@dagon.hellion.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1338531918.14877.35.camel@dagon.hellion.org.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org Cc: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On 6/1/2012 2:25 AM, Ian Campbell wrote: > On Fri, 2012-06-01 at 00:02 +0100, cyberhawk001@gmail.com wrote: >> SO, possibly the GCC compiler is at fault and was wondering what >> version the Xen-devel team uses? > This issue is indeed a compiler related one. > > The developers use a wide variety of compilers, including ones which > exhibit this behaviour. A few patches have been posted to xen-devel > (e.g. > http://lists.xen.org/archives/html/xen-devel/2012-05/msg01856.html) but > we are still working on the final fix. > > As a workaround in the meantime you could either apply the patch linked > above locally or remove the entirety of the "case -1" that is causing > the warnings. > > Thanks for continuing to be patient. > > Ian. > > Just wanted to mention that the latest version of xen-unstable.hg, rev- 25459, (as of today) is able to compile perfectly on Debian Wheezy, with no errors or anything. SO, everyone in the Xen-devel team, You guys are all just plain awesome, and thanks for fixing the compile issues... :)