* [linux-next:master 5904/8679] <instantiation>:7:11: error: expected an immediate
@ 2025-05-07 5:49 kernel test robot
2025-05-08 16:43 ` Nathan Chancellor
0 siblings, 1 reply; 5+ messages in thread
From: kernel test robot @ 2025-05-07 5:49 UTC (permalink / raw)
To: Marco Crivellari
Cc: llvm, oe-kbuild-all, Thomas Bogendoerfer, Maciej W. Rozycki
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 0a00723f4c2d0b273edd0737f236f103164a08eb
commit: 56651128e2fbad80f632f388d6bf1f39c928267a [5904/8679] MIPS: Fix idle VS timer enqueue
config: mips-gpr_defconfig (https://download.01.org/0day-ci/archive/20250507/202505071331.Z0N2eSkr-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250507/202505071331.Z0N2eSkr-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/202505071331.Z0N2eSkr-lkp@intel.com/
All errors (new ones prefixed by >>):
>> <instantiation>:7:11: error: expected an immediate
ori $26, r4k_wait_idle_size - 2
^
<instantiation>:10:13: error: expected an immediate
addiu $26, r4k_wait_exit - r4k_wait_insn + 2
^
<instantiation>:10:29: error: expected an immediate
addiu $26, r4k_wait_exit - r4k_wait_insn + 2
^
>> <instantiation>:7:11: error: expected an immediate
ori $26, r4k_wait_idle_size - 2
^
<instantiation>:10:13: error: expected an immediate
addiu $26, r4k_wait_exit - r4k_wait_insn + 2
^
<instantiation>:10:29: error: expected an immediate
addiu $26, r4k_wait_exit - r4k_wait_insn + 2
^
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [linux-next:master 5904/8679] <instantiation>:7:11: error: expected an immediate
2025-05-07 5:49 [linux-next:master 5904/8679] <instantiation>:7:11: error: expected an immediate kernel test robot
@ 2025-05-08 16:43 ` Nathan Chancellor
2025-05-08 19:53 ` Thomas Bogendoerfer
0 siblings, 1 reply; 5+ messages in thread
From: Nathan Chancellor @ 2025-05-08 16:43 UTC (permalink / raw)
To: kernel test robot
Cc: Marco Crivellari, llvm, oe-kbuild-all, Thomas Bogendoerfer,
Maciej W. Rozycki
On Wed, May 07, 2025 at 01:49:02PM +0800, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head: 0a00723f4c2d0b273edd0737f236f103164a08eb
> commit: 56651128e2fbad80f632f388d6bf1f39c928267a [5904/8679] MIPS: Fix idle VS timer enqueue
> config: mips-gpr_defconfig (https://download.01.org/0day-ci/archive/20250507/202505071331.Z0N2eSkr-lkp@intel.com/config)
> compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250507/202505071331.Z0N2eSkr-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/202505071331.Z0N2eSkr-lkp@intel.com/
>
> All errors (new ones prefixed by >>):
>
> >> <instantiation>:7:11: error: expected an immediate
> ori $26, r4k_wait_idle_size - 2
> ^
> <instantiation>:10:13: error: expected an immediate
> addiu $26, r4k_wait_exit - r4k_wait_insn + 2
> ^
> <instantiation>:10:29: error: expected an immediate
> addiu $26, r4k_wait_exit - r4k_wait_insn + 2
> ^
> >> <instantiation>:7:11: error: expected an immediate
> ori $26, r4k_wait_idle_size - 2
> ^
> <instantiation>:10:13: error: expected an immediate
> addiu $26, r4k_wait_exit - r4k_wait_insn + 2
> ^
> <instantiation>:10:29: error: expected an immediate
> addiu $26, r4k_wait_exit - r4k_wait_insn + 2
> ^
I do not see this with tip of tree LLVM. It seems this was only recently
supported in the integrated assembler:
https://github.com/llvm/llvm-project/commit/b65e0947cade9bd39036a7700b54c1df4ec00756
If it is not easy to work around, we can probably just leave it broken
and tell anybody who notices to upgrade their compiler.
Cheers,
Nathan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-next:master 5904/8679] <instantiation>:7:11: error: expected an immediate
2025-05-08 16:43 ` Nathan Chancellor
@ 2025-05-08 19:53 ` Thomas Bogendoerfer
2025-05-12 10:47 ` Maciej W. Rozycki
0 siblings, 1 reply; 5+ messages in thread
From: Thomas Bogendoerfer @ 2025-05-08 19:53 UTC (permalink / raw)
To: Nathan Chancellor
Cc: kernel test robot, Marco Crivellari, llvm, oe-kbuild-all,
Maciej W. Rozycki
On Thu, May 08, 2025 at 05:43:08PM +0100, Nathan Chancellor wrote:
> On Wed, May 07, 2025 at 01:49:02PM +0800, kernel test robot wrote:
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> > head: 0a00723f4c2d0b273edd0737f236f103164a08eb
> > commit: 56651128e2fbad80f632f388d6bf1f39c928267a [5904/8679] MIPS: Fix idle VS timer enqueue
> > config: mips-gpr_defconfig (https://download.01.org/0day-ci/archive/20250507/202505071331.Z0N2eSkr-lkp@intel.com/config)
> > compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
> > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250507/202505071331.Z0N2eSkr-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/202505071331.Z0N2eSkr-lkp@intel.com/
> >
> > All errors (new ones prefixed by >>):
> >
> > >> <instantiation>:7:11: error: expected an immediate
> > ori $26, r4k_wait_idle_size - 2
> > ^
> > <instantiation>:10:13: error: expected an immediate
> > addiu $26, r4k_wait_exit - r4k_wait_insn + 2
> > ^
> > <instantiation>:10:29: error: expected an immediate
> > addiu $26, r4k_wait_exit - r4k_wait_insn + 2
> > ^
> > >> <instantiation>:7:11: error: expected an immediate
> > ori $26, r4k_wait_idle_size - 2
> > ^
> > <instantiation>:10:13: error: expected an immediate
> > addiu $26, r4k_wait_exit - r4k_wait_insn + 2
> > ^
> > <instantiation>:10:29: error: expected an immediate
> > addiu $26, r4k_wait_exit - r4k_wait_insn + 2
> > ^
>
> I do not see this with tip of tree LLVM. It seems this was only recently
> supported in the integrated assembler:
>
> https://github.com/llvm/llvm-project/commit/b65e0947cade9bd39036a7700b54c1df4ec00756
cool
> If it is not easy to work around, we can probably just leave it broken
> and tell anybody who notices to upgrade their compiler.
I wrapped my head around it today, but no idea how to solve it...
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-next:master 5904/8679] <instantiation>:7:11: error: expected an immediate
2025-05-08 19:53 ` Thomas Bogendoerfer
@ 2025-05-12 10:47 ` Maciej W. Rozycki
2025-05-21 22:44 ` Nathan Chancellor
0 siblings, 1 reply; 5+ messages in thread
From: Maciej W. Rozycki @ 2025-05-12 10:47 UTC (permalink / raw)
To: Thomas Bogendoerfer
Cc: Nathan Chancellor, kernel test robot, Marco Crivellari, llvm,
oe-kbuild-all
On Thu, 8 May 2025, Thomas Bogendoerfer wrote:
> > If it is not easy to work around, we can probably just leave it broken
> > and tell anybody who notices to upgrade their compiler.
>
> I wrapped my head around it today, but no idea how to solve it...
#if defined(CONFIG_CC_IS_CLANG) && CONFIG_CLANG_VERSION < vvv
#error Please upgrade to version vvv to build this source
#endif
-- or suchlike, I suppose. Someone just needs to fill `vvv' in.
Maciej
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-next:master 5904/8679] <instantiation>:7:11: error: expected an immediate
2025-05-12 10:47 ` Maciej W. Rozycki
@ 2025-05-21 22:44 ` Nathan Chancellor
0 siblings, 0 replies; 5+ messages in thread
From: Nathan Chancellor @ 2025-05-21 22:44 UTC (permalink / raw)
To: Maciej W. Rozycki
Cc: Thomas Bogendoerfer, kernel test robot, Marco Crivellari, llvm,
oe-kbuild-all
On Mon, May 12, 2025 at 11:47:45AM +0100, Maciej W. Rozycki wrote:
> On Thu, 8 May 2025, Thomas Bogendoerfer wrote:
>
> > > If it is not easy to work around, we can probably just leave it broken
> > > and tell anybody who notices to upgrade their compiler.
> >
> > I wrapped my head around it today, but no idea how to solve it...
>
> #if defined(CONFIG_CC_IS_CLANG) && CONFIG_CLANG_VERSION < vvv
> #error Please upgrade to version vvv to build this source
> #endif
>
> -- or suchlike, I suppose. Someone just needs to fill `vvv' in.
Given this file is unconditionally compiled, we would be better served
just adjusting min-tool-version.sh to show an error during configuration
time. Technically, this is only needed with LLVM_IAS=1 but that is the
default and adjusting as-version.sh to check the version would be a
little difficult but I will try to think about it more in the next few
days.
Cheers,
Nathan
diff --git a/scripts/min-tool-version.sh b/scripts/min-tool-version.sh
index 787868183b84..5f5176505665 100755
--- a/scripts/min-tool-version.sh
+++ b/scripts/min-tool-version.sh
@@ -30,6 +30,8 @@ llvm)
echo 15.0.0
elif [ "$SRCARCH" = loongarch ]; then
echo 18.0.0
+ elif [ "$SRCARCH" = mips ]; then
+ echo 21.0.0
else
echo 13.0.1
fi
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2025-05-21 22:44 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-07 5:49 [linux-next:master 5904/8679] <instantiation>:7:11: error: expected an immediate kernel test robot
2025-05-08 16:43 ` Nathan Chancellor
2025-05-08 19:53 ` Thomas Bogendoerfer
2025-05-12 10:47 ` Maciej W. Rozycki
2025-05-21 22:44 ` Nathan Chancellor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox