Date: Sun, 19 Jul 2009 15:49:35 +0800 From: Adrian Chadd <adrian@freebsd.org> To: "Yury A. Buldakov" <yury.buldakov@gmail.com> Cc: freebsd-xen@freebsd.org Subject: Re: buildworld fails for rev195572 Message-ID: <d763ac660907190049p7c86ab9dg717f6ea59f9ce667@mail.gmail.com> In-Reply-To: <4A61CDA2.7020907@gmail.com> References: <4A61CDA2.7020907@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I'm sure it's my fault and I'm sure it will be easy to fix. I'm just busy on other projects at the moment. I'll commit a patch if someone figures out the fix and attaches it to the relevant PR. Thanks, adrian 2009/7/18 Yury A. Buldakov <yury.buldakov@gmail.com>: > %subj > > While doing > =A0make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=3DXEN > > or > =A0cd /usr/src/sys/i386/compile/XEN > =A0make > > build fails with: > ------ > cc -c -O2 -pipe -fno-strict-aliasing =A0-std=3Dc99 =A0-Wall -Wredundant-d= ecls > -Wnested-externs -Wstrict-prototypes =A0-Wmissing-prototypes > -Wpointer-arith -Winline - > Wcast-qual =A0-Wundef -Wno-pointer-sign -fformat-extensions -nostdinc =A0= -I. > -I../../.. -I../../../contrib/altq -D_KERNEL > -DHAVE_KERNEL_OPTION_HEADERS -include o > pt_global.h -fno-common -finline-limit=3D8000 --param > inline-unit-growth=3D100 --param large-function-growth=3D1000 > -mno-align-long-strings -mpreferred-stack-boun > dary=3D2 =A0-mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestandi= ng > -fstack-protector -Werror =A0../../../xdr/xdr_mbuf.c > cc -c -O2 -pipe -fno-strict-aliasing =A0-std=3Dc99 =A0-Wall -Wredundant-d= ecls > -Wnested-externs -Wstrict-prototypes =A0-Wmissing-prototypes > -Wpointer-arith -Winline - > Wcast-qual =A0-Wundef -Wno-pointer-sign -fformat-extensions -nostdinc =A0= -I. > -I../../.. -I../../../contrib/altq -D_KERNEL > -DHAVE_KERNEL_OPTION_HEADERS -include o > pt_global.h -fno-common -finline-limit=3D8000 --param > inline-unit-growth=3D100 --param large-function-growth=3D1000 > -mno-align-long-strings -mpreferred-stack-boun > dary=3D2 =A0-mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestandi= ng > -fstack-protector -Werror =A0../../../xdr/xdr_mem.c > cc -c -O2 -pipe -fno-strict-aliasing =A0-std=3Dc99 =A0-Wall -Wredundant-d= ecls > -Wnested-externs -Wstrict-prototypes =A0-Wmissing-prototypes > -Wpointer-arith -Winline - > Wcast-qual =A0-Wundef -Wno-pointer-sign -fformat-extensions -nostdinc =A0= -I. > -I../../.. -I../../../contrib/altq -D_KERNEL > -DHAVE_KERNEL_OPTION_HEADERS -include o > pt_global.h -fno-common -finline-limit=3D8000 --param > inline-unit-growth=3D100 --param large-function-growth=3D1000 > -mno-align-long-strings -mpreferred-stack-boun > dary=3D2 =A0-mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestandi= ng > -fstack-protector -Werror =A0../../../xdr/xdr_reference.c > cc -c -O2 -pipe -fno-strict-aliasing =A0-std=3Dc99 =A0-Wall -Wredundant-d= ecls > -Wnested-externs -Wstrict-prototypes =A0-Wmissing-prototypes > -Wpointer-arith -Winline - > Wcast-qual =A0-Wundef -Wno-pointer-sign -fformat-extensions -nostdinc =A0= -I. > -I../../.. -I../../../contrib/altq -D_KERNEL > -DHAVE_KERNEL_OPTION_HEADERS -include o > pt_global.h -fno-common -finline-limit=3D8000 --param > inline-unit-growth=3D100 --param large-function-growth=3D1000 > -mno-align-long-strings -mpreferred-stack-boun > dary=3D2 =A0-mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestandi= ng > -fstack-protector -Werror =A0../../../xdr/xdr_sizeof.c > cc -c -O2 -pipe -fno-strict-aliasing =A0-std=3Dc99 =A0-Wall -Wredundant-d= ecls > -Wnested-externs -Wstrict-prototypes =A0-Wmissing-prototypes > -Wpointer-arith -Winline - > Wcast-qual =A0-Wundef -Wno-pointer-sign -fformat-extensions -nostdinc =A0= -I. > -I../../.. -I../../../contrib/altq -D_KERNEL > -DHAVE_KERNEL_OPTION_HEADERS -include o > pt_global.h -fno-common -finline-limit=3D8000 --param > inline-unit-growth=3D100 --param large-function-growth=3D1000 > -mno-align-long-strings -mpreferred-stack-boun > dary=3D2 =A0-mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestandi= ng > -fstack-protector -Werror =A0../../../xen/gnttab.c > cc -c -O2 -pipe -fno-strict-aliasing =A0-std=3Dc99 =A0-Wall -Wredundant-d= ecls > -Wnested-externs -Wstrict-prototypes =A0-Wmissing-prototypes > -Wpointer-arith -Winline - > Wcast-qual =A0-Wundef -Wno-pointer-sign -fformat-extensions -nostdinc =A0= -I. > -I../../.. -I../../../contrib/altq -D_KERNEL > -DHAVE_KERNEL_OPTION_HEADERS -include o > pt_global.h -fno-common -finline-limit=3D8000 --param > inline-unit-growth=3D100 --param large-function-growth=3D1000 > -mno-align-long-strings -mpreferred-stack-boun > dary=3D2 =A0-mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestandi= ng > -fstack-protector -Werror =A0../../../xen/features.c > cc -c -O2 -pipe -fno-strict-aliasing =A0-std=3Dc99 =A0-Wall -Wredundant-d= ecls > -Wnested-externs -Wstrict-prototypes =A0-Wmissing-prototypes > -Wpointer-arith -Winline - > Wcast-qual =A0-Wundef -Wno-pointer-sign -fformat-extensions -nostdinc =A0= -I. > -I../../.. -I../../../contrib/altq -D_KERNEL > -DHAVE_KERNEL_OPTION_HEADERS -include o > pt_global.h -fno-common -finline-limit=3D8000 --param > inline-unit-growth=3D100 --param large-function-growth=3D1000 > -mno-align-long-strings -mpreferred-stack-boun > dary=3D2 =A0-mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestandi= ng > -fstack-protector -Werror =A0../../../xen/evtchn/evtchn.c > cc1: warnings being treated as errors > ../../../xen/evtchn/evtchn.c:653: warning: initialization from > incompatible pointer type > *** Error code 1 > > Stop in /usr/src/sys/i386/compile/XEN. > ----- > > If I try to build it with > make WEARROR=3D > I got this > ----- > ... > cc -c -O2 -pipe -fno-strict-aliasing =A0-std=3Dc99 =A0-Wall -Wredundant-d= ecls > -Wnested-externs -Wstrict-prototypes =A0-Wmissing-prototypes > -Wpointer-arith -Winline - > Wcast-qual =A0-Wundef -Wno-pointer-sign -fformat-extensions -nostdinc =A0= -I. > -I../../.. -I../../../contrib/altq -D_KERNEL > -DHAVE_KERNEL_OPTION_HEADERS -include o > pt_global.h -fno-common -finline-limit=3D8000 --param > inline-unit-growth=3D100 --param large-function-growth=3D1000 > -mno-align-long-strings -mpreferred-stack-boun > dary=3D2 =A0-mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestandi= ng > -fstack-protector =A0 vnode_if.c > :> hack.c > cc -shared -nostdlib hack.c -o hack.So > rm -f hack.c > MAKE=3Dmake sh ../../../conf/newvers.sh XEN > cc -c -O2 -pipe -fno-strict-aliasing =A0-std=3Dc99 =A0-Wall -Wredundant-d= ecls > -Wnested-externs -Wstrict-prototypes =A0-Wmissing-prototypes > -Wpointer-arith -Winline - > Wcast-qual =A0-Wundef -Wno-pointer-sign -fformat-extensions -nostdinc =A0= -I. > -I../../.. -I../../../contrib/altq -D_KERNEL > -DHAVE_KERNEL_OPTION_HEADERS -include o > pt_global.h -fno-common -finline-limit=3D8000 --param > inline-unit-growth=3D100 --param large-function-growth=3D1000 > -mno-align-long-strings -mpreferred-stack-boun > dary=3D2 =A0-mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestandi= ng > -fstack-protector =A0 vers.c > linking kernel > device_pager.o(.text+0x1a9): In function `dev_pager_getpages': > : undefined reference to `pmap_page_set_memattr' > device_pager.o(.text+0x1c5): In function `dev_pager_getpages': > : undefined reference to `pmap_page_set_memattr' > device_pager.o(.text+0x2a8): In function `dev_pager_getpages': > : undefined reference to `pmap_page_set_memattr' > device_pager.o(.text+0x4c0): In function `dev_pager_dealloc': > : undefined reference to `pmap_page_set_memattr' > vm_contig.o(.text+0x776): In function `kmem_alloc_contig': > : undefined reference to `pmap_page_set_memattr' > vm_page.o(.text+0x1536): more undefined references to > `pmap_page_set_memattr' follow > *** Error code 1 > > Stop in /usr/src/sys/i386/compile/XEN. > ----- > My config is almost default XEN config with commented out debug-related > options. > _______________________________________________ > freebsd-xen@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-xen > To unsubscribe, send any mail to "freebsd-xen-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d763ac660907190049p7c86ab9dg717f6ea59f9ce667>
