The selftests arm64 mte build failed on the Linux next-20250703 onwards with clang-20 toolchain. still seen on today's tag next-20250714.
First seen on the tag next-20250703
Good: next-20250702
Bad: next-20250703 (next-20250714)
Regression Analysis:
-
New regression? Yes
-
Reproducibility? Yes
Boot regression: next-20250703 check_prctl.c error use of undeclared
identifier 'AT_HWCAP3'
Reported-by: Linux Kernel Functional Testing lkft@linaro.org
Build log
make[5]: Entering directory '/builds/linux/tools/testing/selftests/arm64/mte'
CC check_buffer_fill
CC check_child_memory
CC check_gcr_el1_cswitch
CC check_hugetlb_options
CC check_ksm_options
CC check_mmap_options
CC check_prctl
check_prctl.c:72:17: error: use of undeclared identifier 'AT_HWCAP3'
72 | if ((getauxval(AT_HWCAP3) & hwcap3) != hwcap3) {
| ^
1 error generated.
make[5]: *** [../../lib.mk:222: selftest/arm64/mte/check_prctl] Error 1
make[5]: Leaving directory 'tools/testing/selftests/arm64/mte'
Test failures
Tests got missings and skipped from running the selftests run script due to missing binary files
due to above build errors / warnings.
# selftests: arm64: check_buffer_fill
# Warning: file check_buffer_fill is missing!
not ok 45 selftests: arm64: check_buffer_fill
# timeout set to 45
# selftests: arm64: check_child_memory
# Warning: file check_child_memory is missing!
not ok 46 selftests: arm64: check_child_memory
# timeout set to 45
# selftests: arm64: check_gcr_el1_cswitch
# Warning: file check_gcr_el1_cswitch is missing!
not ok 47 selftests: arm64: check_gcr_el1_cswitch
# timeout set to 45
# selftests: arm64: check_hugetlb_options
# Warning: file check_hugetlb_options is missing!
not ok 48 selftests: arm64: check_hugetlb_options
# timeout set to 45
# selftests: arm64: check_ksm_options
# Warning: file check_ksm_options is missing!
not ok 49 selftests: arm64: check_ksm_options
# timeout set to 45
# selftests: arm64: check_mmap_options
# Warning: file check_mmap_options is missing!
not ok 50 selftests: arm64: check_mmap_options
# timeout set to 45
# selftests: arm64: check_prctl
# Warning: file check_prctl is missing!
not ok 51 selftests: arm64: check_prctl
# timeout set to 45
# selftests: arm64: check_tags_inclusion
# Warning: file check_tags_inclusion is missing!
not ok 52 selftests: arm64: check_tags_inclusion
# timeout set to 45
# selftests: arm64: check_user_mem
# Warning: file check_user_mem is missing!
not ok 53 selftests: arm64: check_user_mem
Git Changes
git log --oneline next-20250702..next-20250703
tools/testing/selftests/arm64/mte/
1f488fb91378e kselftest/arm64/mte: Add MTE_STORE_ONLY testcases
391ca7c81b85c kselftest/arm64/mte: Preparation for mte store only test
d09674f98cdbf kselftest/arm64/mte: Add mtefar tests on check_mmap_options
64a64e5d12f07 kselftest/arm64/mte: Refactor check_mmap_option test
49cee364c8665 kselftest/arm64/mte: Add verification for address tag in
signal handler
ed434c6e08132 kselftest/arm64/mte: Add address tag related macro and function
2e3e356560ef5 kselftest/arm64/mte: Check MTE_FAR feature is supported
cfafa517c9e65 kselftest/arm64/mte: Register mte signal handler with
SA_EXPOSE_TAGBITS
Source
- Git tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/next/linux-next.git
- Project: https://regressions.linaro.org/lkft/linux-next-master/next-20250714/
- Architectures: arm64
- Toolchains: clang-20
- Kconfigs: defconfig
Build
- Test details:
https://regressions.linaro.org/lkft/linux-next-master/next-20250714/kselftest-arm64/arm64_check_ksm_options/
- Test run: https://regressions.linaro.org/lkft/linux-next-master/next-20250714/testruns/1615508/
- Test plan: https://tuxapi.tuxsuite.com/v1/groups/linaro/projects/lkft/tests/2zrW3Ut4mYWOxPVnJTOY5qrft0P
- Build link: https://storage.tuxsuite.com/public/ampere/ci/builds/2zrZgjFum1wBbTRrsvDGnHC9JMt/
- Kernel config:
https://storage.tuxsuite.com/public/ampere/ci/builds/2zrZgjFum1wBbTRrsvDGnHC9JMt/config
|