KERNEL SELFTESTS: linux_headers_dir is /usr/src/linux-headers-x86_64-rhel-8.3-kselftests-f0ff2447b8613b883f41ae845b6cc7540d6e5f71 2021-12-11 16:33:38 ln -sf /usr/bin/clang 2021-12-11 16:33:38 ln -sf /usr/bin/llc 2021-12-11 16:33:39 sed -i s/default_timeout=45/default_timeout=300/ kselftest/runner.sh 2021-12-11 16:33:39 make -C sgx make: Entering directory '/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-f0ff2447b8613b883f41ae845b6cc7540d6e5f71/tools/testing/selftests/sgx' gcc -Wall -Werror -g -I../../../../tools/include -fPIC -z noexecstack -c main.c -o /usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-f0ff2447b8613b883f41ae845b6cc7540d6e5f71/tools/testing/selftests/sgx/main.o main.c: In function ‘get_total_epc_mem’: main.c:275:3: error: implicit declaration of function ‘__cpuid’ [-Werror=implicit-function-declaration] __cpuid(&eax, &ebx, &ecx, &edx); ^~~~~~~ cc1: all warnings being treated as errors make: *** [Makefile:33: /usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-f0ff2447b8613b883f41ae845b6cc7540d6e5f71/tools/testing/selftests/sgx/main.o] Error 1 make: Leaving directory '/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-f0ff2447b8613b883f41ae845b6cc7540d6e5f71/tools/testing/selftests/sgx' 2021-12-11 16:33:39 make run_tests -C sgx make: Entering directory '/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-f0ff2447b8613b883f41ae845b6cc7540d6e5f71/tools/testing/selftests/sgx' gcc -Wall -Werror -g -I../../../../tools/include -fPIC -z noexecstack -c main.c -o /usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-f0ff2447b8613b883f41ae845b6cc7540d6e5f71/tools/testing/selftests/sgx/main.o main.c: In function ‘get_total_epc_mem’: main.c:275:3: error: implicit declaration of function ‘__cpuid’ [-Werror=implicit-function-declaration] __cpuid(&eax, &ebx, &ecx, &edx); ^~~~~~~ cc1: all warnings being treated as errors make: *** [Makefile:33: /usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-f0ff2447b8613b883f41ae845b6cc7540d6e5f71/tools/testing/selftests/sgx/main.o] Error 1 make: Leaving directory '/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-f0ff2447b8613b883f41ae845b6cc7540d6e5f71/tools/testing/selftests/sgx'