[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 0/1] Fix for stubdom build breakage
I saw the following build error with stubdom: make libs make[3]: Entering directory `/kumo/xen.tmp/stubdom/libxc-x86_64' ar rc libxenctrl.a xc_core.o xc_core_x86.o xc_cpupool.o xc_domain.o xc_evtchn.o xc_gnttab.o xc_misc.o xc_flask.o xc_physdev.o xc_private.o xc_sedf.o xc_csched.o xc_csched2.o xc_arinc653.o xc_tbuf.o xc_pm.o xc_cpu_hotplug.o xc_resume.o xc_tmem.o xc_mem_event.o xc_mem_paging.o xc_mem_access.o xc_memshr.o xc_hcall_buf.o xc_foreign_memory.o xc_kexec.o xtl_core.o xtl_logger_stdio.o xc_pagetab.o xc_minios.o gcc -isystem /kumo/xen.tmp/stubdom/../extras/mini-os/include -D__MINIOS__ -DHAVE_LIBC -isystem /kumo/xen.tmp/stubdom/../extras/mini-os/include/posix -isystem /kumo/xen.tmp/stubdom/../tools/xenstore -isystem /kumo/xen.tmp/stubdom/../extras/mini-os/include/x86 -isystem /kumo/xen.tmp/stubdom/../extras/mini-os/include/x86/x86_64 -U __linux__ -U __FreeBSD__ -U __sun__ -nostdinc -isystem /kumo/xen.tmp/stubdom/../extras/mini-os/include/posix -isystem /kumo/xen.tmp/stubdom/cross-root-x86_64/x86_64-xen-elf/include -isystem /usr/lib/gcc/x86_64-linux-gnu/4.6/include -isystem /kumo/xen.tmp/stubdom/lwip-x86_64/src/include -isystem /kumo/xen.tmp/stubdom/lwip-x86_64/src/include/ipv4 -I/kumo/xen.tmp/stubdom/include -I/kumo/xen.tmp/stubdom/../xen/include -isystem /kumo/xen.tmp/stubdom/libxc-x86_64/../../extras/mini-os/include -D__MINIOS__ -DHAVE_LIBC -isystem /kumo/xen.tmp/stubdom/libxc-x86_64/../../extras/mini-os/include/posix -isystem /kumo/xen.tmp/stubdom/libxc-x86_64/../../tools/xenstore -isystem /kumo/xen.tmp/stubdom/libxc-x86_64/../../extras/mini-os/include/x86 -isystem /kumo/xen.tmp/stubdom/libxc-x86_64/../../extras/mini-os/include/x86/x86_64 -isystem /kumo/xen.tmp/stubdom/libxc-x86_64/../../extras/mini-os/include -D__MINIOS__ -DHAVE_LIBC -isystem /kumo/xen.tmp/stubdom/libxc-x86_64/../../extras/mini-os/include/posix -isystem /kumo/xen.tmp/stubdom/libxc-x86_64/../../tools/xenstore -isystem /kumo/xen.tmp/stubdom/libxc-x86_64/../../extras/mini-os/include/x86 -isystem /kumo/xen.tmp/stubdom/libxc-x86_64/../../extras/mini-os/include/x86/x86_64 -mno-red-zone -O1 -fno-omit-frame-pointer -m64 -mno-red-zone -fno-reorder-blocks -fno-asynchronous-unwind-tables -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -fno-stack-protector -fno-exceptions -O1 -fno-omit-frame-pointer -m64 -mno-red-zone -fno-reorder-blocks -fno-asynchronous-unwind-tables -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unu! sed-but-set-variable -D__XEN_TOOLS__ -MMD -MF .build.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -fno-optimize-sibling-calls -I../../xen/common/libelf -Werror -Wmissing-prototypes -I. -I/kumo/xen.tmp/stubdom/libxc-x86_64/../../tools/include -pthread -O1 -fno-omit-frame-pointer -m64 -mno-red-zone -fno-reorder-blocks -fno-asynchronous-unwind-tables -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -D__XEN_TOOLS__ -MMD -MF .xc_dom_decompress_unsafe_lzo1x.o.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -fno-optimize-sibling-calls -I../../xen/common/libelf -Werror -Wmissing-prototypes -I. -I/kumo/xen.tmp/stubdom/libxc-x86_64/../../tools/include -pthread -include /kumo/xen.tmp/stubdom/libxc-x86_64/../../tools/config.h -c -o xc_dom_decompress_unsafe_lzo1x.o xc_dom_decompress_unsafe_lzo1x.c In file included from xc_dom_decompress_unsafe_lzo1x.c:42:0: ../../xen/common/lzo.c: In function âlzo1x_1_do_compressâ: ../../xen/common/lzo.c:151:17: error: âu64â undeclared (first use in this function) ../../xen/common/lzo.c:151:17: note: each undeclared identifier is reported only once for each function it appears in ../../xen/common/lzo.c:151:17: error: expected expression before â)â token ../../xen/common/lzo.c:151:17: error: type defaults to âintâ in type name [-Werror] ../../xen/common/lzo.c:151:17: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] ../../xen/common/lzo.c:151:17: error: invalid type argument of unary â*â (have âintâ) ../../xen/common/lzo.c:152:17: error: expected expression before â)â token ../../xen/common/lzo.c:152:17: error: expected â)â before âu64â ../../xen/common/lzo.c:152:17: error: type defaults to âintâ in type name [-Werror] ../../xen/common/lzo.c:152:17: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] ../../xen/common/lzo.c:152:17: error: invalid type argument of unary â*â (have âintâ) ../../xen/common/lzo.c:167:21: error: expected expression before â)â token ../../xen/common/lzo.c:167:21: error: type defaults to âintâ in type name [-Werror] ../../xen/common/lzo.c:167:21: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] ../../xen/common/lzo.c:167:21: error: invalid type argument of unary â*â (have âintâ) ../../xen/common/lzo.c:168:21: error: expected expression before â)â token ../../xen/common/lzo.c:168:21: error: expected â)â before âu64â ../../xen/common/lzo.c:168:21: error: type defaults to âintâ in type name [-Werror] ../../xen/common/lzo.c:168:21: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] ../../xen/common/lzo.c:168:21: error: invalid type argument of unary â*â (have âintâ) ../../xen/common/lzo.c: In function âlzo1x_1_compressâ: ../../xen/common/lzo.c:346:13: error: âu64â undeclared (first use in this function) ../../xen/common/lzo.c:346:13: error: expected expression before â)â token ../../xen/common/lzo.c:346:13: error: type defaults to âintâ in type name [-Werror] ../../xen/common/lzo.c:346:13: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] ../../xen/common/lzo.c:346:13: error: invalid type argument of unary â*â (have âintâ) ../../xen/common/lzo.c:347:13: error: expected expression before â)â token ../../xen/common/lzo.c:347:13: error: expected â)â before âu64â ../../xen/common/lzo.c:347:13: error: type defaults to âintâ in type name [-Werror] ../../xen/common/lzo.c:347:13: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] ../../xen/common/lzo.c:347:13: error: invalid type argument of unary â*â (have âintâ) cc1: all warnings being treated as errors make[3]: *** [xc_dom_decompress_unsafe_lzo1x.o] Error 1 make[3]: Leaving directory `/kumo/xen.tmp/stubdom/libxc-x86_64' make[2]: *** [build] Error 2 make[2]: Leaving directory `/kumo/xen.tmp/stubdom/libxc-x86_64' make[1]: *** [libxc-x86_64/libxenctrl.a] Error 2 make[1]: Leaving directory `/kumo/xen.tmp/stubdom' make: *** [install-stubdom] Error 2 This was with gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3. I fixed it with the patch I am submitting. Please let me know if this is not the correct fix and is something do with my environment. Thanks, Aravindh libxc: Fix stub domain build breakage tools/libxc/xc_dom_decompress_unsafe_lzo1x.c | 1 + 1 file changed, 1 insertion(+) -- 1.9.1 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |