Cannot recompile x86_64 kernel on installed F9 i686

Joshua C. joshuacov at googlemail.com
Mon Oct 6 15:24:07 UTC 2008


2008/10/6 Jarod Wilson <jarod at redhat.com>:
> On Monday 06 October 2008 04:23:12 Joshua C. wrote:
>> I tried to recompile the x86_64 version of the F10beta kernel on my F9
>> i686. And this is the error message I got
> [...]
>> scripts/mod/empty.c:1: error: code model 'kernel' not supported in the
>> 32 bit mode
>> scripts/mod/empty.c:1: sorry, unimplemented: 64-bit mode not compiled in
>> make[2]: *** [scripts/mod/empty.o] Error 1
>> make[1]: *** [scripts/mod] Error 2
>> make[1]: *** Waiting for unfinished jobs....
>> make: *** [scripts] Error 2
> [...]
>> Recompiling the i686 kernel works fine but not the x86_64. Tried also
>> the lastes kernel in koji and got the same error. How to recompile it?
>
> x86_64 is backwards-compatible with i686. i686 is not forwards-compatible with
> x86_64. Might be doable with a cross-compiler env., but certainly not doable
> the way you're trying to do it.
>
> --
> Jarod Wilson
> jarod at redhat.com
>
 I have a x86_64 processor (Turion 64 X2 TL-60) but I've installed the
x86 version of fedora. Any ideas how is this going to work with qemu?
What should I install? Any cross-compilers?




More information about the fedora-devel-list mailing list