FYI, we noticed the following commit (built with gcc-7):
commit: 2ee567d31a5812cf93c0ec943b142de252ce1cff ("KVM: selftests: enable pgste
option for the linker on s390")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
in testcase: kernel_selftests
with following parameters:
group: kselftests-01
test-description: The kernel contains a set of "self tests" under the
tools/testing/selftests/ directory. These are intended to be small unit tests to exercise
individual code paths in the kernel.
test-url:
https://www.kernel.org/doc/Documentation/kselftest.txt
on test machine: 8 threads Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz with 8G 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 <rong.a.chen(a)intel.com>
2019-05-31 18:25:21 make run_tests -C kvm
make: Entering directory
'/usr/src/perf_selftests-x86_64-rhel-7.6-2ee567d31a5812cf93c0ec943b142de252ce1cff/tools/testing/selftests/kvm'
make --no-builtin-rules ARCH=x86 -C ../../../.. headers_install
make[1]: Entering directory
'/usr/src/perf_selftests-x86_64-rhel-7.6-2ee567d31a5812cf93c0ec943b142de252ce1cff'
make[1]: Leaving directory
'/usr/src/perf_selftests-x86_64-rhel-7.6-2ee567d31a5812cf93c0ec943b142de252ce1cff'
gcc -Wall -Wstrict-prototypes -Wuninitialized -O2 -g -std=gnu99 -fno-stack-protector
-fno-PIE -I../../../../tools/include -I../../../../usr/include/ -Iinclude -Ilib
-Iinclude/x86_64 -I.. -c lib/assert.c -o
/usr/src/perf_selftests-x86_64-rhel-7.6-2ee567d31a5812cf93c0ec943b142de252ce1cff/tools/testing/selftests/kvm/lib/assert.o
gcc -Wall -Wstrict-prototypes -Wuninitialized -O2 -g -std=gnu99 -fno-stack-protector
-fno-PIE -I../../../../tools/include -I../../../../usr/include/ -Iinclude -Ilib
-Iinclude/x86_64 -I.. -c lib/elf.c -o
/usr/src/perf_selftests-x86_64-rhel-7.6-2ee567d31a5812cf93c0ec943b142de252ce1cff/tools/testing/selftests/kvm/lib/elf.o
gcc -Wall -Wstrict-prototypes -Wuninitialized -O2 -g -std=gnu99 -fno-stack-protector
-fno-PIE -I../../../../tools/include -I../../../../usr/include/ -Iinclude -Ilib
-Iinclude/x86_64 -I.. -c lib/io.c -o
/usr/src/perf_selftests-x86_64-rhel-7.6-2ee567d31a5812cf93c0ec943b142de252ce1cff/tools/testing/selftests/kvm/lib/io.o
gcc -Wall -Wstrict-prototypes -Wuninitialized -O2 -g -std=gnu99 -fno-stack-protector
-fno-PIE -I../../../../tools/include -I../../../../usr/include/ -Iinclude -Ilib
-Iinclude/x86_64 -I.. -c lib/kvm_util.c -o
/usr/src/perf_selftests-x86_64-rhel-7.6-2ee567d31a5812cf93c0ec943b142de252ce1cff/tools/testing/selftests/kvm/lib/kvm_util.o
gcc -Wall -Wstrict-prototypes -Wuninitialized -O2 -g -std=gnu99 -fno-stack-protector
-fno-PIE -I../../../../tools/include -I../../../../usr/include/ -Iinclude -Ilib
-Iinclude/x86_64 -I.. -c lib/ucall.c -o
/usr/src/perf_selftests-x86_64-rhel-7.6-2ee567d31a5812cf93c0ec943b142de252ce1cff/tools/testing/selftests/kvm/lib/ucall.o
gcc -Wall -Wstrict-prototypes -Wuninitialized -O2 -g -std=gnu99 -fno-stack-protector
-fno-PIE -I../../../../tools/include -I../../../../usr/include/ -Iinclude -Ilib
-Iinclude/x86_64 -I.. -c lib/sparsebit.c -o
/usr/src/perf_selftests-x86_64-rhel-7.6-2ee567d31a5812cf93c0ec943b142de252ce1cff/tools/testing/selftests/kvm/lib/sparsebit.o
gcc -Wall -Wstrict-prototypes -Wuninitialized -O2 -g -std=gnu99 -fno-stack-protector
-fno-PIE -I../../../../tools/include -I../../../../usr/include/ -Iinclude -Ilib/x86_64
-Iinclude/x86_64 -I.. -c lib/x86_64/processor.c -o
/usr/src/perf_selftests-x86_64-rhel-7.6-2ee567d31a5812cf93c0ec943b142de252ce1cff/tools/testing/selftests/kvm/lib/x86_64/processor.o
gcc -Wall -Wstrict-prototypes -Wuninitialized -O2 -g -std=gnu99 -fno-stack-protector
-fno-PIE -I../../../../tools/include -I../../../../usr/include/ -Iinclude -Ilib/x86_64
-Iinclude/x86_64 -I.. -c lib/x86_64/vmx.c -o
/usr/src/perf_selftests-x86_64-rhel-7.6-2ee567d31a5812cf93c0ec943b142de252ce1cff/tools/testing/selftests/kvm/lib/x86_64/vmx.o
ar crs
/usr/src/perf_selftests-x86_64-rhel-7.6-2ee567d31a5812cf93c0ec943b142de252ce1cff/tools/testing/selftests/kvm/libkvm.a
/usr/src/perf_selftests-x86_64-rhel-7.6-2ee567d31a5812cf93c0ec943b142de252ce1cff/tools/testing/selftests/kvm/lib/assert.o
/usr/src/perf_selftests-x86_64-rhel-7.6-2ee567d31a5812cf93c0ec943b142de252ce1cff/tools/testing/selftests/kvm/lib/elf.o
/usr/src/perf_selftests-x86_64-rhel-7.6-2ee567d31a5812cf93c0ec943b142de252ce1cff/tools/testing/selftests/kvm/lib/io.o
/usr/src/perf_selftests-x86_64-rhel-7.6-2ee567d31a5812cf93c0ec943b142de252ce1cff/tools/testing/selftests/kvm/lib/kvm_util.o
/usr/src/perf_selftests-x86_64-rhel-7.6-2ee567d31a5812cf93c0ec943b142de252ce1cff/tools/testing/selftests/kvm/lib/ucall.o
/usr/src/perf_selftests-x86_64-rhel-7.6-2ee567d31a5812cf93c0ec943b142de252ce1cff/tools/testing/selftests/kvm/lib/sparsebit.o
/usr/src/perf_selftests-x86_64-rhel-7.6-2ee567d31a5812cf93c0ec943b142de252ce1cff/tools/testing/selftests/kvm/lib/x86_64/processor.o
/usr/src/perf_selftests-x86_64-rhel-7.6-2ee567d31a5812cf93c0ec943b142de252ce1cff/tools/testing/selftests/kvm/lib/x86_64/vmx.o
gcc -Wall -Wstrict-prototypes -Wuninitialized -O2 -g -std=gnu99 -fno-stack-protector
-fno-PIE -I../../../../tools/include -I../../../../usr/include/ -Iinclude -Ix86_64
-Iinclude/x86_64 -I.. -pthread -no-pie -Wl,--s390-pgste x86_64/platform_info_test.c
/usr/src/perf_selftests-x86_64-rhel-7.6-2ee567d31a5812cf93c0ec943b142de252ce1cff/tools/testing/selftests/kvm/libkvm.a
-o
/usr/src/perf_selftests-x86_64-rhel-7.6-2ee567d31a5812cf93c0ec943b142de252ce1cff/tools/testing/selftests/kvm/x86_64/platform_info_test
/usr/bin/ld: unrecognized option '--s390-pgste'
/usr/bin/ld: use the --help option for usage information
collect2: error: ld returned 1 exit status
../lib.mk:138: recipe for target
'/usr/src/perf_selftests-x86_64-rhel-7.6-2ee567d31a5812cf93c0ec943b142de252ce1cff/tools/testing/selftests/kvm/x86_64/platform_info_test'
failed
make: ***
[/usr/src/perf_selftests-x86_64-rhel-7.6-2ee567d31a5812cf93c0ec943b142de252ce1cff/tools/testing/selftests/kvm/x86_64/platform_info_test]
Error 1
make: Leaving directory
'/usr/src/perf_selftests-x86_64-rhel-7.6-2ee567d31a5812cf93c0ec943b142de252ce1cff/tools/testing/selftests/kvm'
To reproduce:
git clone
https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp install job.yaml # job file is attached in this email
bin/lkp run job.yaml
Thanks,
Rong Chen