Re: Parallel building of Linux Kernel is broken

2018-09-15 Thread Paul Smith
On Tue, 2018-09-11 at 10:39 +0900, Masahiro Yamada wrote: > Yes, with this change, I can build Linux kernel in parallel now. I've pushed a similar change along with a regression test to the Git repository. Thanks for your efforts tracking this down! It was certainly an obscure situation. __

Re: Parallel building of Linux Kernel is broken

2018-09-10 Thread Masahiro Yamada
Hello Mike, 2018-09-11 1:24 GMT+09:00 Mike Shal : > > It looks like the patch in question changed the default state of the > jobserver tokens to be not inherited. Since this Makefile generates an > included file (auto.conf), the 'make all' invocation creates that file and > then re-invokes itself

Re: Parallel building of Linux Kernel is broken

2018-09-10 Thread Mike Shal
On Mon, Sep 10, 2018 at 4:18 AM Masahiro Yamada < yamada.masah...@socionext.com> wrote: > Hello. > > > Seems no more feedback for this regression report. > > OK, the Linux kernel build system is too complicated. > So, I have come back with a much simpler test-case. > > Here, the test-case is only

Re: Parallel building of Linux Kernel is broken

2018-09-10 Thread Masahiro Yamada
Hello. Seems no more feedback for this regression report. OK, the Linux kernel build system is too complicated. So, I have come back with a much simpler test-case. Here, the test-case is only 2 makefiles, less than 50 lines. Please take a look this problem. As I already reported, the git-bis

Re: Parallel building of Linux Kernel is broken

2018-08-08 Thread Masahiro Yamada
Hello. 2018-07-12 20:55 GMT+09:00 Masahiro Yamada : > 2018-07-12 20:26 GMT+09:00 Paul Smith : >> On Thu, 2018-07-12 at 14:51 +0900, Masahiro Yamada wrote: >>> I attached information that might be helpful. >>> Please take it FWIW. >> >> The content you quote looks correct to me so if that's what'

Re: Parallel building of Linux Kernel is broken

2018-07-12 Thread Masahiro Yamada
2018-07-12 20:26 GMT+09:00 Paul Smith : > On Thu, 2018-07-12 at 14:51 +0900, Masahiro Yamada wrote: >> I attached information that might be helpful. >> Please take it FWIW. > > The content you quote looks correct to me so if that's what's really in > the makefiles then the problem is a deeper myste

Re: Parallel building of Linux Kernel is broken

2018-07-12 Thread Paul Smith
On Thu, 2018-07-12 at 14:51 +0900, Masahiro Yamada wrote: > I attached information that might be helpful. > Please take it FWIW. The content you quote looks correct to me so if that's what's really in the makefiles then the problem is a deeper mystery. Can you clarify what version of GNU make you

Re: Parallel building of Linux Kernel is broken

2018-07-11 Thread Masahiro Yamada
Hi. 2018-07-12 14:13 GMT+09:00 Paul Smith : > On Thu, 2018-07-12 at 13:55 +0900, Masahiro Yamada wrote: >> Please add V=1 to the build command, like this: >> >> $ make -j8 V=1 defconfig all >> >> It will emit _almost_ raw log. > > At this time I don't have the resources to do this. It will take

Re: Parallel building of Linux Kernel is broken

2018-07-11 Thread Paul Smith
On Thu, 2018-07-12 at 13:55 +0900, Masahiro Yamada wrote: > Please add V=1 to the build command, like this: > > $ make -j8 V=1 defconfig all > > It will emit _almost_ raw log. At this time I don't have the resources to do this. It will take me some time if you're going to wait for me. > > Th

Re: Parallel building of Linux Kernel is broken

2018-07-11 Thread Masahiro Yamada
Hi. 2018-07-12 13:37 GMT+09:00 Paul Smith : > On Thu, 2018-07-12 at 10:26 +0900, Masahiro Yamada wrote: >> $ make -j8 defconfig all >> HOSTCC scripts/basic/fixdep >> HOSTCC scripts/kconfig/conf.o >> YACCscripts/kconfig/zconf.tab.c >> LEX scripts/kconfig/zconf.lex.c >> HOSTCC s

Re: Parallel building of Linux Kernel is broken

2018-07-11 Thread Paul Smith
On Thu, 2018-07-12 at 10:26 +0900, Masahiro Yamada wrote: > $ make -j8 defconfig all > HOSTCC scripts/basic/fixdep > HOSTCC scripts/kconfig/conf.o > YACCscripts/kconfig/zconf.tab.c > LEX scripts/kconfig/zconf.lex.c > HOSTCC scripts/kconfig/zconf.tab.o > HOSTLD scripts/kconfi

Parallel building of Linux Kernel is broken

2018-07-11 Thread Masahiro Yamada
Hello GNU Make folks, I am a Linux kernel developer. I think the following commit broke the parallel building of Linux kernel. commit 2b8e3bb23f96c2458818f011593557d3353dade3 Author: Paul Smith Date: Mon Jan 2 14:08:54 2017 -0500 Clean up close-on-exec, particularly with jobserver pi