2021-03-11 00:49:14

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build failure after merge of the bpf-next tree

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


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2021-03-11 06:48:52

by Björn Töpel

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the bpf-next tree

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

2021-03-12 01:06:23

by Stephen Rothwell

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the bpf-next tree

Hi Björn,

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

On Thu, 11 Mar 2021 07:47:03 +0100 Björn Töpel <[email protected]> wrote:
>
> On 2021-03-11 01:47, Stephen Rothwell wrote:
> >
> > 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/
>
> > 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


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2021-03-26 01:22:32

by Stephen Rothwell

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the bpf-next tree

Hi all,

On Fri, 12 Mar 2021 12:00:14 +1100 Stephen Rothwell <[email protected]> wrote:
>
> [Cc'ing a few (maybe) interested parties]
>
> On Thu, 11 Mar 2021 07:47:03 +0100 Björn Töpel <[email protected]> wrote:
> >
> > On 2021-03-11 01:47, Stephen Rothwell wrote:
> > >
> > > 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/
> >
> > > 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


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature