Re: REGRESSION: 8fc5b4d: Unable to compile x86_64 kernel with x86_32 userland

2014-08-20 Thread H. Peter Anvin
Yes, that is exactly right. The lack of -m64 is a bug. On August 20, 2014 10:48:18 AM CDT, Vivek Goyal wrote: >On Wed, Aug 20, 2014 at 10:07:01AM -0500, H. Peter Anvin wrote: >> It says "32-bit mode" which means it is another issue: we are >dropping -m64 at some point. > >Thanks hpa. I am not ad

Re: REGRESSION: 8fc5b4d: Unable to compile x86_64 kernel with x86_32 userland

2014-08-20 Thread Thomas Glanzmann
Hello Vivek, * Vivek Goyal [2014-08-20 17:48]: > --- linux-2.6.orig/arch/x86/purgatory/Makefile2014-08-20 > 11:32:21.723559119 -0400 > +++ linux-2.6/arch/x86/purgatory/Makefile 2014-08-20 11:32:23.654570231 > -0400 > @@ -11,6 +11,7 @@ targets += purgatory.ro > # sure how to relocat

Re: REGRESSION: 8fc5b4d: Unable to compile x86_64 kernel with x86_32 userland

2014-08-20 Thread Thomas Glanzmann
Hello Vivek, * Vivek Goyal [2014-08-20 15:53]: > A patch is sitting in akpm's tree. That patch puts the new code under > a new config option CONFIG_KEXEC_FILE. So as long as you don't enable > CONFIG_KEXEC_FILE=y, you should be fine. This should not impact any of > the existing functionality. Jus

Re: REGRESSION: 8fc5b4d: Unable to compile x86_64 kernel with x86_32 userland

2014-08-20 Thread Vivek Goyal
On Wed, Aug 20, 2014 at 10:07:01AM -0500, H. Peter Anvin wrote: > It says "32-bit mode" which means it is another issue: we are dropping -m64 > at some point. Thanks hpa. I am not adding -m64 to kbuild flags at all. So 32bit tool chain must be assuming -m32 by default, and probably that's the iss

Re: REGRESSION: 8fc5b4d: Unable to compile x86_64 kernel with x86_32 userland

2014-08-20 Thread H. Peter Anvin
It says "32-bit mode" which means it is another issue: we are dropping -m64 at some point. On August 20, 2014 7:56:30 AM CDT, Vivek Goyal wrote: >On Wed, Aug 20, 2014 at 08:24:08AM +0200, Thomas Glanzmann wrote: >> Hello Vivek, >> commit 8fc5b4d introduces a regression that no longer allows to >

Re: REGRESSION: 8fc5b4d: Unable to compile x86_64 kernel with x86_32 userland

2014-08-20 Thread Vivek Goyal
On Wed, Aug 20, 2014 at 08:24:08AM +0200, Thomas Glanzmann wrote: > 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 -

REGRESSION: 8fc5b4d: Unable to compile x86_64 kernel with x86_32 userland

2014-08-19 Thread Thomas Glanzmann
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 i