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

From: Naresh Kamboju
Date: Tue Feb 21 2023 - 03:17:45 EST


On Mon, 20 Feb 2023 at 16:14, Naresh Kamboju <naresh.kamboju@xxxxxxxxxx> 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 <lkft@xxxxxxxxxx>
>
> 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@xxxxxxxxxxxxxx/

- Naresh