From: Vineet Gupta <vgupta@kernel.org>
To: "kernel test robot" <lkp@intel.com>,
"Thomas Weißschuh" <thomas.weissschuh@linutronix.de>,
"Arnd Bergmann" <arnd@arndb.de>
Cc: oe-kbuild-all@lists.linux.dev, linux-snps-arc@lists.infradead.org
Subject: Re: [thomas-weissschuh:b4/at-vector-size-arch 2/24] ERROR: modpost: "__bswapsi2" [fs/ecryptfs/ecryptfs.ko] undefined!
Date: Mon, 12 Jan 2026 22:13:20 -0800 [thread overview]
Message-ID: <b92a06fb-9032-4b96-a733-e80fe6ddfb20@kernel.org> (raw)
In-Reply-To: <202601131142.f4Kyqt82-lkp@intel.com>
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
next prev parent reply other threads:[~2026-01-13 6:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2026-01-13 6:47 ` Arnd Bergmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b92a06fb-9032-4b96-a733-e80fe6ddfb20@kernel.org \
--to=vgupta@kernel.org \
--cc=arnd@arndb.de \
--cc=linux-snps-arc@lists.infradead.org \
--cc=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=thomas.weissschuh@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox