Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [daveh-devel:kss 27/32] arch/x86/kernel/apic/apic.c:1058:15: error: invalid operand for instruction
@ 2026-10-19  4:38 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-19  4:38 UTC (permalink / raw)
  To: Dave Hansen; +Cc: llvm, oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/daveh/devel.git kss
head:   1b2e2aefa6c7e3d15fac1b25a971b2d2cc3b697d
commit: af4f990bae706330577d32faa7a7970cb22943f1 [27/32] kss-debug-irq
config: i386-defconfig (https://download.01.org/0day-ci/archive/20261019/202610191244.sHoGL5wI-lkp@intel.com/config)
compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261019/202610191244.sHoGL5wI-lkp@intel.com/reproduce)

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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202610191244.sHoGL5wI-lkp@intel.com/

All errors (new ones prefixed by >>):

>> arch/x86/kernel/apic/apic.c:1058:15: error: invalid operand for instruction
    1058 |         asm volatile("rdsspq %0" : "+r" (ssp));
         |                      ^
   <inline asm>:1:9: note: instantiated into assembly here
       1 |         rdsspq %ebx
         |                ^~~~
   1 error generated.


vim +1058 arch/x86/kernel/apic/apic.c

  1053	
  1054	static __always_inline unsigned long rdssp(void)
  1055	{
  1056		unsigned long ssp = 0;
  1057	
> 1058		asm volatile("rdsspq %0" : "+r" (ssp));
  1059		return ssp;
  1060	}
  1061	

--
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:[~2026-10-19  4:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-19  4:38 [daveh-devel:kss 27/32] arch/x86/kernel/apic/apic.c:1058:15: error: invalid operand for instruction 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