From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Zijlstra Subject: Re: [kbuild] Re: linux-next: build failure after merge of the tip tree Date: Thu, 17 Feb 2011 13:45:47 +0100 Message-ID: <1297946747.2413.1717.camel@twins> References: <20110131154259.dca1f7e6.sfr@canb.auug.org.au> <20110217144743.2db26b27.sfr@canb.auug.org.au> <20110217124304.GA27504@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Return-path: Received: from casper.infradead.org ([85.118.1.10]:60121 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755844Ab1BQMq0 convert rfc822-to-8bit (ORCPT ); Thu, 17 Feb 2011 07:46:26 -0500 In-Reply-To: <20110217124304.GA27504@elte.hu> Sender: linux-next-owner@vger.kernel.org List-ID: To: Ingo Molnar Cc: Stephen Rothwell , Thomas Gleixner , "H. Peter Anvin" , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Fenghua Yu , Michal Marek On Thu, 2011-02-17 at 13:43 +0100, Ingo Molnar wrote: > * Stephen Rothwell wrote: > > > Hi all, > > > > On Mon, 31 Jan 2011 15:42:59 +1100 Stephen Rothwell wrote: > > > > > > After merging the tip tree, today's linux-next build (x86_64 allmodconfig) > > > failed like this: > > > > > > x86_64-linux-gcc: arch/x86/lib/memmove_64.c: No such file or directory > > > > > > Caused by commit 9599ec0471deae24044241e2173090d2cbc0e899 ("x86-64, mem: > > > Convert memmove() to assembly file and fix return value bug") interacting > > > with our build system. > > > > > > After removing arch/x86/lib/.memmove_64.o.cmd (left over from the build > > > before merging the tip tree) from my object tree, it built correctly. > > > > I am still getting this (of course). > > You reported this as a -tip build failure - but it appears to be some sort of kbuild > bug/artifact, right? There was a leftover .memmove_64.o.cmd file from an old tree. > > When jumping between kernel versions via git checkout a 'make mrproper' is generally > needed. In most cases 'make' will figure things out but it's not always guaranteed. > > So for example there are version transitions where a stale include/asm links could > cause build problems. Yeah, I run into this problem once every few days, totally annoying. A make clean does fix it so I couldn't be arsed to actually submit myself to Kbuild voodoo, but if someone who knows about that stuff could come up with a fix I'd be most obliged.