Re: [2.6 patch] x86: allow 64bit setting in Kconfig

From: Adrian Bunk
Date: Mon Feb 11 2008 - 11:51:20 EST


On Mon, Feb 11, 2008 at 05:37:40PM +0100, Ingo Molnar wrote:
>
> * Adrian Bunk <bunk@xxxxxxxxxx> wrote:
>
> > > make ARCH=i386 randconfig
> > >
> > > on a 64-bit box that has a 32-bit .config in its kernel directory.
> > >
> > > The randconfig/allyesconfig/allnoconfig variants override whatever
> > > is in the current .config. Making the result depend on whatever is
> > > in the .config at the moment is fundamentally wrong.
> > >
> > > "oldconfig" on the other hand has correct sensitivity to the
> > > existing .config - and that always worked correctly. So if you pop a
> > > 32-bit or a 64-bit .config into a kernel tree, that will be listened
> > > to, no matter whether you are on a 32-bit or on a 64-bit host.
> >
> > Do you have ARCH=x86 set in your environment, the command line or
> > patched into your Makefile when this works for you?
>
> nope, it happens with vanilla and no ARCH environment variable set that
> i know of. So you cannot see this behavior?

No.

In my experience there is no way for me to enable 64BIT without somehow
manually fiddling with ARCH.

No matter whether it's menuconfig or oldconfig or whatever else.

> Ingo

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/