Re: [PATCH v2] Fix objtool with clang

From: Peter Foley
Date: Mon Nov 28 2016 - 10:26:30 EST


On Mon, Nov 28, 2016 at 7:00 AM, Arnaldo Carvalho de Melo
<acme@xxxxxxxxxx> wrote:
> After I applied this I started getting this:
>
> CC /tmp/build/perf/tests/sw-clock.o
> /tmp/build/perf/.plugin_jbd2.o.cmd:3: *** empty variable name. Stop.
> Makefile:192: recipe for target '/tmp/build/perf/plugin_jbd2-in.o' failed
> make[2]: *** [/tmp/build/perf/plugin_jbd2-in.o] Error 2
> Makefile.perf:591: recipe for target '/tmp/build/perf/libtraceevent-dynamic-list' failed
> make[1]: *** [/tmp/build/perf/libtraceevent-dynamic-list] Error 2
> make[1]: *** Waiting for unfinished jobs....
> CC /tmp/build/perf/tests/mmap-thread-lookup.o

Odd, I can't reproduce that...
Mind sending your gcc version + the output of make V=1 + the contents
of the .cmd file causing the error?

Thanks,

Peter