lkml.org 
[lkml]   [2014]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectREGRESSION: 8fc5b4d: Unable to compile x86_64 kernel with x86_32 userland
Hello Vivek,
commit 8fc5b4d introduces a regression that no longer allows to compile
x86_64 kernel under x86_32 userland. TJ on freenode/#kernel did analyze
it:

> (mini) [~/work/linux-2.6] make
> scripts/kconfig/conf --silentoldconfig Kconfig
> CHK include/config/kernel.release
> UPD include/config/kernel.release
> CHK include/generated/uapi/linux/version.h
> CHK include/generated/utsrelease.h
> UPD include/generated/utsrelease.h
> CC arch/x86/purgatory/purgatory.o
> arch/x86/purgatory/purgatory.c:1:0: error: code model 'large' not supported in the 32 bit mode
> make[1]: *** [arch/x86/purgatory/purgatory.o] Error 1
> make: *** [archprepare] Error 2

08:10 < TJ-> Glanzmann: The purgatory code from kexec is specifying ".code64"
08:11 < TJ-> Glanzmann: so when your local 32-bit linker tries to deal with that ... it errors
08:14 < TJ-> Glanzmann: there's only one introducing the purgatory stuff
08:14 < TJ-> 8fc5b4d Fri Aug 8 15:57:32 2014 -0700 Vivek Goyal purgatory: core purgatory functionality

Cheers,
Thomas


\
 
 \ /
  Last update: 2014-08-20 09:01    [W:0.044 / U:22.576 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site