← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 2028127] [NEW] ubuntu_bpf failed to build on F-ibm-5.15

 

Public bug reported:

Test build failed with:
  In file included from progs/test_ksyms_btf_null_check.c:4:
  /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/vmlinux.h:5:15: error: attribute 'preserve_access_index' is not supported by '#pragma clang attribute'
  #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
                ^
  /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/vmlinux.h:132008:15: error: '#pragma clang attribute pop' with no matching '#pragma clang attribute push'
  #pragma clang attribute pop
                ^
  2 errors generated.


We are using clang-9 for this, we might need to use clang-10 instead.

** Affects: ubuntu-kernel-tests
     Importance: Undecided
         Status: New


** Tags: 5.15 focal sru-20230710 ubuntu-bpf

-- 
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/2028127

Title:
  ubuntu_bpf failed to build on F-ibm-5.15

Status in ubuntu-kernel-tests:
  New

Bug description:
  Test build failed with:
    In file included from progs/test_ksyms_btf_null_check.c:4:
    /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/vmlinux.h:5:15: error: attribute 'preserve_access_index' is not supported by '#pragma clang attribute'
    #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
                  ^
    /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/vmlinux.h:132008:15: error: '#pragma clang attribute pop' with no matching '#pragma clang attribute push'
    #pragma clang attribute pop
                  ^
    2 errors generated.

  
  We are using clang-9 for this, we might need to use clang-10 instead.

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



Follow ups