Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp116079rwe; Fri, 26 Aug 2022 01:37:52 -0700 (PDT) X-Google-Smtp-Source: AA6agR5xMvWjoAxF7JUQFwV+D9eSoHsqiYXuk4r7qyUZj2Tux642ULYh1L3yFfUXUMQjDv/E9WBc X-Received: by 2002:a63:5b42:0:b0:429:d283:8a51 with SMTP id l2-20020a635b42000000b00429d2838a51mr2490871pgm.610.1661503072151; Fri, 26 Aug 2022 01:37:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661503072; cv=none; d=google.com; s=arc-20160816; b=oeHNuyzEiJpbeoxSc6KCg7sQAER2z530xbFdLo4c19Fd/yQ3MuMn+byzkCiLYPdTmh fNStmBnSY/LcyzOE2+ZTtmSzi5mgTaynSCHybkKW+YBMeTXTRPBTAZ8t5B39jvvVnAB1 yI/LgtV5jiemaE9rzmH5AlEw/lhYuGcfnuCR+YoiKd2DHXbATNz8pQ8AUANE/PEkeAst a74cQaH8qO5rAJe0aw3rS4WXkUs2zi/SpKJhTRFJL6hyAWc79af2WiR01pEH4GQfmFAv J/roQx6R5deUkIAQpKdlsqzdXeD+/arcw+fe05GXbzWQHU9Tt8Xha/8mmVqz0rN8vvMg aMmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=L6RGdjoY+6gxGbx3graJqJb0iU8CPB5cb7afxoCsDDs=; b=KruNDXtGzZzt28UP3/57s3zw+FBvRreheoEQGQ/cgTyBJYexPzCkySNlKB/YXLa+Ix QmlfvZh2fJ+eiu7wTc0b+mWU85/jXryQAEc1vgvq0NpmpNBWNHz1emlBjI7VTsgmZqOC HiQn6idpwXH0QMiuv09s4++iNXl/CPsvmwNWCfHHKGnud6CRgLdL7m9JMDH8NVjvqWQM 9CaecvJd24p0QmIEI4BqwyzkH2lOc1hIMdrd6viWLD+ZH0vh6WyydVSizTCF5wGeoWmw CcfDsj+iCMyUMmuZrjCtIMlEzIFEMwTD4Y8gsrnnjchhkLbN6QoUDCIgFM1hfRZzkK1F vZmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="ui/bq2IL"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e6-20020a17090301c600b00172a2c8563dsi1206641plh.5.2022.08.26.01.37.41; Fri, 26 Aug 2022 01:37:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="ui/bq2IL"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245201AbiHZI07 (ORCPT + 99 others); Fri, 26 Aug 2022 04:26:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229922AbiHZI05 (ORCPT ); Fri, 26 Aug 2022 04:26:57 -0400 Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 329E8BD085 for ; Fri, 26 Aug 2022 01:26:56 -0700 (PDT) Received: by mail-ed1-x530.google.com with SMTP id x93so1054667ede.6 for ; Fri, 26 Aug 2022 01:26:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=L6RGdjoY+6gxGbx3graJqJb0iU8CPB5cb7afxoCsDDs=; b=ui/bq2ILEPwGljYaS7Kr5e+dU9U0iVAxN/aVvUgtji596YvxIINn34e1rmYsIVnvn7 NizHaaxO/gZC3c8NzL3YbDCrnd5hMEkmkt0nXsXQjB4ibrWcM1GcfszMOH99UcBqM+27 38y2aECTDEOB+Vd9iLKEgbISObjsFQ9Ce0ZfNrZMuaAyTFw7JAeDLGiCWyws1LJgD4sC eJEG1PiTCd87HpqinX7JmuLG4UBPuQcYfIVxFbMU7hbj292b9HCt2w0tnK6IropkevB/ h3TXGIEsyf2OOUcy1bVyrEFdQYXq4x6T/SuAE0WWrHvm/IKdisBle+QxzrV/Gq6aQ4zV i5zA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=L6RGdjoY+6gxGbx3graJqJb0iU8CPB5cb7afxoCsDDs=; b=j7A/o1493zfuj+hHOwbchjgBBCjPgS7EAltNLdvbl2NWsHTnRZi5pgWMKdLY7rM3Aq nAHPblWk581c91lMhAm48cqea30/dPktp4+Ihvt59IZwQtDCws2tPSSNu67hz+7j4NFv PKJksV8GvSTW3E9Ndx5tZ3582rD6oIh5JQuv4KkRbda72MTkskj0RLG2TxwvG+sXDqs0 of+U6fmTMxOXdoHxb8yf2dmXlZFILQ2S25yD/yi8GCjySsh6LvR3asOG48pakleVce0q aX3Md35c3WruNAloge8qOKUMNNrIZF0WiANYDWDu+WDmU/ODJeBLrbT7+l9+yr8nN/TL Jv1Q== X-Gm-Message-State: ACgBeo0axwOI1Pd7/NkMmvl7q26uyyktKmxPoQsmRx+8GeXc6J9jUwjO bJoPhD3rk8GhrG1R55PBgq1YIO/+HnPhHNJcHWdCBA== X-Received: by 2002:a05:6402:50d4:b0:447:85f:52d5 with SMTP id h20-20020a05640250d400b00447085f52d5mr5972359edb.205.1661502414690; Fri, 26 Aug 2022 01:26:54 -0700 (PDT) MIME-Version: 1.0 References: <202208221506.0Lo051G4-lkp@intel.com> In-Reply-To: <202208221506.0Lo051G4-lkp@intel.com> From: Linus Walleij Date: Fri, 26 Aug 2022 10:26:43 +0200 Message-ID: Subject: Re: ld.lld: error: undefined symbol: drm_gem_fb_get_obj To: kernel test robot Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, =?UTF-8?Q?Noralf_Tr=C3=B8nnes?= , Douglas Anderson Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 22, 2022 at 9:27 AM kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: 1c23f9e627a7b412978b4e852793c5e3c3efc555 > commit: 57f6190a60ecc19f1ddddac0d7ea6524229271a9 drm/panel: ws2401: Add driver for WideChips WS2401 > date: 1 year, 1 month ago > config: x86_64-randconfig-a002-20220822 (https://download.01.org/0day-ci/archive/20220822/202208221506.0Lo051G4-lkp@intel.com/config) > compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) > reproduce (this is a W=1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=57f6190a60ecc19f1ddddac0d7ea6524229271a9 > git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > git fetch --no-tags linus master > git checkout 57f6190a60ecc19f1ddddac0d7ea6524229271a9 > # 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=x86_64 SHELL=/bin/bash > > If you fix the issue, kindly add following tag where applicable > Reported-by: kernel test robot > > All errors (new ones prefixed by >>): > > >> ld.lld: error: undefined symbol: drm_gem_fb_get_obj > >>> referenced by drm_mipi_dbi.c:203 (drivers/gpu/drm/drm_mipi_dbi.c:203) > >>> gpu/drm/drm_mipi_dbi.o:(mipi_dbi_buf_copy) in archive drivers/built-in.a > >>> referenced by drm_mipi_dbi.c:258 (drivers/gpu/drm/drm_mipi_dbi.c:258) > >>> gpu/drm/drm_mipi_dbi.o:(mipi_dbi_fb_dirty) in archive drivers/built-in.a > -- > >> ld.lld: error: undefined symbol: drm_fb_swab > >>> referenced by drm_mipi_dbi.c:219 (drivers/gpu/drm/drm_mipi_dbi.c:219) > >>> gpu/drm/drm_mipi_dbi.o:(mipi_dbi_buf_copy) in archive drivers/built-in.a > -- > >> ld.lld: error: undefined symbol: drm_atomic_helper_connector_destroy_state > >>> referenced by drm_mipi_dbi.c > >>> gpu/drm/drm_mipi_dbi.o:(mipi_dbi_connector_funcs) in archive drivers/built-in.a > -- > >> ld.lld: error: undefined symbol: drm_gem_fb_create_with_dirty > >>> referenced by drm_mipi_dbi.c > >>> gpu/drm/drm_mipi_dbi.o:(mipi_dbi_mode_config_funcs) in archive drivers/built-in.a > -- > >> ld.lld: error: undefined symbol: drm_atomic_helper_check > >>> referenced by drm_mipi_dbi.c > >>> gpu/drm/drm_mipi_dbi.o:(mipi_dbi_mode_config_funcs) in archive drivers/built-in.a > -- > >> ld.lld: error: undefined symbol: drm_atomic_helper_commit > >>> referenced by drm_mipi_dbi.c > >>> gpu/drm/drm_mipi_dbi.o:(mipi_dbi_mode_config_funcs) in archive drivers/built-in.a > -- > >> ld.lld: error: undefined symbol: drm_fb_xrgb8888_to_rgb565 > >>> referenced by drm_mipi_dbi.c:224 (drivers/gpu/drm/drm_mipi_dbi.c:224) > >>> gpu/drm/drm_mipi_dbi.o:(mipi_dbi_buf_copy) in archive drivers/built-in.a > -- > >> ld.lld: error: undefined symbol: drm_fb_memcpy > >>> referenced by drm_mipi_dbi.c:221 (drivers/gpu/drm/drm_mipi_dbi.c:221) > >>> gpu/drm/drm_mipi_dbi.o:(mipi_dbi_buf_copy) in archive drivers/built-in.a > -- > >> ld.lld: error: undefined symbol: drm_atomic_helper_damage_merged > >>> referenced by drm_mipi_dbi.c:318 (drivers/gpu/drm/drm_mipi_dbi.c:318) > >>> gpu/drm/drm_mipi_dbi.o:(mipi_dbi_pipe_update) in archive drivers/built-in.a > -- > >> ld.lld: error: undefined symbol: drm_simple_display_pipe_init > >>> referenced by drm_mipi_dbi.c:529 (drivers/gpu/drm/drm_mipi_dbi.c:529) > >>> gpu/drm/drm_mipi_dbi.o:(mipi_dbi_dev_init_with_formats) in archive drivers/built-in.a > -- > >> ld.lld: error: undefined symbol: drm_atomic_helper_connector_reset > >>> referenced by drm_mipi_dbi.c > >>> gpu/drm/drm_mipi_dbi.o:(mipi_dbi_connector_funcs) in archive drivers/built-in.a I don't understand this error report, please robot, analyze further and come back with details on what needs to be fixed. Yours, Linus Walleij