arm-linux-gnueabihf-gcc -DCONFIG_SPARSE_BSS -DCONFIG_XENBUS -fno-builtin -Wall -Werror -Wredundant-decls -Wno-format -Wno-redundant-decls -Wformat -fno-stack-protector -fgnu89-inline -Wstrict-prototypes -Wnested-externs -Wpointer-arith -Winline -g -D__INSIDE_MINIOS__ -march=armv7-a -marm -fms-extensions -D__arm__ -DXEN_HAVE_PV_GUEST_ENTRY -isystem /local/scratch/ianc/devel/mini-os.git/include -D__MINIOS__ -isystem /local/scratch/ianc/devel/mini-os.git/include -D__MINIOS__ -D__XEN_INTERFACE_VERSION__=0x00030205 -isystem /local/scratch/ianc/devel/mini-os.git/include/arm -isystem /local/scratch/ianc/devel/mini-os.git/include/arm/arm32 -c gnttab.c -o /local/scratch/ianc/devel/mini-os.git/gnttab.o gnttab.c: In function ‘gnttab_alloc_and_grant’: gnttab.c:155:31: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] mfn = virt_to_mfn(*map); ^ cc1: all warnings being treated as errors minios.mk:69: recipe for target '/local/scratch/ianc/devel/mini-os.git/gnttab.o' failed make: *** [/local/scratch/ianc/devel/mini-os.git/gnttab.o] Error 1 arm-linux-gnueabihf-gcc -DCONFIG_SPARSE_BSS -DCONFIG_XENBUS -fno-builtin -Wall -Werror -Wredundant-decls -Wno-format -Wno-redundant-decls -Wformat -fno-stack-protector -fgnu89-inline -Wstrict-prototypes -Wnested-externs -Wpointer-arith -Winline -g -D__INSIDE_MINIOS__ -march=armv7-a -marm -fms-extensions -D__arm__ -DXEN_HAVE_PV_GUEST_ENTRY -isystem /local/scratch/ianc/devel/mini-os.git/include -D__MINIOS__ -isystem /local/scratch/ianc/devel/mini-os.git/include -D__MINIOS__ -D__XEN_INTERFACE_VERSION__=0x00030205 -isystem /local/scratch/ianc/devel/mini-os.git/include/arm -isystem /local/scratch/ianc/devel/mini-os.git/include/arm/arm32 -c mm.c -o /local/scratch/ianc/devel/mini-os.git/mm.o mm.c: In function ‘alloc_pages’: mm.c:297:34: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] map_alloc(PHYS_PFN(to_phys(alloc_ch)), 1UL<ring = (struct xencons_interface *) mfn_to_virt(start_info.console.domU.mfn); ^ cc1: all warnings being treated as errors minios.mk:69: recipe for target '/local/scratch/ianc/devel/mini-os.git/console/xencons_ring.o' failed make: *** [/local/scratch/ianc/devel/mini-os.git/console/xencons_ring.o] Error 1 make --directory=arch/arm OBJ_DIR=/local/scratch/ianc/devel/mini-os.git/arch/arm || exit 1; make[1]: Entering directory '/local/scratch/ianc/devel/mini-os.git/arch/arm' arm-linux-gnueabihf-gcc -fno-builtin -Wall -Werror -Wredundant-decls -Wno-format -Wno-redundant-decls -Wformat -fno-stack-protector -fgnu89-inline -Wstrict-prototypes -Wnested-externs -Wpointer-arith -Winline -g -D__INSIDE_MINIOS__ -march=armv7-a -marm -fms-extensions -D__arm__ -DXEN_HAVE_PV_GUEST_ENTRY -O1 -fno-omit-frame-pointer -fno-builtin -Wall -Werror -Wredundant-decls -Wno-format -Wno-redundant-decls -Wformat -fno-stack-protector -fgnu89-inline -Wstrict-prototypes -Wnested-externs -Wpointer-arith -Winline -g -D__INSIDE_MINIOS__ -march=armv7-a -marm -fms-extensions -D__arm__ -DXEN_HAVE_PV_GUEST_ENTRY -isystem /local/scratch/ianc/devel/mini-os.git/arch/arm/../../include -D__MINIOS__ -D__XEN_INTERFACE_VERSION__=0x00030205 -isystem /local/scratch/ianc/devel/mini-os.git/arch/arm/../../include/arm -isystem /local/scratch/ianc/devel/mini-os.git/arch/arm/../../include/arm/arm32 -c setup.c -o /local/scratch/ianc/devel/mini-os.git/arch/arm/setup.o setup.c: In function ‘arch_init’: setup.c:97:37: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] xatp.gpfn = virt_to_pfn(shared_info_page); ^ cc1: all warnings being treated as errors ../../minios.mk:69: recipe for target '/local/scratch/ianc/devel/mini-os.git/arch/arm/setup.o' failed make[1]: *** [/local/scratch/ianc/devel/mini-os.git/arch/arm/setup.o] Error 1 arm-linux-gnueabihf-gcc -fno-builtin -Wall -Werror -Wredundant-decls -Wno-format -Wno-redundant-decls -Wformat -fno-stack-protector -fgnu89-inline -Wstrict-prototypes -Wnested-externs -Wpointer-arith -Winline -g -D__INSIDE_MINIOS__ -march=armv7-a -marm -fms-extensions -D__arm__ -DXEN_HAVE_PV_GUEST_ENTRY -O1 -fno-omit-frame-pointer -fno-builtin -Wall -Werror -Wredundant-decls -Wno-format -Wno-redundant-decls -Wformat -fno-stack-protector -fgnu89-inline -Wstrict-prototypes -Wnested-externs -Wpointer-arith -Winline -g -D__INSIDE_MINIOS__ -march=armv7-a -marm -fms-extensions -D__arm__ -DXEN_HAVE_PV_GUEST_ENTRY -isystem /local/scratch/ianc/devel/mini-os.git/arch/arm/../../include -D__MINIOS__ -D__XEN_INTERFACE_VERSION__=0x00030205 -isystem /local/scratch/ianc/devel/mini-os.git/arch/arm/../../include/arm -isystem /local/scratch/ianc/devel/mini-os.git/arch/arm/../../include/arm/arm32 -c mm.c -o /local/scratch/ianc/devel/mini-os.git/arch/arm/mm.o mm.c: In function ‘arch_init_mm’: mm.c:55:19: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] BUG_ON(to_virt(mem_base) > (void *) &_text); /* Our image isn't in our RAM! */ ^ mm.c:71:20: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] *max_pfn_p = to_phys(new_device_tree) >> PAGE_SHIFT; ^ mm.c: In function ‘arch_init_gnttab’: mm.c:130:105: error: assignment from incompatible pointer type [-Werror] set_xen_guest_handle(setup.frame_list, frames); ^ mm.c:138:13: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] return to_virt(gnttab_table); ^ cc1: all warnings being treated as errors ../../minios.mk:69: recipe for target '/local/scratch/ianc/devel/mini-os.git/arch/arm/mm.o' failed make[1]: *** [/local/scratch/ianc/devel/mini-os.git/arch/arm/mm.o] Error 1 make[1]: Target 'all' not remade because of errors. make[1]: Leaving directory '/local/scratch/ianc/devel/mini-os.git/arch/arm' Makefile:166: recipe for target 'arch_lib' failed make: *** [arch_lib] Error 1 make: Target 'default' not remade because of errors.