From owner-freebsd-xen@FreeBSD.ORG Sat Jul 18 13:55:46 2009 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1DEFD106566B for ; Sat, 18 Jul 2009 13:55:46 +0000 (UTC) (envelope-from yury.buldakov@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by mx1.freebsd.org (Postfix) with ESMTP id 9775B8FC08 for ; Sat, 18 Jul 2009 13:55:45 +0000 (UTC) (envelope-from yury.buldakov@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so285594fgb.12 for ; Sat, 18 Jul 2009 06:55:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=2OqNQgJp5NTvpsqQijjZmu4f1LjPaw5iaQPTMfDX+gA=; b=Q0JRES0g774XCA52ve/Elod/KnByefMcHECAPrI0HCvmUAuHD87SyFw/1WhtV+9qC7 BSMqAJ7Ynm/0r94ouLI1452rVl+w2scPiNOL6IKTlu3JUeJ9CAyIJhoKqwMpUCBD4CT1 CyhDsIMWFS01Pz/Um5D3Lp6AzpYNqAbu/bHKQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=BERbreM/nyZDiZAOvLf96y8f3ZClBZP1AGreP5UBoOUOi2YWzdt8uQ9eblIEiMEvGr /LbT2Ov642cY7EsmoPCgugVm6+ZYM83Mg4IMmAnojgS5FHIYDSGsvTxiCoieAj0F0rbf ypmbEiHyykT2H7g9emZJhY+MCobNIdwXkx9Tw= Received: by 10.86.74.15 with SMTP id w15mr1753507fga.26.1247923632571; Sat, 18 Jul 2009 06:27:12 -0700 (PDT) Received: from ?192.168.192.155? (cn-bgp-242.portaone.com [193.28.87.242]) by mx.google.com with ESMTPS id d4sm3167417fga.8.2009.07.18.06.27.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 18 Jul 2009 06:27:12 -0700 (PDT) Message-ID: <4A61CDA2.7020907@gmail.com> Date: Sat, 18 Jul 2009 16:26:58 +0300 From: "Yury A. Buldakov" User-Agent: Thunderbird 2.0.0.22 (X11/20090605) MIME-Version: 1.0 To: freebsd-xen@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: buildworld fails for rev195572 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Jul 2009 13:55:46 -0000 %subj While doing make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=XEN or cd /usr/src/sys/i386/compile/XEN make build fails with: ------ cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline - Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I../../.. -I../../../contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include o pt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boun dary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -Werror ../../../xdr/xdr_mbuf.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline - Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I../../.. -I../../../contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include o pt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boun dary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -Werror ../../../xdr/xdr_mem.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline - Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I../../.. -I../../../contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include o pt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boun dary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -Werror ../../../xdr/xdr_reference.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline - Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I../../.. -I../../../contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include o pt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boun dary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -Werror ../../../xdr/xdr_sizeof.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline - Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I../../.. -I../../../contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include o pt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boun dary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -Werror ../../../xen/gnttab.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline - Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I../../.. -I../../../contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include o pt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boun dary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -Werror ../../../xen/features.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline - Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I../../.. -I../../../contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include o pt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boun dary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -Werror ../../../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= I got this ----- ... cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline - Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I../../.. -I../../../contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include o pt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boun dary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector vnode_if.c :> hack.c cc -shared -nostdlib hack.c -o hack.So rm -f hack.c MAKE=make sh ../../../conf/newvers.sh XEN cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline - Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I../../.. -I../../../contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include o pt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boun dary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector 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.