From owner-freebsd-current@FreeBSD.ORG Fri Apr 16 07:38:41 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 C40FF106564A for ; Fri, 16 Apr 2010 07:38:41 +0000 (UTC) (envelope-from eirnym@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 509EC8FC08 for ; Fri, 16 Apr 2010 07:38:40 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id e12so140820fga.13 for ; Fri, 16 Apr 2010 00:38:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:in-reply-to:x-mailer :subject:references:message-id:content-type :content-transfer-encoding:mime-version:date:cc; bh=tsgWkr3Iel4HAB3wiCaaqZgxODlvH3VlRqWd6lO1yQw=; b=BHbdjNI/OLqR7WmNSGOMGS4wNP+MEslrHJ4aBM2R9UKHIMGhg84lQRdvKbHcY0mVM0 oqfubf8xGaQzQAJk0soKMwVXDElgT37GFfmq7E6XCISZOdrBEgekoa/Yf9ruFrFnmqvN NlTeItlcRQ84RFFYvLQ+ffFbRw+WhnujDhplo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:in-reply-to:x-mailer:subject:references:message-id :content-type:content-transfer-encoding:mime-version:date:cc; b=UIFVbo9X+RfNYEiSwQu4iyje/NDQhdyUy48wpvtKTjP8sASpcsHo9s2MND5JATBFOB VF2PuEXQqu75HlpXdw2IDPezQt5EL2q2EAicsuhYKeCHBfPmmFHMa3fhrOmnv0Em4SBb qD3VeZA7XQHZhJHtpP0y8sZxr+Q3RmVmFpIaw= Received: by 10.102.174.3 with SMTP id w3mr818107mue.48.1271403520085; Fri, 16 Apr 2010 00:38:40 -0700 (PDT) Received: from [10.0.0.1] ([77.41.31.122]) by mx.google.com with ESMTPS id g1sm12158138muf.0.2010.04.16.00.38.38 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 16 Apr 2010 00:38:39 -0700 (PDT) From: Arseny Nasokin To: Andriy Gapon In-Reply-To: <4BC803C1.505@icyb.net.ua> X-Mailer: iPhone Mail (7E18) References: <6568D0A3-6061-4E24-9568-0D190469C97A@gmail.com> <4BC79B5C.7030307@icyb.net.ua> <522A0C7F-396C-42C8-BD6A-240EBEDCF589@gmail.com> <4BC803C1.505@icyb.net.ua> Message-Id: <44733623-700C-4A1A-AD21-3724351915C1@gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (iPhone Mail 7E18) Date: Fri, 16 Apr 2010 11:38:38 +0400 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: Fri, 16 Apr 2010 07:38:41 -0000 On 16 Apr 2010, at 10:29, Andriy Gapon wrote: > on 16/04/2010 04:19 Arseny Nasokin said the following: >> >> >> On 16 Apr 2010, at 03:03, Andriy Gapon wrote: >> >>> 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) >> >> Thanks, I'll create bug with patch > > Please don't create any new bugs, bug reports are welcome though :-) Yeah, you're right, sorry. > BTW, what do you want to report? kernel-toolchain target must be called on cross-compilling, even you making cross-world (where toolchain is called) > >>> >>> -- >>> Andriy Gapon > > > -- > Andriy Gapon