ubuntu_bpf build failed on F-aws-5.13 / F-aws-5.15 (error: attribute 'preserve_access_index' is not supported by '#pragma clang attribute')

Bug #1955548 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
In Progress
Undecided
Po-Hsu Lin

Bug Description

Issue found on F-aws-5.13.0-1008.9~20.04.2

Test build failed with:
/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:132583:15: error: '#pragma clang attribute pop' with no matching '#pragma clang attribute push'
#pragma clang attribute pop
              ^

Please find attachment for the complete test build log.

We don't have this kernel in the last cycle, so this is not considered as a regression.

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Revision history for this message
Po-Hsu Lin (cypressyew) wrote : Re: ubuntu_bpf build failed on F-aws-5.13 (error: attribute 'preserve_access_index' is not supported by '#pragma clang attribute')

This is affecting F-gcp-5.13, F-azure-5.13, F-oracle-5.13 as well.

summary: ubuntu_bpf build failed on F-aws-5.13 (error: attribute
- 'preserve_access_index')
+ 'preserve_access_index' is not supported by '#pragma clang attribute')
tags: added: azure gcp oracle
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Found this on F-5.15

tags: added: 5.15 sru-20220530
Po-Hsu Lin (cypressyew)
summary: - ubuntu_bpf build failed on F-aws-5.13 (error: attribute
+ ubuntu_bpf build failed on F-aws-5.13 / F-aws-5.15 (error: attribute
'preserve_access_index' is not supported by '#pragma clang attribute')
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

This issue can be found with F-aws-5.15.0-1021.25~20.04.1 after the ubuntu_bpf build issue in bug 1980517 has been fixed.

tags: added: sru-20220919
Po-Hsu Lin (cypressyew)
Changed in ubuntu-kernel-tests:
assignee: nobody → Po-Hsu Lin (cypressyew)
status: New → In Progress
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

This issue can be solved with clang13, will make a patch for this.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.