lkml.org 
[lkml]   [2012]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux 3.7-rc1 (uml uapi errors)
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


\
 
 \ /
  Last update: 2012-10-15 19:01    [W:0.173 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site