KERNEL SELFTESTS: linux_headers_dir is /usr/src/linux-headers-x86_64-rhel-9.4-kselftests-fc92099902fbf21000554678a47654b029c15a4d 2025-07-13 03:43:58 sed -i s/default_timeout=45/default_timeout=300/ kselftest/runner.sh 2025-07-13 03:43:58 make -j224 TARGETS=sgx make[1]: Entering directory '/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-fc92099902fbf21000554678a47654b029c15a4d/tools/testing/selftests/sgx' gcc -Wall -Werror -g -I/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-fc92099902fbf21000554678a47654b029c15a4d/tools/testing/selftests/../../../tools/include -fPIC -D_GNU_SOURCE= -c main.c -o /usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-fc92099902fbf21000554678a47654b029c15a4d/tools/testing/selftests/sgx/main.o gcc -Wall -Werror -g -I/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-fc92099902fbf21000554678a47654b029c15a4d/tools/testing/selftests/../../../tools/include -fPIC -D_GNU_SOURCE= -c load.c -o /usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-fc92099902fbf21000554678a47654b029c15a4d/tools/testing/selftests/sgx/load.o gcc -Wall -Werror -g -I/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-fc92099902fbf21000554678a47654b029c15a4d/tools/testing/selftests/../../../tools/include -fPIC -D_GNU_SOURCE= -c sigstruct.c -o /usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-fc92099902fbf21000554678a47654b029c15a4d/tools/testing/selftests/sgx/sigstruct.o gcc -Wall -Werror -g -I/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-fc92099902fbf21000554678a47654b029c15a4d/tools/testing/selftests/../../../tools/include -fPIC -D_GNU_SOURCE= -c call.S -o /usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-fc92099902fbf21000554678a47654b029c15a4d/tools/testing/selftests/sgx/call.o gcc -Wall -Werror -g -I/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-fc92099902fbf21000554678a47654b029c15a4d/tools/testing/selftests/../../../tools/include -fPIC -D_GNU_SOURCE= -c sign_key.S -o /usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-fc92099902fbf21000554678a47654b029c15a4d/tools/testing/selftests/sgx/sign_key.o gcc -Wall -Werror -static-pie -nostdlib -ffreestanding -fPIE -fno-stack-protector -mrdrnd -I/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-fc92099902fbf21000554678a47654b029c15a4d/tools/testing/selftests/../../../tools/include test_encl.c test_encl_bootstrap.S -o /usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-fc92099902fbf21000554678a47654b029c15a4d/tools/testing/selftests/sgx/test_encl.elf -Wl,-T,test_encl.lds,--build-id=none In file included from main.c:21: ../kselftest_harness.h:754: error: "is_signed_type" redefined [-Werror] 754 | #define is_signed_type(var) (!!(((__typeof__(var))(-1)) < (__typeof__(var))1)) | In file included from /usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-fc92099902fbf21000554678a47654b029c15a4d/tools/testing/selftests/../../../tools/include/linux/bits.h:34, from ../../../../arch/x86/include/asm/sgx.h:10, from defines.h:19, from main.c:20: /usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-fc92099902fbf21000554678a47654b029c15a4d/tools/testing/selftests/../../../tools/include/linux/overflow.h:31: note: this is the location of the previous definition 31 | #define is_signed_type(type) (((type)(-1)) < (type)1) | /usr/bin/ld: warning: /tmp/ccPKj3Bo.o: missing .note.GNU-stack section implies executable stack /usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker cc1: all warnings being treated as errors make[1]: *** [Makefile:36: /usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-fc92099902fbf21000554678a47654b029c15a4d/tools/testing/selftests/sgx/main.o] Error 1 make[1]: Leaving directory '/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-fc92099902fbf21000554678a47654b029c15a4d/tools/testing/selftests/sgx' make: *** [Makefile:207: all] Error 2