ERROR: modpost: "__aeabi_uldivmod" [fs/xfs/xfs.ko] undefined!

From: Naresh Kamboju
Date: Thu Jun 10 2021 - 07:22:46 EST


While building Linux next-20210610 following builds failed due to
these warnings / errors.

- arm (davinci_all_defconfig) with gcc-8 / 9/ 10
- arm (davinci_all_defconfig) with clang-10/ 11/ 12
- mips (malta_defconfig) with gcc-8 / 9/ 10

make --silent --keep-going --jobs=8
O=/home/tuxbuild/.cache/tuxmake/builds/current ARCH=arm
CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache
arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc'
ERROR: modpost: "__aeabi_uldivmod" [fs/xfs/xfs.ko] undefined!
make[2]: *** [/builds/linux/scripts/Makefile.modpost:150:
modules-only.symvers] Error 1

Reported-by: Naresh Kamboju <naresh.kamboju@xxxxxxxxxx>

steps to reproduce these build errors:

# TuxMake is a command line tool and Python library that provides
# portable and repeatable Linux kernel builds across a variety of
# architectures, toolchains, kernel configurations, and make targets.
#
# TuxMake supports the concept of runtimes.
# See https://docs.tuxmake.org/runtimes/, for that to work it requires
# that you install podman or docker on your system.
#
# To install tuxmake on your system globally:
# sudo pip3 install -U tuxmake
#
# See https://docs.tuxmake.org/ for complete documentation.


tuxmake --runtime podman --target-arch arm --toolchain gcc-9 --kconfig
davinci_all_defconfig

ref:
https://gitlab.com/Linaro/lkft/mirrors/next/linux-next/-/jobs/1334701899#L312

--
Linaro LKFT
https://lkft.linaro.org