From owner-freebsd-current@FreeBSD.ORG Wed Nov 19 07:25:44 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9CF991065672 for ; Wed, 19 Nov 2008 07:25:44 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.229]) by mx1.freebsd.org (Postfix) with ESMTP id 6F75E8FC0A for ; Wed, 19 Nov 2008 07:25:44 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so3154633rvf.43 for ; Tue, 18 Nov 2008 23:25:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=phdBN61qqKtXfze4Lj5k02a/WvMdVUj0awoYvBuFvBg=; b=OMlifasoSpWmb26K9AR4Vi09INAkJBacx0t1GVNoVbyPcHvDuvU1osCpRDei+26wx0 Z9yDNBRUr+tWL5MXprHZsFI1KzMH+NW7TS/f/Wmwh0nfYEhribrGuX+86je+VHIcqJho ftR+/s2iuBTvMdVVSrHeg8u9w72+nZosRqkPs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=f4HFiX6LCkWB07sLSbrNfJEBoHEu4CLm1bfQ05XSq8ujDk6G/hXNNdSSV06ak/oXQ1 7eVP6P4TPEHgAjpF/ev2e9dcZ8N9n36a567XnvoxKHPJlJYLxIBUaDzH3L+IXVoF2/nl 01GfM8608EEE4VBTSyPFWO6Xd57J/cUPs9yXE= Received: by 10.141.97.5 with SMTP id z5mr425636rvl.104.1227077565009; Tue, 18 Nov 2008 22:52:45 -0800 (PST) Received: by 10.141.27.8 with HTTP; Tue, 18 Nov 2008 22:52:44 -0800 (PST) Message-ID: <3c1674c90811182252q5902853dn3685d9edf1c86d8f@mail.gmail.com> Date: Wed, 19 Nov 2008 06:52:44 +0000 From: "Kip Macy" Sender: mat.macy@gmail.com To: "Alex Keda" In-Reply-To: <4923B6BF.3060101@lissyara.su> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4923B6BF.3060101@lissyara.su> X-Google-Sender-Auth: d9608aa4c522d2b0 Cc: current@freebsd.org Subject: Re: cannot build XEN kernel on amd64 machine X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2008 07:25:44 -0000 You need to build kernel-toolchain for cross-compile first. -Kip On Wed, Nov 19, 2008 at 6:48 AM, Alex Keda wrote: > lissyara# uname -a > FreeBSD lissyara.moskb.local 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Tue Nov 18 > 18:24:01 MSK 2008 > lissyara@lissyara.moskb.local:/usr/obj/mnt/jabber/DISTR/FreeBSD/src/CURRENT/sys/GENERIC > amd64 > lissyara# make buildkernel KERNCONF=XEN TARGET_ARCH=i386 > > ......... skipped ......... > > -------------------------------------------------------------- >>>> stage 3.1: making dependencies > -------------------------------------------------------------- > cd /usr/obj/i386/mnt/jabber/DISTR/FreeBSD/src/CURRENT/sys/XEN; > MAKEOBJDIRPREFIX=/usr/obj/i386 MACHINE_ARCH=i386 MACHINE=i386 CPUTYPE= > GROFF_BIN_PATH=/usr/obj/i386/mnt/jabber/DISTR/FreeBSD/src/CURRENT/tmp/legacy/usr/bin > GROFF_FONT_PATH=/usr/obj/i386/mnt/jabber/DISTR/FreeBSD/src/CURRENT/tmp/legacy/usr/share/groff_font > GROFF_TMAC_PATH=/usr/obj/i386/mnt/jabber/DISTR/FreeBSD/src/CURRENT/tmp/legacy/usr/share/tmac > _SHLIBDIRPREFIX=/usr/obj/i386/mnt/jabber/DISTR/FreeBSD/src/CURRENT/tmp > VERSION="FreeBSD 8.0-CURRENT amd64 800053" INSTALL="sh > /mnt/jabber/DISTR/FreeBSD/src/CURRENT/tools/install.sh" > PATH=/usr/obj/i386/mnt/jabber/DISTR/FreeBSD/src/CURRENT/tmp/legacy/usr/sbin:/usr/obj/i386/mnt/jabber/DISTR/FreeBSD/src/CURRENT/tmp/legacy/usr/bin:/usr/obj/i386/mnt/jabber/DISTR/FreeBSD/src/CURRENT/tmp/legacy/usr/games:/usr/obj/i386/mnt/jabber/DISTR/FreeBSD/src/CURRENT/tmp/usr/sbin:/usr/obj/i386/mnt/jabber/DISTR/FreeBSD/src/CURRENT/tmp/usr/bin:/usr/obj/i386/mnt/jabber/DISTR/FreeBSD/src/CURRENT/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin > NO_CTF=1 make KERNEL=kernel depend -DNO_MODULES_OBJ > machine -> /mnt/jabber/DISTR/FreeBSD/src/CURRENT/sys/i386/include > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. > -I/mnt/jabber/DISTR/FreeBSD/src/CURRENT/sys > -I/mnt/jabber/DISTR/FreeBSD/src/CURRENT/sys/contrib/altq > -I/mnt/jabber/DISTR/FreeBSD/src/CURRENT/sys/contrib/ipfilter > -I/mnt/jabber/DISTR/FreeBSD/src/CURRENT/sys/contrib/pf > -I/mnt/jabber/DISTR/FreeBSD/src/CURRENT/sys/dev/ath > -I/mnt/jabber/DISTR/FreeBSD/src/CURRENT/sys/contrib/ngatm > -I/mnt/jabber/DISTR/FreeBSD/src/CURRENT/sys/dev/twa > -I/mnt/jabber/DISTR/FreeBSD/src/CURRENT/sys/gnu/fs/xfs/FreeBSD > -I/mnt/jabber/DISTR/FreeBSD/src/CURRENT/sys/gnu/fs/xfs/FreeBSD/support > -I/mnt/jabber/DISTR/FreeBSD/src/CURRENT/sys/gnu/fs/xfs > -I/mnt/jabber/DISTR/FreeBSD/src/CURRENT/sys/contrib/opensolaris/compat > -I/mnt/jabber/DISTR/FreeBSD/src/CURRENT/sys/dev/cxgb -D_KERNEL > -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -finline-limit=8000 > --param inline-unit-growth=100 --param large-function-growth=1000 > -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow > -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector > /mnt/jabber/DISTR/FreeBSD/src/CURRENT/sys/i386/i386/genassym.c > /mnt/jabber/DISTR/FreeBSD/src/CURRENT/sys/i386/i386/genassym.c:1: error: > -mpreferred-stack-boundary=2 is not between 4 and 12 > *** Error code 1 > > Stop in /usr/obj/i386/mnt/jabber/DISTR/FreeBSD/src/CURRENT/sys/XEN. > *** Error code 1 > > Stop in /mnt/jabber/DISTR/FreeBSD/src/CURRENT. > *** Error code 1 > > Stop in /mnt/jabber/DISTR/FreeBSD/src/CURRENT. > lissyara# _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > -- If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis