Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756704Ab2FTOtP (ORCPT ); Wed, 20 Jun 2012 10:49:15 -0400 Received: from mail-wg0-f44.google.com ([74.125.82.44]:51790 "EHLO mail-wg0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756683Ab2FTOtJ (ORCPT ); Wed, 20 Jun 2012 10:49:09 -0400 Date: Wed, 20 Jun 2012 16:49:02 +0200 From: Ingo Molnar To: Namhyung Kim Cc: Arnaldo Carvalho de Melo , linux-kernel@vger.kernel.org, Andi Kleen , Arun Sharma , Benjamin Redelings , Corey Ashford , Cyrill Gorcunov , David Ahern , "Frank Ch. Eigler" , Frederic Weisbecker , Ingo Molnar , Jiri Olsa , Masami Hiramatsu , Mike Galbraith , Namhyung Kim , Paul Mackerras , Pekka Enberg , Peter Zijlstra , Robert Richter , Shan Wei , Stephane Eranian , Sunjin Yang , Tom Zanussi , Ulrich Drepper , Arnaldo Carvalho de Melo Subject: Re: [GIT PULL 00/20] perf/core improvements Message-ID: <20120620144902.GB2007@gmail.com> References: <1340128221-17348-1-git-send-email-acme@infradead.org> <20120620120141.GB1925@gmail.com> <1340201223.1520.5.camel@leonhard> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1340201223.1520.5.camel@leonhard> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1107 Lines: 35 * Namhyung Kim wrote: > 2012-06-20 (수), 14:01 +0200, Ingo Molnar: > > One Makefile bug I noticed is that lib/tracevents does not clean > > out these files: > > > > .event-parse.d > > .parse-filter.d > > .parse-utils.d > > .trace-seq.d > > > > and this can break the build when the libgcc package upgraded: > > > > comet:~/tip/tools/perf> make -j > > SUBDIR ../lib/traceevent/ > > make[1]: *** No rule to make target `/usr/lib/gcc/x86_64-redhat-linux/4.7.0/include/stddef.h', > > needed by `event-parse.o'. Stop. > > make: *** [../lib/traceevent//libtraceevent.a] Error 2 > > So how should we deal with it? Just plain 'make clean' should > delete *.d files or add something like 'make distclean' to do > that? Well, 'make' should notice that they are stale or should regenerate them all the time. Thanks, Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/