Error message on F-hwe-5.15 ARM64
[stdout] CLNG-BPF [test_maps] tailcall3.o [stdout] CLNG-BPF [test_maps] freplace_global_func.o [stdout] CLNG-BPF [test_maps] btf__core_reloc_nesting___err_missing_container.o [stdout] CLNG-BPF [test_maps] btf_dump_test_case_packing.o [stdout] CLNG-BPF [test_maps] test_endian.o [stderr] In file included from progs/test_endian.c:4: [stderr] /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' [stderr] #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record) [stderr] ^ [stderr] /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/vmlinux.h:160504:15: error: '#pragma clang attribute pop' with no matching '#pragma clang attribute push' [stderr] #pragma clang attribute pop [stderr] ^ [stderr] 2 errors generated. [stderr] make[1]: *** [Makefile:470: /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/test_endian.o] Error 1 [stdout] make[1]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf' [stdout] make: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests' [stderr] make: *** [Makefile:171: all] Error 2
Error message on F-hwe-5.15 ARM64
[stdout] CLNG-BPF [test_maps] tailcall3.o global_ func.o reloc_nesting_ __err_missing_ container. o test_case_ packing. o endian. c:4: 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' _((preserve_ access_ index)) , apply_to = record) autotest/ client/ tmp/ubuntu_ bpf/src/ linux/tools/ testing/ selftests/ bpf/tools/ include/ vmlinux. h:160504: 15: error: '#pragma clang attribute pop' with no matching '#pragma clang attribute push' autotest/ client/ tmp/ubuntu_ bpf/src/ linux/tools/ testing/ selftests/ bpf/test_ endian. o] Error 1 ubuntu/ autotest/ client/ tmp/ubuntu_ bpf/src/ linux/tools/ testing/ selftests/ bpf' ubuntu/ autotest/ client/ tmp/ubuntu_ bpf/src/ linux/tools/ testing/ selftests'
[stdout] CLNG-BPF [test_maps] freplace_
[stdout] CLNG-BPF [test_maps] btf__core_
[stdout] CLNG-BPF [test_maps] btf_dump_
[stdout] CLNG-BPF [test_maps] test_endian.o
[stderr] In file included from progs/test_
[stderr] /home/ubuntu/
[stderr] #pragma clang attribute push (__attribute_
[stderr] ^
[stderr] /home/ubuntu/
[stderr] #pragma clang attribute pop
[stderr] ^
[stderr] 2 errors generated.
[stderr] make[1]: *** [Makefile:470: /home/ubuntu/
[stdout] make[1]: Leaving directory '/home/
[stdout] make: Leaving directory '/home/
[stderr] make: *** [Makefile:171: all] Error 2