Linux kernel -stable discussions
 help / color / mirror / Atom feed
* bpf tool build failure in latest stable-rc 6.1.103-rc3 due to missing backport
@ 2024-08-02  4:05 Hardik Garg
  2024-08-03 17:48 ` Akemi Yagi
  2024-08-11 15:27 ` Greg KH
  0 siblings, 2 replies; 5+ messages in thread
From: Hardik Garg @ 2024-08-02  4:05 UTC (permalink / raw)
  To: gregkh; +Cc: stable, chen.dylane, t-anchiang

bpf tool build fails for the latest stable-rc 6.1.103-rc3
The error details are as follows:
prog.c: In function 'load_with_options':
prog.c:1710:23: warning: implicit declaration of function 'create_and_mount_bpffs_dir' [-Wimplicit-function-declaration]
 1710 |                 err = create_and_mount_bpffs_dir(pinmaps);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~
  CC      struct_ops.o
  CC      tracelog.o
  CC      xlated_dumper.o
  CC      jit_disasm.o
  CC      disasm.o
  LINK    bpftool
/usr/bin/ld: prog.o: in function `load_with_options':
prog.c:(.text+0x346a): undefined reference to `create_and_mount_bpffs_dir'

The commit causing this failure in 6.1.103-rc3: bc1605fcb33bf7a300cd3ac5c409a16bda1626ba

It appears that the commit from the 6.10 series is missing in this release candidate:
478a535ae54a ("bpftool: Mount bpffs on provided dir instead of parent dir")



Thanks,
Hardik

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bpf tool build failure in latest stable-rc 6.1.103-rc3 due to missing backport
  2024-08-02  4:05 bpf tool build failure in latest stable-rc 6.1.103-rc3 due to missing backport Hardik Garg
@ 2024-08-03 17:48 ` Akemi Yagi
  2024-08-08 18:20   ` Hardik Garg
  2024-08-11 15:27 ` Greg KH
  1 sibling, 1 reply; 5+ messages in thread
From: Akemi Yagi @ 2024-08-03 17:48 UTC (permalink / raw)
  To: stable

On Thu, 01 Aug 2024 21:05:45 -0700, Hardik Garg wrote:

> bpf tool build fails for the latest stable-rc 6.1.103-rc3 The error
> details are as follows:
> prog.c: In function 'load_with_options':
> prog.c:1710:23: warning: implicit declaration of function
> 'create_and_mount_bpffs_dir' [-Wimplicit-function-declaration]
>  1710 |                 err = create_and_mount_bpffs_dir(pinmaps);
>       |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~

> The commit causing this failure in 6.1.103-rc3:
> bc1605fcb33bf7a300cd3ac5c409a16bda1626ba
> 
> It appears that the commit from the 6.10 series is missing in this
> release candidate:
> 478a535ae54a ("bpftool: Mount bpffs on provided dir instead of parent
> dir") 
> 
> Thanks,
> Hardik

Build of final 6.1.103 fails due to the reported issue.

Can we drop this commit until we figure out a proper fix?

Thanks,
Akemi


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bpf tool build failure in latest stable-rc 6.1.103-rc3 due to missing backport
  2024-08-03 17:48 ` Akemi Yagi
@ 2024-08-08 18:20   ` Hardik Garg
  2024-08-11 10:08     ` Greg KH
  0 siblings, 1 reply; 5+ messages in thread
From: Hardik Garg @ 2024-08-08 18:20 UTC (permalink / raw)
  To: toracat, gregkh
  Cc: stable, qmo, martin.lau, eddyz87, yonghong.song, john.fastabend,
	sdf, haoluo, jolsa, bpf

adding the BPF maintainers




Thanks,
Hardik

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bpf tool build failure in latest stable-rc 6.1.103-rc3 due to missing backport
  2024-08-08 18:20   ` Hardik Garg
@ 2024-08-11 10:08     ` Greg KH
  0 siblings, 0 replies; 5+ messages in thread
From: Greg KH @ 2024-08-11 10:08 UTC (permalink / raw)
  To: Hardik Garg
  Cc: toracat, stable, qmo, martin.lau, eddyz87, yonghong.song,
	john.fastabend, sdf, haoluo, jolsa, bpf

On Thu, Aug 08, 2024 at 11:20:33AM -0700, Hardik Garg wrote:
> adding the BPF maintainers

There was no data here at all for anyone to respond to :(

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bpf tool build failure in latest stable-rc 6.1.103-rc3 due to missing backport
  2024-08-02  4:05 bpf tool build failure in latest stable-rc 6.1.103-rc3 due to missing backport Hardik Garg
  2024-08-03 17:48 ` Akemi Yagi
@ 2024-08-11 15:27 ` Greg KH
  1 sibling, 0 replies; 5+ messages in thread
From: Greg KH @ 2024-08-11 15:27 UTC (permalink / raw)
  To: Hardik Garg; +Cc: stable, chen.dylane, t-anchiang

On Thu, Aug 01, 2024 at 09:05:45PM -0700, Hardik Garg wrote:
> bpf tool build fails for the latest stable-rc 6.1.103-rc3
> The error details are as follows:
> prog.c: In function 'load_with_options':
> prog.c:1710:23: warning: implicit declaration of function 'create_and_mount_bpffs_dir' [-Wimplicit-function-declaration]
>  1710 |                 err = create_and_mount_bpffs_dir(pinmaps);
>       |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~
>   CC      struct_ops.o
>   CC      tracelog.o
>   CC      xlated_dumper.o
>   CC      jit_disasm.o
>   CC      disasm.o
>   LINK    bpftool
> /usr/bin/ld: prog.o: in function `load_with_options':
> prog.c:(.text+0x346a): undefined reference to `create_and_mount_bpffs_dir'
> 
> The commit causing this failure in 6.1.103-rc3: bc1605fcb33bf7a300cd3ac5c409a16bda1626ba
> 
> It appears that the commit from the 6.10 series is missing in this release candidate:
> 478a535ae54a ("bpftool: Mount bpffs on provided dir instead of parent dir")

That commit does not apply to 6.1.y, sorry.

greg k-h

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-08-11 15:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-02  4:05 bpf tool build failure in latest stable-rc 6.1.103-rc3 due to missing backport Hardik Garg
2024-08-03 17:48 ` Akemi Yagi
2024-08-08 18:20   ` Hardik Garg
2024-08-11 10:08     ` Greg KH
2024-08-11 15:27 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox