linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Biju Das <biju.das.jz@bp.renesas.com>
To: kernel test robot <lkp@intel.com>
Cc: "oe-kbuild-all@lists.linux.dev" <oe-kbuild-all@lists.linux.dev>,
	Linux Memory Management List <linux-mm@kvack.org>,
	Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>,
	"linux-renesas-soc@vger.kernel.org"
	<linux-renesas-soc@vger.kernel.org>
Subject: RE: [linux-next:master 5779/9537] undefined reference to `drm_bridge_remove'
Date: Mon, 21 Nov 2022 14:21:03 +0000	[thread overview]
Message-ID: <OS0PR01MB592298E75153A52245D789D4860A9@OS0PR01MB5922.jpnprd01.prod.outlook.com> (raw)
In-Reply-To: <202211211917.yLICUnMb-lkp@intel.com>

Hi kernel test robot,

Thanks for the feedback.

> -----Original Message-----
> From: kernel test robot <lkp@intel.com>
> Sent: 21 November 2022 11:33
> To: Biju Das <biju.das.jz@bp.renesas.com>
> Cc: oe-kbuild-all@lists.linux.dev; Linux Memory Management List <linux-
> mm@kvack.org>; Laurent Pinchart
> <laurent.pinchart+renesas@ideasonboard.com>
> 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@intel.com>
> 
> 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


      reply	other threads:[~2022-11-21 14:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-21 11:33 kernel test robot
2022-11-21 14:21 ` Biju Das [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=OS0PR01MB592298E75153A52245D789D4860A9@OS0PR01MB5922.jpnprd01.prod.outlook.com \
    --to=biju.das.jz@bp.renesas.com \
    --cc=laurent.pinchart+renesas@ideasonboard.com \
    --cc=linux-mm@kvack.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox