Re: Linux 3.7-rc1 (uml uapi errors)
From: Randy Dunlap
Date: Mon Oct 15 2012 - 12:30:31 EST
On 10/14/2012 06:37 PM, Randy Dunlap wrote:
> On 10/14/2012 06:15 PM, Randy Dunlap wrote:
>
>> On 10/14/2012 03:27 PM, Linus Torvalds wrote:
>>
>>> The two weeks are up, and I was merging during my trip, so no reason
>>> for merge window extensions.
>>>
>>> The 3.7-rc1 kernel is out there. There's a few big things worth noting here:
>>>
>>> - the "uapi" include file cleanups. The idea is that the stuff
>>> exported to user space should now be found under include/uapi and
>>> arch/$(ARCH)/include/uapi.
>>>
>>> Let's hope it actually works. Because otherwise this was just a
>>> totally pointless pain in the *ss. And regardless, I'm definitely done
>>> with these kinds of "let's do massive cleanup of the include files"
>>> forever.
>>
>>
>>
>> Building um (uml) for x86_64 (defconfig) has lots of errors like:
>>
>> In file included from include/linux/irq.h:22:0,
>> from include/asm-generic/hardirq.h:12,
>> from arch/um/include/generated/asm/hardirq.h:1,
>> from include/linux/hardirq.h:7,
>> from include/linux/ftrace_event.h:7,
>> from include/trace/syscall.h:6,
>> from include/linux/syscalls.h:78,
>> from init/noinitramfs.c:23:
>> include/linux/irqnr.h:4:30: fatal error: uapi/linux/irqnr.h: No such file or directory
>>
>> make[2]: *** [init/main.o] Error 1
>> make[2]: *** [init/noinitramfs.o] Error 1
>> make[2]: *** [init/do_mounts.o] Error 1
>> make[2]: *** [arch/um/kernel/irq.o] Error 1
>
>
>
> Similar build errors on i386 (X86_32) and x86_64.
> Maybe they are due to using O=subdir when building....?
These builds work after adding an empty file
include/uapi/linux/irqnr.h.
I am building from linux-3.6 tarball + 3.7-rc1 patch file.
David thinks that 'patch' is deleting the empty header file.
Thanks for your help, David.
--
~Randy
--
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/