From owner-freebsd-current@FreeBSD.ORG Thu Apr 15 23:04:01 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2023106564A for ; Thu, 15 Apr 2010 23:04:01 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 095B38FC13 for ; Thu, 15 Apr 2010 23:04:00 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id CAA14651; Fri, 16 Apr 2010 02:03:58 +0300 (EEST) (envelope-from avg@icyb.net.ua) Received: from localhost.topspin.kiev.ua ([127.0.0.1]) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1O2Y6H-0006Yb-CZ; Fri, 16 Apr 2010 02:03:57 +0300 Message-ID: <4BC79B5C.7030307@icyb.net.ua> Date: Fri, 16 Apr 2010 02:03:56 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.24 (X11/20100321) MIME-Version: 1.0 To: Arseny Nasokin References: <6568D0A3-6061-4E24-9568-0D190469C97A@gmail.com> In-Reply-To: <6568D0A3-6061-4E24-9568-0D190469C97A@gmail.com> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Mail Lists Subject: Re: Cross compilling kernel i386/amd64 is failed 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: Thu, 15 Apr 2010 23:04:01 -0000 on 16/04/2010 01:27 Arseny Nasokin said the following: > I get error in same point when I try compile amd64 current GENERIC on > i386 machine. Svn revision is 206597 > > Error at src/sys/amd64/amd64/genassym.c:1: code model 'kernel' not > supported in the 32 bit mode. > > how to cross compile it? > > PS: I build only kernel at this point. Should I rebuild whole world to > build kernel? kernel-toolchain See build(7) -- Andriy Gapon