lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202507160826.b36aa80d-lkp@intel.com>
Date: Wed, 16 Jul 2025 15:04:13 +0800
From: kernel test robot <oliver.sang@...el.com>
To: Arnaldo Carvalho de Melo <acme@...hat.com>
CC: <oe-lkp@...ts.linux.dev>, <lkp@...el.com>, <linux-kernel@...r.kernel.org>,
	Vincent Mailhol <mailhol.vincent@...adoo.fr>, I Hsin Cheng
	<richard120310@...il.com>, Yury Norov <yury.norov@...il.com>, Adrian Hunter
	<adrian.hunter@...el.com>, Ian Rogers <irogers@...gle.com>, James Clark
	<james.clark@...aro.org>, Jiri Olsa <jolsa@...nel.org>, Kan Liang
	<kan.liang@...ux.intel.com>, Lucas De Marchi <lucas.demarchi@...el.com>,
	Namhyung Kim <namhyung@...nel.org>, <oliver.sang@...el.com>
Subject: [linus:master] [tools headers]  fc92099902:
 kernel-selftests.sgx.make.fail



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@...el.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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ