2022-05-02 23:10:20

by kernel test robot

[permalink] [raw]
Subject: [perf bench futex] 1ad71a2c51: perf-sanity-tests.perf.make_fail


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
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

(No filename) (1.72 kB)
config-5.17.0-13431-g1ad71a2c5100 (168.49 kB)
job-script (5.60 kB)
dmesg.xz (34.05 kB)
perf-sanity-tests (18.20 kB)
job.yaml (4.69 kB)
reproduce (272.00 B)
output (21.73 kB)
Download all attachments