linux-next: build failure after merge of the bpf-next tree

4 messages, 2 authors, 2021-03-26 · open the first message on its own page

linux-next: build failure after merge of the bpf-next tree

From: Stephen Rothwell <hidden>
Date: 2021-03-11 00:48:30

Hi all,

After merging the bpf-next tree, today's linux-next build (perf) failed
like this:

make[3]: *** No rule to make target 'libbpf_util.h', needed by '/home/sfr/next/perf/staticobjs/xsk.o'.  Stop.

Caused by commit

  7e8bbe24cb8b ("libbpf: xsk: Move barriers from libbpf_util.h to xsk.h")

I have used the bpf tree from next-20210310 for today.

-- 
Cheers,
Stephen Rothwell

Re: linux-next: build failure after merge of the bpf-next tree

From: Björn Töpel <hidden>
Date: 2021-03-11 06:47:49

On 2021-03-11 01:47, Stephen Rothwell wrote:
Hi all,

After merging the bpf-next tree, today's linux-next build (perf) failed
like this:

make[3]: *** No rule to make target 'libbpf_util.h', needed by '/home/sfr/next/perf/staticobjs/xsk.o'.  Stop.
Hi Stephen,

It's an incremental build issue, as pointed out here [1], that is
resolved by cleaning the build.


Cheers,
Björn

[1] 
https://lore.kernel.org/bpf/CAEf4BzYPDF87At4=_gsndxof84OiqyJxgAHL7_jvpuntovUQ8w@mail.gmail.com/

Caused by commit

   7e8bbe24cb8b ("libbpf: xsk: Move barriers from libbpf_util.h to xsk.h")

I have used the bpf tree from next-20210310 for today.

Re: linux-next: build failure after merge of the bpf-next tree

From: Stephen Rothwell <hidden>
Date: 2021-03-12 01:01:03

Hi Björn,

[Cc'ing a few (maybe) interested parties]

On Thu, 11 Mar 2021 07:47:03 +0100 Björn Töpel [off-list ref] wrote:
On 2021-03-11 01:47, Stephen Rothwell wrote:
quoted
After merging the bpf-next tree, today's linux-next build (perf) failed
like this:

make[3]: *** No rule to make target 'libbpf_util.h', needed by '/home/sfr/next/perf/staticobjs/xsk.o'.  Stop.
It's an incremental build issue, as pointed out here [1], that is
resolved by cleaning the build.
Does this mean there is a deficiency in the dependencies in our build system?
[1] https://lore.kernel.org/bpf/CAEf4BzYPDF87At4=_gsndxof84OiqyJxgAHL7_jvpuntovUQ8w@mail.gmail.com/
quoted
Caused by commit

   7e8bbe24cb8b ("libbpf: xsk: Move barriers from libbpf_util.h to xsk.h")

I have used the bpf tree from next-20210310 for today.
I have set my system to remove the object directory before building
after merging the bpf-next tree for now.

-- 
Cheers,
Stephen Rothwell

Re: linux-next: build failure after merge of the bpf-next tree

From: Stephen Rothwell <hidden>
Date: 2021-03-26 01:19:16

Hi all,

On Fri, 12 Mar 2021 12:00:14 +1100 Stephen Rothwell [off-list ref] wrote:
[Cc'ing a few (maybe) interested parties]

On Thu, 11 Mar 2021 07:47:03 +0100 Björn Töpel [off-list ref] wrote:
quoted
On 2021-03-11 01:47, Stephen Rothwell wrote:  
quoted
After merging the bpf-next tree, today's linux-next build (perf) failed
like this:

make[3]: *** No rule to make target 'libbpf_util.h', needed by '/home/sfr/next/perf/staticobjs/xsk.o'.  Stop.  
It's an incremental build issue, as pointed out here [1], that is
resolved by cleaning the build.  
Does this mean there is a deficiency in the dependencies in our build system?
quoted
[1] https://lore.kernel.org/bpf/CAEf4BzYPDF87At4=_gsndxof84OiqyJxgAHL7_jvpuntovUQ8w@mail.gmail.com/
  
quoted
Caused by commit

   7e8bbe24cb8b ("libbpf: xsk: Move barriers from libbpf_util.h to xsk.h")

I have used the bpf tree from next-20210310 for today.  
I have set my system to remove the object directory before building
after merging the bpf-next tree for now.
I now get this build failure after I merge the net-next tree :-(

-- 
Cheers,
Stephen Rothwell
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help