From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58981) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X590t-0002GV-5d for qemu-devel@nongnu.org; Thu, 10 Jul 2014 03:43:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X590m-0004iz-03 for qemu-devel@nongnu.org; Thu, 10 Jul 2014 03:43:31 -0400 Received: from mail-qg0-x22a.google.com ([2607:f8b0:400d:c04::22a]:39038) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X590l-0004iu-RO for qemu-devel@nongnu.org; Thu, 10 Jul 2014 03:43:23 -0400 Received: by mail-qg0-f42.google.com with SMTP id e89so7362708qgf.1 for ; Thu, 10 Jul 2014 00:43:23 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <53BE4414.7020006@redhat.com> Date: Thu, 10 Jul 2014 09:43:16 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <20140528125211.29732.51513.malonedeb@wampee.canonical.com> <20140604081913.GF21259@stefanha-thinkpad.redhat.com> <6D74E24018EBA548A6FC5B2CE98D10AB16DC2F@ezex10.ezchip.com> <20140609133801.GH19546@stefanha-thinkpad.redhat.com> <6D74E24018EBA548A6FC5B2CE98D10AB17639F@ezex10.ezchip.com> In-Reply-To: <6D74E24018EBA548A6FC5B2CE98D10AB17639F@ezex10.ezchip.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Bug 1324112] [NEW] qemu parallel building error on libcacard.la List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Bug 1324112 <1324112@bugs.launchpad.net>, qemu-devel@nongnu.org Il 10/06/2014 17:08, tal zilcer ha scritto: > Trace/generated*.o files depends on trace/generated*.la files($(libcacard-obj-y): | $(libcacard-lobj-y)) > Also util depends on generated-*.o files (util-obj-y += generated-events.o) > This means when libcacard.la is being build generated-*.o files can be build by the util target. > I think you should change libcacard.la dependencies to include the o files and not only the la files. This should now be fixed because libcacard doesn't use trace/* anymore. In any case, this was the logic: - trace/generated-events.o should not be started until after trace/generated-events.lo has been built. - trace/generated-events.lo will also build trace/generated-events.o, so the trace/generated-events.o rule will never be invoked. Paolo