2021-06-10 11:24:58

by Naresh Kamboju

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

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 <[email protected]>

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