From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:60471) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ua1L3-0008CS-4t for qemu-devel@nongnu.org; Wed, 08 May 2013 06:11:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ua1Ky-00066z-3S for qemu-devel@nongnu.org; Wed, 08 May 2013 06:11:08 -0400 Received: from mail-wi0-x236.google.com ([2a00:1450:400c:c05::236]:34018) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ua1Kx-00066n-TA for qemu-devel@nongnu.org; Wed, 08 May 2013 06:11:04 -0400 Received: by mail-wi0-f182.google.com with SMTP id m6so1717452wiv.9 for ; Wed, 08 May 2013 03:11:03 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <518A24B3.10404@redhat.com> Date: Wed, 08 May 2013 12:10:59 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <20130508083946.GC3093@dhcp-200-207.str.redhat.com> <309861353.7630251.1368002649404.JavaMail.root@redhat.com> <20130508090026.GD3093@dhcp-200-207.str.redhat.com> In-Reply-To: <20130508090026.GD3093@dhcp-200-207.str.redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Makefile: Dependency problem List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: qemu-devel@nongnu.org Il 08/05/2013 11:00, Kevin Wolf ha scritto: > Am 08.05.2013 um 10:44 hat Paolo Bonzini geschrieben: >> >>> I just had a failing build like this (make -j3, so these are running in >>> parallel): >>> >>> lt LINK libcacard.la >>> AR libqemuutil.a >>> CC stubs/mon-printf.o >>> CC stubs/mon-print-filename.o >>> ar: stubs/mon-printf.o: No such file or directory >>> make: *** [libcacard.la] Fehler 1 >>> make: *** Warte auf noch nicht beendete Prozesse... >>> >>> Restarting make obviously fixed the problem, but I thought I'd mention it >>> here so that the dependencies can be fixed. >> >> Please try to reproduce it with "make V=1". > > Doesn't seem to be reproducable now. > >> Did you have an "lt CC stubs/mon-printf.lo" before? > > Nope, neither before this, nor during the following make run. So I guess > it left an old version of it? Yeah, it's possible that you have the .lo file, but deleted the .o file. libtool actually needs both, but the Makefile rule only has the .lo file (if you try "%.lo %.o: %.c", Make starts using libtool to build everything!). Paolo > Would explain why it doesn't reproduce after a "make clean". > >> What version of Make is this? > > make-3.82-13.fc18.x86_64 > > Kevin > >