xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Error in compiling latest Xen 4.2-Unstable
@ 2012-05-31 23:02 cyberhawk001
  2012-06-01  6:25 ` Ian Campbell
  0 siblings, 1 reply; 3+ messages in thread
From: cyberhawk001 @ 2012-05-31 23:02 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 870 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1185 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Error in compiling latest Xen 4.2-Unstable
  2012-05-31 23:02 Error in compiling latest Xen 4.2-Unstable cyberhawk001
@ 2012-06-01  6:25 ` Ian Campbell
  2012-06-07 15:43   ` cyberhawk001
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Campbell @ 2012-06-01  6:25 UTC (permalink / raw)
  To: cyberhawk001@gmail.com; +Cc: xen-devel@lists.xen.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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Error in compiling latest Xen 4.2-Unstable
  2012-06-01  6:25 ` Ian Campbell
@ 2012-06-07 15:43   ` cyberhawk001
  0 siblings, 0 replies; 3+ messages in thread
From: cyberhawk001 @ 2012-06-07 15:43 UTC (permalink / raw)
  Cc: xen-devel@lists.xen.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... :)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-06-07 15:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-31 23:02 Error in compiling latest Xen 4.2-Unstable cyberhawk001
2012-06-01  6:25 ` Ian Campbell
2012-06-07 15:43   ` cyberhawk001

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).