ERROR: modpost: module drm_cma_helper uses symbol dma_buf_vunmap from namespace DMA_BUF, but does not import it.

Marcel Ziswiler marcel.ziswiler at toradex.com
Wed Oct 27 08:13:38 PDT 2021


On Wed, 2021-10-27 at 18:14 +0530, Naresh Kamboju wrote:
> Regression found on arm64 gcc-10 and gcc-11 built with defconfig
> Following build warnings / errors reported on linux next 20211027.
> 
> metadata:
>     git_describe: next-20211027
>     git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
>     git_short_log: ae5179317e79 (\"Add linux-next specific files for 20211027\")
>     target_arch: arm64
>     toolchain: gcc-11
> 
> build error :
> --------------
> ERROR: modpost: module drm_cma_helper uses symbol dma_buf_vunmap from
> namespace DMA_BUF, but does not import it.
> ERROR: modpost: module drm_cma_helper uses symbol dma_buf_vmap from
> namespace DMA_BUF, but does not import it.
> make[2]: *** [/builds/linux/scripts/Makefile.modpost:134:
> modules-only.symvers] Error 1
> make[2]: *** Deleting file 'modules-only.symvers'
> make[2]: Target '__modpost' not remade because of errors.
> 
> Reported-by: Linux Kernel Functional Testing <lkft at linaro.org>
> 
> build link:
> -----------
> https://builds.tuxbuild.com/205SAU159J0g6lSlRRS11o5hHyY/build.log
> 
> build config:
> -------------
> https://builds.tuxbuild.com/205SAU159J0g6lSlRRS11o5hHyY/config
> 
> # To install tuxmake on your system globally
> # sudo pip3 install -U tuxmake
> tuxmake --runtime podman --target-arch arm64 --toolchain gcc-11
> --kconfig defconfig
> 
> --
> Linaro LKFT
> https://lkft.linaro.org

I also just experienced this one and will send a fix shortly.


More information about the linux-arm-kernel mailing list