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
--
Mailing list: https://launchpad.net/~canonical-ubuntu-qa
Post to : [email protected]
Unsubscribe : https://launchpad.net/~canonical-ubuntu-qa
More help : https://help.launchpad.net/ListHelp