Hi kernel test robot, Thanks for the feedback. > -----Original Message----- > From: kernel test robot <lkp@xxxxxxxxx> > Sent: 21 November 2022 11:33 > To: Biju Das <biju.das.jz@xxxxxxxxxxxxxx> > Cc: oe-kbuild-all@xxxxxxxxxxxxxxx; Linux Memory Management List <linux- > mm@xxxxxxxxx>; Laurent Pinchart > <laurent.pinchart+renesas@xxxxxxxxxxxxxxxx> > Subject: [linux-next:master 5779/9537] undefined reference to > `drm_bridge_remove' > > tree: > head: e4cd8d3ff7f9efeb97330e5e9b99eeb2a68f5cf9 > commit: 7a043f978ed1433bddb088a732e9bb91501ebd76 [5779/9537] drm: rcar- > du: Add RZ/G2L DSI driver > config: microblaze-randconfig-r012-20221120 > compiler: microblaze-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 > build): > wget -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # > 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=gcc-12.1.0 make.cross > W=1 O=build_dir ARCH=microblaze SHELL=/bin/bash I need to install Ubuntu22.04 for reproducing this issue as glibc 2.33 not available on Ubuntu 20.04. COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=microblaze SHELL=/bin/bash Compiler will be installed in /data/dasb/0day Please update: libc6 ldd /data/dasb/0day/gcc-12.1.0-nolibc/microblaze-linux/bin/microblaze-linux-gcc /data/dasb/0day/gcc-12.1.0-nolibc/microblaze-linux/bin/microblaze-linux-gcc: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /data/dasb/0day/gcc-12.1.0-nolibc/microblaze-linux/bin/microblaze-linux-gcc) /data/dasb/0day/gcc-12.1.0-nolibc/microblaze-linux/bin/microblaze-linux-gcc: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /data/dasb/0day/gcc-12.1.0-nolibc/microblaze-linux/bin/microblaze-linux-gcc) setup_crosstool failed > > If you fix the issue, kindly add following tag where applicable > | Reported-by: kernel test robot <lkp@xxxxxxxxx> > > All errors (new ones prefixed by >>): > > microblaze-linux-ld: drivers/gpu/drm/rcar-du/rzg2l_mipi_dsi.o: in > function `rzg2l_mipi_dsi_host_detach': > >> (.text+0x68): undefined reference to `drm_bridge_remove' > microblaze-linux-ld: drivers/gpu/drm/rcar-du/rzg2l_mipi_dsi.o: in > function `rzg2l_mipi_dsi_attach': > >> (.text+0x9c): undefined reference to `drm_bridge_attach' > microblaze-linux-ld: drivers/gpu/drm/rcar-du/rzg2l_mipi_dsi.o: in > function `rzg2l_mipi_dsi_host_attach': > >> (.text+0x13c): undefined reference to `devm_drm_of_get_bridge' > >> microblaze-linux-ld: (.text+0x158): undefined reference to > `drm_bridge_add' > microblaze-linux-ld: drivers/gpu/drm/rcar-du/rzg2l_mipi_dsi.o: in > function `rzg2l_mipi_dsi_probe': > >> (.text+0x244): undefined reference to > `drm_of_get_data_lanes_count_ep' > microblaze-linux-ld: drivers/gpu/drm/rcar-du/rzg2l_mipi_dsi.o: in > function `rzg2l_mipi_dsi_atomic_enable': > >> (.text+0x1d50): undefined reference to > `drm_atomic_get_new_connector_for_encoder' > >> microblaze-linux-ld: drivers/gpu/drm/rcar- > du/rzg2l_mipi_dsi.o:(.rodata+0x3b4): undefined reference to > `drm_atomic_helper_bridge_duplicate_state' > >> microblaze-linux-ld: drivers/gpu/drm/rcar- > du/rzg2l_mipi_dsi.o:(.rodata+0x3b8): undefined reference to > `drm_atomic_helper_bridge_destroy_state' > >> microblaze-linux-ld: drivers/gpu/drm/rcar- > du/rzg2l_mipi_dsi.o:(.rodata+0x3c8): undefined reference to > `drm_atomic_helper_bridge_reset' In the config file CONFIG_DRM=m and CONFIG_DRM_RZG2L_MIPI_DSI=y leading to the above error. So I updated the KConfig file and it fixed this build issue. - depends on DRM_BRIDGE && OF + depends on DRM && DRM_BRIDGE && OF I will send a fix for this. Cheers, Biju