* [thomas-weissschuh:b4/at-vector-size-arch 2/24] ERROR: modpost: "__bswapsi2" [fs/ecryptfs/ecryptfs.ko] undefined!
@ 2026-01-13 3:20 kernel test robot
2026-01-13 6:13 ` Vineet Gupta
0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2026-01-13 3:20 UTC (permalink / raw)
To: Thomas Weißschuh ; +Cc: oe-kbuild-all, linux-snps-arc
tree: https://git.kernel.org/pub/scm/linux/kernel/git/thomas.weissschuh/linux.git b4/at-vector-size-arch
head: 48790f0896dc14ed71a371b1a81ecd5c32347185
commit: 7ad4197ef8bdb56c2e4b411acc9bb311e91f6350 [2/24] ARC: Always use SWAPE instructions and enable ARCH_USE_BUILTIN_BSWAP
config: arc-randconfig-001-20260113 (https://download.01.org/0day-ci/archive/20260113/202601131142.f4Kyqt82-lkp@intel.com/config)
compiler: arc-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260113/202601131142.f4Kyqt82-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/202601131142.f4Kyqt82-lkp@intel.com/
All errors (new ones prefixed by >>, old ones prefixed by <<):
>> ERROR: modpost: "__bswapsi2" [fs/ecryptfs/ecryptfs.ko] undefined!
>> ERROR: modpost: "__bswapdi2" [fs/ecryptfs/ecryptfs.ko] undefined!
>> ERROR: modpost: "__bswapsi2" [security/keys/trusted-keys/trusted.ko] undefined!
>> ERROR: modpost: "__bswapdi2" [crypto/wp512.ko] undefined!
>> ERROR: modpost: "__bswapsi2" [drivers/pinctrl/pinctrl-single.ko] undefined!
>> ERROR: modpost: "__bswapsi2" [drivers/video/backlight/qcom-wled.ko] undefined!
>> ERROR: modpost: "__bswapsi2" [drivers/video/fbdev/core/cfbfillrect.ko] undefined!
>> ERROR: modpost: "__bswapsi2" [drivers/video/fbdev/core/cfbcopyarea.ko] undefined!
>> ERROR: modpost: "__bswapsi2" [drivers/video/fbdev/core/cfbimgblt.ko] undefined!
>> ERROR: modpost: "__bswapsi2" [drivers/video/fbdev/core/sysfillrect.ko] undefined!
WARNING: modpost: suppressed 92 unresolved symbol warnings because there were too many)
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for CAN_DEV
Depends on [n]: NETDEVICES [=n] && CAN [=y]
Selected by [y]:
- CAN [=y] && NET [=y]
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
_______________________________________________
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [thomas-weissschuh:b4/at-vector-size-arch 2/24] ERROR: modpost: "__bswapsi2" [fs/ecryptfs/ecryptfs.ko] undefined!
2026-01-13 3:20 [thomas-weissschuh:b4/at-vector-size-arch 2/24] ERROR: modpost: "__bswapsi2" [fs/ecryptfs/ecryptfs.ko] undefined! kernel test robot
@ 2026-01-13 6:13 ` Vineet Gupta
2026-01-13 6:47 ` Arnd Bergmann
0 siblings, 1 reply; 3+ messages in thread
From: Vineet Gupta @ 2026-01-13 6:13 UTC (permalink / raw)
To: kernel test robot, Thomas Weißschuh, Arnd Bergmann
Cc: oe-kbuild-all, linux-snps-arc
On 1/12/26 19:20, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/thomas.weissschuh/linux.git b4/at-vector-size-arch
> head: 48790f0896dc14ed71a371b1a81ecd5c32347185
> commit: 7ad4197ef8bdb56c2e4b411acc9bb311e91f6350 [2/24] ARC: Always use SWAPE instructions and enable ARCH_USE_BUILTIN_BSWAP
> config: arc-randconfig-001-20260113 (https://download.01.org/0day-ci/archive/20260113/202601131142.f4Kyqt82-lkp@intel.com/config)
> compiler: arc-linux-gcc (GCC) 8.5.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260113/202601131142.f4Kyqt82-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/202601131142.f4Kyqt82-lkp@intel.com/
>
> All errors (new ones prefixed by >>, old ones prefixed by <<):
>
>>> ERROR: modpost: "__bswapsi2" [fs/ecryptfs/ecryptfs.ko] undefined!
>>> ERROR: modpost: "__bswapdi2" [fs/ecryptfs/ecryptfs.ko] undefined!
>>> ERROR: modpost: "__bswapsi2" [security/keys/trusted-keys/trusted.ko] undefined!
>>> ERROR: modpost: "__bswapdi2" [crypto/wp512.ko] undefined!
>>> ERROR: modpost: "__bswapsi2" [drivers/pinctrl/pinctrl-single.ko] undefined!
>>> ERROR: modpost: "__bswapsi2" [drivers/video/backlight/qcom-wled.ko] undefined!
>>> ERROR: modpost: "__bswapsi2" [drivers/video/fbdev/core/cfbfillrect.ko] undefined!
>>> ERROR: modpost: "__bswapsi2" [drivers/video/fbdev/core/cfbcopyarea.ko] undefined!
>>> ERROR: modpost: "__bswapsi2" [drivers/video/fbdev/core/cfbimgblt.ko] undefined!
>>> ERROR: modpost: "__bswapsi2" [drivers/video/fbdev/core/sysfillrect.ko] undefined!
> WARNING: modpost: suppressed 92 unresolved symbol warnings because there were too many)
>
> Kconfig warnings: (for reference only)
> WARNING: unmet direct dependencies detected for CAN_DEV
> Depends on [n]: NETDEVICES [=n] && CAN [=y]
> Selected by [y]:
> - CAN [=y] && NET [=y]
Sorry my bad.
While ARC770 cpus do support swape, it seems gcc doesn't define the builtin for
arc700 (and generates a libcall) and as Arnd mentioned we don't have -mcpu=arc770.
As a quick fix/hack we could add EXPORT_SYMBOL this in arch/arc/kernel/arcksyms.c ?
Thx,
-Vineet
_______________________________________________
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [thomas-weissschuh:b4/at-vector-size-arch 2/24] ERROR: modpost: "__bswapsi2" [fs/ecryptfs/ecryptfs.ko] undefined!
2026-01-13 6:13 ` Vineet Gupta
@ 2026-01-13 6:47 ` Arnd Bergmann
0 siblings, 0 replies; 3+ messages in thread
From: Arnd Bergmann @ 2026-01-13 6:47 UTC (permalink / raw)
To: Vineet Gupta, kernel test robot, Thomas Weißschuh
Cc: oe-kbuild-all, linux-snps-arc
On Tue, Jan 13, 2026, at 07:13, Vineet Gupta wrote:
> On 1/12/26 19:20, kernel test robot wrote:
> Sorry my bad.
> While ARC770 cpus do support swape, it seems gcc doesn't define the
> builtin for
> arc700 (and generates a libcall) and as Arnd mentioned we don't have
> -mcpu=arc770.
> As a quick fix/hack we could add EXPORT_SYMBOL this in
> arch/arc/kernel/arcksyms.c ?
I don't think that exists in the kernel, it's only in libgcc.
How about keeping the inline function, but making it unconditional?
Arnd
_______________________________________________
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-01-13 6:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-13 3:20 [thomas-weissschuh:b4/at-vector-size-arch 2/24] ERROR: modpost: "__bswapsi2" [fs/ecryptfs/ecryptfs.ko] undefined! kernel test robot
2026-01-13 6:13 ` Vineet Gupta
2026-01-13 6:47 ` Arnd Bergmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox