From: Masahiro Yamada Date: Thu, 18 Dec 2014 19:42:34 +0900 Subject: [U-Boot] [PATCH 1/2] kbuild: Fix a false error of generic board support In-Reply-To: <20141216235646.GL20704@bill-the-cat> References: <20141216235646.GL20704@bill-the-cat> Message-ID: <20141218194233.D9A2.AA925319@jp.panasonic.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Matthew, Tom, On Tue, 16 Dec 2014 18:56:46 -0500 Tom Rini wrote: > On Tue, Dec 16, 2014 at 02:56:44PM -0600, mgerlach wrote: > > > Hello Masahiro Yamada, > > > > Even the with this patch, we encountered a false error of generic board > > support. The problem was very interrmittent for us, but we were able > > to debug the problem to performing builds on EXT3 file systems which > > have a time stamp resolution of one second. To reproduce the problem, > > touch ./include/config/auto.conf and .config on a configured uboot tree on > > an EXT3 file system. > > > > The patch below fixes the problem for us. > > This makes an odd race condition problem I run into when doing massively > paralell builds worse :( With MAKEALL no ARM boards build (ARCH wasn't > set in time so it tried arch//Makefile for something) and buildman was > also broken in a bunch of places. > Me too. Although I do not know why, Methew's patch makes it worse. Without MAKEALL or buildman, I hit the same error every time. $ LANG=C make -j8 CROSS_COMPILE=arm-linux-gnueabi- ph1_ld4_defconfig all HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o SHIPPED scripts/kconfig/zconf.tab.c SHIPPED scripts/kconfig/zconf.lex.c SHIPPED scripts/kconfig/zconf.hash.c HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf # # configuration written to .config # # # configuration written to spl/.config # ./Makefile:511: arch//Makefile: No such file or directory make[1]: *** No rule to make target `arch//Makefile'. Stop. make: *** [__build_one_by_one] Error 2 Best Regards Masahiro Yamada