Re: [linux-next:master 5636/9540] ld.lld: error: undefined symbol: drm_of_get_data_lanes_count_ep

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 11/22/2022 11:17 PM, Biju Das wrote:
Hi kernel test robot,

Subject: [linux-next:master 5636/9540] ld.lld: error: undefined symbol:
drm_of_get_data_lanes_count_ep

tree:

head:   771a207d1ee9f38da8c0cee1412228f18b900bac
commit: 7a043f978ed1433bddb088a732e9bb91501ebd76 [5636/9540] drm: rcar-
du: Add RZ/G2L DSI driver
config: arm64-randconfig-r026-20221122
compiler: clang version 16.0.0
reproduce (this is a W=1 build):
         wget
-O ~/bin/make.cross
         chmod +x ~/bin/make.cross
         # install arm64 cross compiling tool for clang build
         # apt-get install binutils-aarch64-linux-gnu
         #
         git remote add linux-next
         git fetch --no-tags linux-next master
         git checkout 7a043f978ed1433bddb088a732e9bb91501ebd76
         # save the config file
         mkdir build_dir && cp config build_dir/.config
         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1
O=build_dir ARCH=arm64 SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

ld.lld: error: undefined symbol: drm_of_get_data_lanes_count_ep
    >>> referenced by rzg2l_mipi_dsi.c
    >>>               drivers/gpu/drm/rcar-
du/rzg2l_mipi_dsi.o:(rzg2l_mipi_dsi_probe) in archive vmlinux.a
--
ld.lld: error: undefined symbol: drm_bridge_attach
    >>> referenced by rzg2l_mipi_dsi.c
    >>>               drivers/gpu/drm/rcar-
du/rzg2l_mipi_dsi.o:(rzg2l_mipi_dsi_attach) in archive vmlinux.a
--
ld.lld: error: undefined symbol:
drm_atomic_get_new_connector_for_encoder
    >>> referenced by rzg2l_mipi_dsi.c
    >>>               drivers/gpu/drm/rcar-
du/rzg2l_mipi_dsi.o:(rzg2l_mipi_dsi_atomic_enable) in archive vmlinux.a
--
ld.lld: error: undefined symbol: devm_drm_of_get_bridge
    >>> referenced by rzg2l_mipi_dsi.c
    >>>               drivers/gpu/drm/rcar-
du/rzg2l_mipi_dsi.o:(rzg2l_mipi_dsi_host_attach) in archive vmlinux.a
--
ld.lld: error: undefined symbol: drm_bridge_add
    >>> referenced by rzg2l_mipi_dsi.c
    >>>               drivers/gpu/drm/rcar-
du/rzg2l_mipi_dsi.o:(rzg2l_mipi_dsi_host_attach) in archive vmlinux.a
--
ld.lld: error: undefined symbol: drm_bridge_remove
    >>> referenced by rzg2l_mipi_dsi.c
    >>>               drivers/gpu/drm/rcar-
du/rzg2l_mipi_dsi.o:(rzg2l_mipi_dsi_host_detach) in archive vmlinux.a
--
ld.lld: error: undefined symbol:
drm_atomic_helper_bridge_duplicate_state
    >>> referenced by rzg2l_mipi_dsi.c
    >>>               drivers/gpu/drm/rcar-
du/rzg2l_mipi_dsi.o:(rzg2l_mipi_dsi_bridge_ops) in archive vmlinux.a
--
ld.lld: error: undefined symbol:
drm_atomic_helper_bridge_destroy_state
    >>> referenced by rzg2l_mipi_dsi.c
    >>>               drivers/gpu/drm/rcar-
du/rzg2l_mipi_dsi.o:(rzg2l_mipi_dsi_bridge_ops) in archive vmlinux.a
--
ld.lld: error: undefined symbol: drm_atomic_helper_bridge_reset
    >>> referenced by rzg2l_mipi_dsi.c
    >>>               drivers/gpu/drm/rcar-
du/rzg2l_mipi_dsi.o:(rzg2l_mipi_dsi_bridge_ops) in archive vmlinux.a

I was able to reproduce the issue and the same fix[1], will fix the issue
here for clang compiler as well. Can you please apply [1] to avoid
repeatedly sending the same issue for different compilers on the kernel test robot?

Hi Biju,

Thanks for your advice, we'll add it to ignore list.

Best Regards,
Rong Chen


[1] https://lore.kernel.org/linux-renesas-soc/Y3wVLU01mHp2zozI@xxxxxxxxxxxxxxxxxxxxxxxxxx/T/#t

Cheers,
Biju





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux