Re: Cross compilling kernel i386/amd64 is failed

From: Arseny Nasokin <eirnym_at_gmail.com>
Date: Fri, 16 Apr 2010 11:38:38 +0400
On 16 Apr 2010, at 10:29, Andriy Gapon <avg_at_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_at_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
Received on Fri Apr 16 2010 - 05:38:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:02 UTC