Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1272940

Re: perf BPF/elfdep intermitent build problems

From "Wangnan (F)" <wangnan0@huawei.com>
Newsgroups linux.kernel
Subject Re: perf BPF/elfdep intermitent build problems
Date 2015-11-19 09:50 +0100
Message-ID <qwt4K-6WM-17@gated-at.bofh.it> (permalink)
References <qwjI6-Vr-13@gated-at.bofh.it> <qwmcW-2AA-11@gated-at.bofh.it> <qwn8Z-3aO-3@gated-at.bofh.it> <qwn8Z-3aO-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On 2015/11/19 10:29, Wangnan (F) wrote:
>
>
> On 2015/11/19 10:21, Wangnan (F) wrote:
>>

[SNIP]
>> Right. It should be
>>
>> $ cd tools/lib/bpf
>> $ make clean
>>   CLEAN    libbpf
>>   CLEAN    core-gen
>> $
>>
>>
>> After cleaning can you trigger this problem again?
>>
>
> Tiggered part of your problem:
>
> $ make
>
> Auto-detecting system features:
> ...                        libelf: [ on  ]
> ...                           bpf: [ on  ]
>
>   CC       libbpf.o
>   CC       bpf.o
>   LD       libbpf-in.o
>   LINK     libbpf.a
>   LINK     libbpf.so
> $ make clean
>   CLEAN    libbpf
>   CLEAN    core-gen
> $ make clean
>
> Auto-detecting system features:
> ...                        libelf: [ on  ]
> ...                           bpf: [ on  ]
>
>   CLEAN    libbpf
>   CLEAN    core-gen
>
> Feature check would be triggered the second time we make clean.
>
> Will look into it.
>

I understand this part of the problem.

There's no way for tools/build/Makefile.feature knowing whether
we are doing 'make clean' or 'make'. Therefore, even for
'make clean' those feature tests are mandatory to take action.

I posted a patch for it. Please see:

http://lkml.kernel.org/g/1447922706-99905-1-git-send-email-wangnan0@huawei.com

Thank you.


--
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/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

perf BPF/elfdep intermitent build problems Arnaldo Carvalho de Melo <acme@kernel.org> - 2015-11-18 23:50 +0100
  Re: perf BPF/elfdep intermitent build problems "Wangnan (F)" <wangnan0@huawei.com> - 2015-11-19 02:30 +0100
    Re: perf BPF/elfdep intermitent build problems "Wangnan (F)" <wangnan0@huawei.com> - 2015-11-19 03:30 +0100
      Re: perf BPF/elfdep intermitent build problems "Wangnan (F)" <wangnan0@huawei.com> - 2015-11-19 09:50 +0100
      Re: perf BPF/elfdep intermitent build problems Arnaldo Carvalho de Melo <acme@kernel.org> - 2015-11-27 16:20 +0100
    Re: perf BPF/elfdep intermitent build problems "Wangnan (F)" <wangnan0@huawei.com> - 2015-11-19 03:30 +0100
  Re: perf BPF/elfdep intermitent build problems "Wangnan (F)" <wangnan0@huawei.com> - 2015-11-19 13:00 +0100

csiph-web