Re: `make headers_check' bustage

Américo Wang
2011-07-21T05:15:35Z

On Mon, Jul 18, 2011 at 5:47 AM, Randy Dunlap <rdunlap@xenotime.net> wrote:
> On Thu, 7 Jul 2011 17:16:27 -0700 Andrew Morton wrote:
>
>> It is just me, or is headers_check busted in current -linus?
>>
>> z:/usr/src/25> make mrproper; make allmodconfig; make headers_check
>> ...
>> /usr/src/25/usr/include/linux/kernel.h:65: userspace cannot reference function or variable defined in the kernel
>> /usr/src/25/usr/include/linux/quota.h:175: userspace cannot reference function or variable defined in the kernel
>> /usr/src/25/usr/include/linux/sdla.h:116: userspace cannot reference function or variable defined in the kernel
>> /usr/src/25/usr/include/linux/soundcard.h:1054: userspace cannot reference function or variable defined in the kernel
>
> What does it take to reproduce this?
> Does it fail on either type of X86 or is this from some other $ARCH?
> I can't make it fail on X86 (3.0-rc7).

If you have CONFIG_HEADERS_CHECK=y in your .config,
make headers_check will be invoked after compiling is done.