2023-02-20 10:45:02

by Naresh Kamboju

[permalink] [raw]
Subject: next: 32-bit: ERROR: modpost: "__aeabi_uldivmod" [fs/btrfs/btrfs.ko] undefined!

[Please ignore this email if it is already reported]

Following build error noticed on 32bit arm and i386 with kselftest merge
configs with gcc-10/12 on today's Linux next-20230220 tag.

Reported-by: Linux Kernel Functional Testing <[email protected]>

Build regression:
- gcc-10-lkftconfig-kselftest
- gcc-12-lkftconfig-kselftest

Build error:
ERROR: modpost: "__aeabi_uldivmod" [fs/btrfs/btrfs.ko] undefined!
make[2]: *** [scripts/Makefile.modpost:136: Module.symvers] Error 1
make[2]: Target '__modpost' not remade because of errors.
make[1]: *** [Makefile:1980: modpost] Error 2


Build details,
https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230220/testrun/14861694/suite/build/test/gcc-10-lkftconfig-kselftest/details/
config: https://storage.tuxsuite.com/public/linaro/lkft/builds/2LzUSQ9Y7f1N6Op0juNKcpbfGiM/config


# To install tuxmake on your system globally:
# sudo pip3 install -U tuxmake
#
# See https://docs.tuxmake.org/ for complete documentation.
# Original tuxmake command with fragments listed below.
# tuxmake \
--runtime podman \
--target-arch arm \
--toolchain gcc-10 \
--kconfig defconfig \
--kconfig-add https://raw.githubusercontent.com/Linaro/meta-lkft/kirkstone/meta/recipes-kernel/linux/files/lkft.config
\
--kconfig-add https://raw.githubusercontent.com/Linaro/meta-lkft/kirkstone/meta/recipes-kernel/linux/files/lkft-crypto.config
\
--kconfig-add https://raw.githubusercontent.com/Linaro/meta-lkft/kirkstone/meta/recipes-kernel/linux/files/distro-overrides.config
\
--kconfig-add https://raw.githubusercontent.com/Linaro/meta-lkft/kirkstone/meta/recipes-kernel/linux/files/systemd.config
\
--kconfig-add https://raw.githubusercontent.com/Linaro/meta-lkft/kirkstone/meta/recipes-kernel/linux/files/virtio.config
\
--kconfig-add CONFIG_ARM_TI_CPUFREQ=y \
--kconfig-add CONFIG_SERIAL_8250_OMAP=y \
--kconfig-add CONFIG_POSIX_MQUEUE=y \
--kconfig-add CONFIG_OF=y \
--kconfig-add make:kselftest-merge \
--kconfig-add CONFIG_KFENCE=n \
--kconfig-add CONFIG_AHCI_DWC=y debugkernel dtbs dtbs-legacy headers
kernel kselftest modules


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


2023-02-21 08:17:45

by Naresh Kamboju

[permalink] [raw]
Subject: Re: next: 32-bit: ERROR: modpost: "__aeabi_uldivmod" [fs/btrfs/btrfs.ko] undefined!

On Mon, 20 Feb 2023 at 16:14, Naresh Kamboju <[email protected]> wrote:
>
> [Please ignore this email if it is already reported]
>
> Following build error noticed on 32bit arm and i386 with kselftest merge
> configs with gcc-10/12 on today's Linux next-20230220 tag.
>
> Reported-by: Linux Kernel Functional Testing <[email protected]>
>
> Build regression:
> - gcc-10-lkftconfig-kselftest
> - gcc-12-lkftconfig-kselftest
>
> Build error:
> ERROR: modpost: "__aeabi_uldivmod" [fs/btrfs/btrfs.ko] undefined!
> make[2]: *** [scripts/Makefile.modpost:136: Module.symvers] Error 1
> make[2]: Target '__modpost' not remade because of errors.
> make[1]: *** [Makefile:1980: modpost] Error 2

Anders ran the bisect and found the first bad commit,

# first bad commit:
[4a8c6e8a6dc8ae4ce2adb1f807b61b6d99088293]
btrfs: replace btrfs_io_context::raid_map with a fixed u64 value

The reported build issues still noticed on today's Linux next-20230221.

Related threads are found in lore,
https://lore.kernel.org/lkml/CAMuHMdVwXB4YsCFEpLoTm8pxyjMty6tAT7joNj2EME4ynY8keQ@mail.gmail.com/

- Naresh

2023-02-21 23:53:58

by David Sterba

[permalink] [raw]
Subject: Re: next: 32-bit: ERROR: modpost: "__aeabi_uldivmod" [fs/btrfs/btrfs.ko] undefined!

On Tue, Feb 21, 2023 at 01:47:24PM +0530, Naresh Kamboju wrote:
> On Mon, 20 Feb 2023 at 16:14, Naresh Kamboju <[email protected]> wrote:
> >
> > [Please ignore this email if it is already reported]
> >
> > Following build error noticed on 32bit arm and i386 with kselftest merge
> > configs with gcc-10/12 on today's Linux next-20230220 tag.
> >
> > Reported-by: Linux Kernel Functional Testing <[email protected]>
> >
> > Build regression:
> > - gcc-10-lkftconfig-kselftest
> > - gcc-12-lkftconfig-kselftest
> >
> > Build error:
> > ERROR: modpost: "__aeabi_uldivmod" [fs/btrfs/btrfs.ko] undefined!
> > make[2]: *** [scripts/Makefile.modpost:136: Module.symvers] Error 1
> > make[2]: Target '__modpost' not remade because of errors.
> > make[1]: *** [Makefile:1980: modpost] Error 2
>
> Anders ran the bisect and found the first bad commit,
>
> # first bad commit:
> [4a8c6e8a6dc8ae4ce2adb1f807b61b6d99088293]
> btrfs: replace btrfs_io_context::raid_map with a fixed u64 value
>
> The reported build issues still noticed on today's Linux next-20230221.
>
> Related threads are found in lore,
> https://lore.kernel.org/lkml/CAMuHMdVwXB4YsCFEpLoTm8pxyjMty6tAT7joNj2EME4ynY8keQ@mail.gmail.com/

The for-next from today does not contain the patches anymore, they
weren't intended for this merge window but were left there from last
week.