From owner-freebsd-xen@FreeBSD.ORG Sun Jul 19 07:49:36 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 0F71C106566B for ; Sun, 19 Jul 2009 07:49:36 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.237]) by mx1.freebsd.org (Postfix) with ESMTP id D5DD28FC0A for ; Sun, 19 Jul 2009 07:49:35 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by rv-out-0506.google.com with SMTP id f9so482983rvb.43 for ; Sun, 19 Jul 2009 00:49:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=I1B2LStNveGuPC7bdVZ5unFcrtCrYIvcD4Gr28Y2ic0=; b=TrDxjzGio3yzZzANVXgf2eRhzz3Tm0UtUKdasi/F/DHtaPf0aFE6+56+cW23Yezu+m w7Gi6xXriDE6xHiZKcSgy53+HFzGgOUVXJg+IrynS1cKJC5t2p94nI0ZNRJKM14hhqzj dOmhgMF7rZtQNpxH9VG7TNM3bdOcvtqyyEcVk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=BGF/rd9O/TEq+l5ZSv8fFlmbq9EbUtydNiLZcSjUtlkKAUv0o6nPmZNO4FHRlobNut Nq35EWDR8p80PfKzibpguqzGTGMXePZq/59Bf9Vwrg1PABNArrM4XorKrk3cATjpx+Cw gbUzsT0rhlKFJelYOci0I+ET6vzwqTYv+BOY0= MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.140.203.18 with SMTP id a18mr1621958rvg.217.1247989775579; Sun, 19 Jul 2009 00:49:35 -0700 (PDT) In-Reply-To: <4A61CDA2.7020907@gmail.com> References: <4A61CDA2.7020907@gmail.com> Date: Sun, 19 Jul 2009 15:49:35 +0800 X-Google-Sender-Auth: 8e8fd255fcc6306c Message-ID: From: Adrian Chadd To: "Yury A. Buldakov" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-xen@freebsd.org Subject: Re: 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: Sun, 19 Jul 2009 07:49:36 -0000 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 : > %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" >