Comment 1 for bug 2034483

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

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