Re: linux-next: build failure after merge of the aio tree

From: Benjamin LaHaise
Date: Thu Feb 04 2016 - 09:32:12 EST


On Thu, Feb 04, 2016 at 02:12:53PM +0000, Russell King - ARM Linux wrote:
> Hence, __get_user() on x86-32 with a 64-bit quantity results in
> __get_user_bad() being called, which is an undefined function.
> Only if you build with x86-64 support enabled (iow, CONFIG_X86_32 not
> defined) then you get the 64-bit __get_user() support.
>
> Given this, I fail to see how x86-32 can possibly work.

You're right; mea culpa. It compiles without warning on x86-32, but it
does not link. I still think this is broken archtecture stupidity since
put_user() works for 64 bit data types.

-ben
--
"Thought is the essence of where you are now."