linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [linus:master] [tools headers]  fc92099902: kernel-selftests.sgx.make.fail
@ 2025-07-16  7:04 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-07-16  7:04 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: oe-lkp, lkp, linux-kernel, Vincent Mailhol, I Hsin Cheng,
	Yury Norov, Adrian Hunter, Ian Rogers, James Clark, Jiri Olsa,
	Kan Liang, Lucas De Marchi, Namhyung Kim, oliver.sang



Hello,

kernel test robot noticed "kernel-selftests.sgx.make.fail" on:

commit: fc92099902fbf21000554678a47654b029c15a4d ("tools headers: Synchronize linux/bits.h with the kernel sources")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master

[test failed on linus/master      3f31a806a62e44f7498e2d17719c03f816553f11]
[test failed on linux-next/master a62b7a37e6fcf4a675b1548e7c168b96ec836442]
[test failed on fix commit        70b9c0c11e55167b9552ef395bc00f4920299177]

in testcase: kernel-selftests
version: kernel-selftests-x86_64-7ff71e6d9239-1_20250215
with following parameters:

	group: sgx



config: x86_64-rhel-9.4-kselftests
compiler: gcc-12
test machine: 224 threads 2 sockets Intel(R) Xeon(R) Platinum 8480CTDX (Sapphire Rapids) with 256G memory

(please refer to attached dmesg/kmsg for entire log/backtrace)



If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <oliver.sang@intel.com>
| Closes: https://lore.kernel.org/oe-lkp/202507160826.b36aa80d-lkp@intel.com

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



The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20250716/202507160826.b36aa80d-lkp@intel.com



-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-07-16  7:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-16  7:04 [linus:master] [tools headers] fc92099902: kernel-selftests.sgx.make.fail kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).