Skip to contentSkip to conversation

Build error of libxl in xen-unstable changeset 25374

DISCUSSION Fantu 4 participants 5 messages May 21, 2012 – May 25, 2012

lore
Share & tools
lore

Fantu

author
#0 lore raw

I have built on clean system with xen-unstable 25374 and stops with this error:
gcc -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement
-Wno-unused-but-set-variable -D__XEN_TOOLS__ -MMD -MF .libxl.o.d
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -fno-optimize-sibling-calls -Werror -Wno-format-zero-length -Wmissing-declarations -Wno-declaration-after-statement -Wformat-nonliteral -I. -fPIC -pthread -I/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/libxc -I/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/include -I/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/libxc -I/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/include -I/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/xenstore -I/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/include -I/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/blktap2/control -I/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/blktap2/include -I/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/include -include /mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/config.h -c -o libxl.o libxl.c
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]
cc1: all warnings being treated as errors
make[3]: *** [libxl.o] Error 1
make[3]: Leaving directory `/mnt/vm/xen/xen-unstable.hg/tools/libxl' make[2]: *** [subdir-install-libxl] Error 2
make[2]: Leaving directory `/mnt/vm/xen/xen-unstable.hg/tools' make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directory `/mnt/vm/xen/xen-unstable.hg/tools'
make: *** [install-tools] Error 2

Previous build with changeset 25326 was working

--
View this message in context: http://xen.1045712.n5.nabble.com/Build-error-of-libxl-in-xen-unstable-changeset-25374-tp5709046.html
Sent from the Xen - Dev mailing list archive at Nabble.com.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

author
#1 lore raw

Fantu wrote

Quoted 32 lines

I have built on clean system with xen-unstable 25374 and stops with this error:
gcc -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99

(quoted diff) +0 -14
-Wall -Wstrict-prototypes -Wdeclaration-after-statement
-Wno-unused-but-set-variable   -D__XEN_TOOLS__ -MMD -MF .libxl.o.d 
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -fno-optimize-sibling-calls
-Werror -Wno-format-zero-length -Wmissing-declarations
-Wno-declaration-after-statement -Wformat-nonliteral -I. -fPIC -pthread
-I/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/libxc
-I/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/include
-I/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/libxc
-I/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/include
-I/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/xenstore
-I/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/include
-I/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/blktap2/control
-I/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/blktap2/include
-I/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/include -include

/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/config.h -c -o libxl.o libxl.c
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]
cc1: all warnings being treated as errors
make[3]: *** [libxl.o] Error 1
make[3]: Leaving directory `/mnt/vm/xen/xen-unstable.hg/tools/libxl' make[2]: *** [subdir-install-libxl] Error 2
make[2]: Leaving directory `/mnt/vm/xen/xen-unstable.hg/tools' make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directory `/mnt/vm/xen/xen-unstable.hg/tools'
make: *** [install-tools] Error 2

Quoted 2 lines

Previous build with changeset 25326 was working

I have found the bug, is on this patch:
http://xenbits.xen.org/hg/xen-unstable.hg/rev/8dce7a4121b9
I tried removing this patch (hg backout -r 25364) solves the problem

--
View this message in context: http://xen.1045712.n5.nabble.com/Build-error-of-libxl-in-xen-unstable-changeset-25374-tp5709046p5709086.html
Sent from the Xen - Dev mailing list archive at Nabble.com.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#2 lore raw
Quoted 34 lines · Fantu

Fantu wrote

Quoted 32 lines

I have built on clean system with xen-unstable 25374 and stops with this error:
gcc -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99

(quoted diff) +0 -14
-Wall -Wstrict-prototypes -Wdeclaration-after-statement
-Wno-unused-but-set-variable   -D__XEN_TOOLS__ -MMD -MF .libxl.o.d 
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -fno-optimize-sibling-calls
-Werror -Wno-format-zero-length -Wmissing-declarations
-Wno-declaration-after-statement -Wformat-nonliteral -I. -fPIC -pthread
-I/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/libxc
-I/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/include
-I/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/libxc
-I/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/include
-I/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/xenstore
-I/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/include
-I/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/blktap2/control
-I/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/blktap2/include
-I/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/include -include

/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/config.h -c -o libxl.o libxl.c
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]
cc1: all warnings being treated as errors
make[3]: *** [libxl.o] Error 1
make[3]: Leaving directory `/mnt/vm/xen/xen-unstable.hg/tools/libxl' make[2]: *** [subdir-install-libxl] Error 2
make[2]: Leaving directory `/mnt/vm/xen/xen-unstable.hg/tools' make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directory `/mnt/vm/xen/xen-unstable.hg/tools'
make: *** [install-tools] Error 2

Quoted 5 lines
Quoted 2 lines

Previous build with changeset 25326 was working

I have found the bug, is on this patch:
http://xenbits.xen.org/hg/xen-unstable.hg/rev/8dce7a4121b9
I tried removing this patch (hg backout -r 25364) solves the problem

See the thread subjected with
'libxl: Introduce LIBXL_DOMAIN_TYPE_INVALID to make gcc happy'

Christoph

Signature · 12 lines
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85689 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632


_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
#3 lore raw
In reply to Fantu
Quoted 8 lines · Fantu

Fantu wrote
...

Quoted 2 lines

Previous build with changeset 25326 was working

I have found the bug, is on this patch:
http://xenbits.xen.org/hg/xen-unstable.hg/rev/8dce7a4121b9
I tried removing this patch (hg backout -r 25364) solves the problem

Yep. We're discussing the issue in this thread too:

http://lists.xen.org/archives/html/xen-devel/2012-05/msg01269.html

Dario

Signature · 4 lines
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://retis.sssup.it/people/faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#4 lore raw
In reply to Fantu
Quoted 32 lines · Fantu

Fantu wrote

Quoted 31 lines

I have built on clean system with xen-unstable 25374 and stops with this error:
gcc -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99

(quoted diff) +0 -14
-Wall -Wstrict-prototypes -Wdeclaration-after-statement
-Wno-unused-but-set-variable   -D__XEN_TOOLS__ -MMD -MF .libxl.o.d
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -fno-optimize-sibling-calls
-Werror -Wno-format-zero-length -Wmissing-declarations
-Wno-declaration-after-statement -Wformat-nonliteral -I. -fPIC -pthread
-I/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/libxc
-I/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/include
-I/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/libxc
-I/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/include
-I/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/xenstore
-I/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/include
-I/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/blktap2/control
-I/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/blktap2/include
-I/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/include -include

/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/config.h -c -o libxl.o libxl.c
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]
cc1: all warnings being treated as errors
make[3]: *** [libxl.o] Error 1
make[3]: Leaving directory `/mnt/vm/xen/xen-unstable.hg/tools/libxl' make[2]: *** [subdir-install-libxl] Error 2
make[2]: Leaving directory `/mnt/vm/xen/xen-unstable.hg/tools' make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directory `/mnt/vm/xen/xen-unstable.hg/tools'
make: *** [install-tools] Error 2

Quoted 5 lines
Quoted 2 lines

Previous build with changeset 25326 was working

I have found the bug, is on this patch:
http://xenbits.xen.org/hg/xen-unstable.hg/rev/8dce7a4121b9
I tried removing this patch (hg backout -r 25364) solves the problem

Well, by removing patch 25364, it also works on compiling Xen 4.2-unstable rev-25388

Have to admit, i am glad i read this as now i can actually compile Xen 4.2-unstable again... SO, i have to say Thank you.... :)

I know the xen-devel is working on all this, BUT at least now I don't have to wait around and can continue figuring out xen...

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel