Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Apr 2010 11:38:38 +0400
From:      Arseny Nasokin <eirnym@gmail.com>
To:        Andriy Gapon <avg@icyb.net.ua>
Cc:        FreeBSD Mail Lists <freebsd-current@freebsd.org>
Subject:   Re: Cross compilling kernel i386/amd64 is failed
Message-ID:  <44733623-700C-4A1A-AD21-3724351915C1@gmail.com>
In-Reply-To: <4BC803C1.505@icyb.net.ua>
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>

next in thread | previous in thread | raw e-mail | index | archive | help


On 16 Apr 2010, at 10:29, Andriy Gapon <avg@icyb.net.ua> wrote:

> on 16/04/2010 04:19 Arseny Nasokin said the following:
>>
>>
>> On 16 Apr 2010, at 03:03, Andriy Gapon <avg@icyb.net.ua> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44733623-700C-4A1A-AD21-3724351915C1>