Greeting,
FYI, we noticed the following commit (built with gcc-11):
commit: 1ad71a2c51006c6046473a7ff54dd627bd96968f ("perf bench futex: Add support for 32-bit systems with 64-bit time_t")
https://github.com/atishp04/linux perf_rv32_fix
in testcase: perf-sanity-tests
version: perf-x86_64-22da5264abf4-1_20220424
with following parameters:
perf_compiler: clang
ucode: 0xec
on test machine: 8 threads 1 sockets Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz with 32G memory
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <[email protected]>
In file included from bench/futex-hash.c:29:
bench/futex.h:37:2: error: unknown type name â__kernel_old_time_tâ
__kernel_old_time_t tv_sec; /* seconds */
^~~~~~~~~~~~~~~~~~~
make[4]: *** [/usr/src/perf_selftests-x86_64-rhel-8.3-func-1ad71a2c51006c6046473a7ff54dd627bd96968f/tools/build/Makefile.build:97: bench/futex-hash.o] Error
+1
make[3]: *** [/usr/src/perf_selftests-x86_64-rhel-8.3-func-1ad71a2c51006c6046473a7ff54dd627bd96968f/tools/build/Makefile.build:139: bench] Error 2
make[3]: *** Waiting for unfinished jobs....
To reproduce:
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
sudo bin/lkp install job.yaml # job file is attached in this email
bin/lkp split-job --compatible job.yaml # generate the yaml file for lkp run
sudo bin/lkp run generated-yaml-file
# if come across any failure that blocks the test,
# please remove ~/.lkp and /lkp dir to run from a clean state.
--
0-DAY CI Kernel Test Service
https://01.org/lkp