[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250507022649.GA1984217@ax162>
Date: Tue, 6 May 2025 19:26:49 -0700
From: Nathan Chancellor <nathan@...nel.org>
To: kernel test robot <lkp@...el.com>
Cc: Thomas Weißschuh <linux@...ssschuh.net>,
llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
linux-kernel@...r.kernel.org,
Masahiro Yamada <masahiroy@...nel.org>, arnd@...db.de
Subject: Re: error: arch/x86/include/asm/mshyperv.h:108:2: ran out of
registers during register allocation in function
'hyperv_flush_guest_mapping'
+ Arnd
On Wed, May 07, 2025 at 07:43:06AM +0800, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 0d8d44db295ccad20052d6301ef49ff01fb8ae2d
> commit: cacd22ce69585a91c386243cd662ada962431e63 kbuild: make all file references relative to source root
> date: 6 weeks ago
> config: i386-buildonly-randconfig-006-20250506 (https://download.01.org/0day-ci/archive/20250507/202505070733.osOoFQSe-lkp@intel.com/config)
> compiler: clang version 20.1.2 (https://github.com/llvm/llvm-project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250507/202505070733.osOoFQSe-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@...el.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202505070733.osOoFQSe-lkp@intel.com/
>
> All errors (new ones prefixed by >>):
>
> >> error: arch/x86/include/asm/mshyperv.h:108:2: ran out of registers during register allocation in function 'hyperv_flush_guest_mapping'
> >> error: arch/x86/include/asm/mshyperv.h:108:2: ran out of registers during register allocation in function 'hyperv_flush_guest_mapping_range'
> 2 errors generated.
> --
> >> error: arch/x86/include/asm/mshyperv.h:108:2: ran out of registers during register allocation in function 'hv_get_partition_id'
> 1 error generated.
> --
> >> error: arch/x86/include/asm/mshyperv.h:108:2: ran out of registers during register allocation in function 'hv_unmap_ioapic_interrupt'
> >> error: arch/x86/include/asm/mshyperv.h:108:2: ran out of registers during register allocation in function 'hv_map_ioapic_interrupt'
> 2 errors generated.
> --
> >> error: arch/x86/include/asm/mshyperv.h:108:2: ran out of registers during register allocation in function 'hyperv_flush_tlb_multi'
> 1 error generated.
> --
> >> error: arch/x86/include/asm/mshyperv.h:108:2: ran out of registers during register allocation in function 'hv_post_message'
> 1 error generated.
> --
> >> error: arch/x86/include/asm/mshyperv.h:108:2: ran out of registers during register allocation in function 'hv_query_ext_cap'
> 1 error generated.
This configuration has CONFIG_MATOM=y, which does not really work well
with clang for this reason and some others that have come up in the
past. Given it is likely that nobody will care enough to fix this on the
LLVM side (since it is 32-bit), we should probably just block using
MATOM with CC_IS_CLANG, which Arnd and I had talked about at the last
ClangBuiltLinux meeting.
Cheers,
Nathan
Powered by blists - more mailing lists