Re: [GIT PULL 00/20] perf/core improvements

From: Ingo Molnar
Date: Wed Jun 20 2012 - 10:49:11 EST



* Namhyung Kim <namhyung@xxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/