Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 4 messages Mar 11, 2021 – Mar 26, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 7 lines · Stephen Rothwell

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/

Quoted 6 lines

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.

#2 lore raw

Hi Björn,

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

Quoted 10 lines · On Thu, 11 Mar 2021 07:47:03 +0100 Björn Töpel <[email protected]> wrote:
Quoted 5 lines · Stephen Rothwell

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

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

Quoted 5 lines

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.

Signature · 2 lines
Cheers,
Stephen Rothwell
#3 lore raw

Hi all,

Quoted 19 lines · On Fri, 12 Mar 2021 12:00:14 +1100 Stephen Rothwell <[email protected]>…

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

Quoted 10 lines · On Thu, 11 Mar 2021 07:47:03 +0100 Björn Töpel <[email protected]> wrote:
Quoted 5 lines · Stephen Rothwell

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 2 lines

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

Quoted 8 lines
Quoted 5 lines
Quoted 5 lines

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 :-(

Signature · 2 lines
Cheers,
Stephen Rothwell