← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 2076391] Re: ubuntu_bpf failed to build on Jammy (error: unknown type name '__failure')

 

*** This bug is a duplicate of bug 2076334 ***
    https://bugs.launchpad.net/bugs/2076334

** This bug has been marked a duplicate of bug 2076334
   jammy:linux bpfk selftest do not build

-- 
You received this bug notification because you are a member of Canonical
Platform QA Team, which is subscribed to ubuntu-kernel-tests.
https://bugs.launchpad.net/bugs/2076391

Title:
  ubuntu_bpf failed to build on Jammy (error: unknown type name
  '__failure')

Status in ubuntu-kernel-tests:
  New

Bug description:
  Issue found on 5.15.0-120.130 in 2024.08.05

  This is a regression, we don't have this issue in 5.15.0-118.128
  Build failed with:
     CLNG-BPF [test_maps] test_global_data.o
     CLNG-BPF [test_maps] test_global_func1.o
     CLNG-BPF [test_maps] test_global_func10.o
   progs/test_global_func10.c:24:1: error: unknown type name '__failure'
   __failure __msg("invalid indirect access to stack")
   ^
   progs/test_global_func10.c:24:17: error: expected parameter declarator
   __failure __msg("invalid indirect access to stack")
                   ^
   progs/test_global_func10.c:24:17: error: expected ')'
   progs/test_global_func10.c:24:16: note: to match this '('
   __failure __msg("invalid indirect access to stack")
                  ^
   progs/test_global_func10.c:24:52: error: expected ';' after top level declarator
   __failure __msg("invalid indirect access to stack")
                                                      ^
                                                      ;
   4 errors generated.

  This will make ubuntu_kselftests_net/net:udpgro_bench.sh,
  net:udpgro.sh, net:veth.sh tests fail, as they need bpf to be built
  first.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2076391/+subscriptions



References