Re: [GIT PULL 00/38] perf/core improvements and fixes

From: Jiri Olsa
Date: Thu Dec 05 2013 - 06:06:30 EST


On Thu, Dec 05, 2013 at 11:53:44AM +0100, Ingo Molnar wrote:

SNIP

>
> I saw it again on a system by running two parallel build jobs:
>
> D=/tmp/perf-1; mkdir -p $D; while make O=$D install; do make O=$D clean; done
> D=/tmp/perf-2; mkdir -p $D; while make O=$D install; do make O=$D clean; done
>
> one failed with:
>
> BUILD PLUGIN plugin_kmem.so
> make[2]: *** [sub-make] Error 2
> make[1]: *** [/tmp/perf-1/libtraceevent.a] Error 2
> make[1]: *** Waiting for unfinished jobs....
> BUILD PLUGIN plugin_kvm.so
>
> the other with:
>
> CC FPIC plugin_cfg80211.o
> CC /tmp/perf-2/builtin-help.o
> CC /tmp/perf-2/builtin-sched.o
> plugin_sched_switch.o: file not recognized: File truncated
> collect2: error: ld returned 1 exit status
> make[3]: *** [plugin_sched_switch.so] Error 1 BUILD PLUGIN plugin_function.so
>
>
> and that's clearly the new plugin code.

yes, I reproduced... looks like 'plugins' target is racing
with 'install_plugins' target.. both ending up building
same objects at the same time

working on fix

thanks,
jirka
--
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/