FYI, we noticed the following commit (built with gcc-6): commit: c4c23fbd5921fe530ec6a6dcf6e772a8a2d113a1 ("perf: change strncpy+truncation to strlcpy") https://github.com/0day-ci/linux UPDATE-20180714-184856/Dominique-Martinet/coccinelle-change-strncpy-truncation-to-strlcpy/20180714-082532 in testcase: perf-sanity-tests with following parameters: perf_compiler: gcc on test machine: qemu-system-x86_64 -enable-kvm -cpu kvm64,+ssse3 -smp 2 -m 8G caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace): 2018-07-14 23:39:08 sudo /usr/src/linux-perf-x86_64-randconfig-r0-07141954-c4c23fbd5921fe530ec6a6dcf6e772a8a2d113a1/tools/perf/perf test 18 18: 'import perf' in python : FAILED! To reproduce: git clone https://github.com/intel/lkp-tests.git cd lkp-tests bin/lkp qemu -k job-script # job-script is attached in this email Thanks, Xiaolong