Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp606205pxb; Mon, 25 Oct 2021 14:50:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyDKRZPk3YJWdMn28AWTi84b+x/Rpj+aabECmFqcqdfbUeEaVkAulECGRbwWvAgJZKWEmg5 X-Received: by 2002:a17:90a:7001:: with SMTP id f1mr6788040pjk.164.1635198604210; Mon, 25 Oct 2021 14:50:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635198604; cv=none; d=google.com; s=arc-20160816; b=FC/LlObwRyfb6P/cEh/2HJnHU7fBo7KlqlpwxcPNf12trvnvXhwVzlRmGwVSGKu4Ey n3voJYQ/WZsNY8Q0iz0gbzMwFrE6ZpTGpveIgcERHfXloVqkaZ6M8figzB/cF8dtmP9p uIY3qRC42YjgM8K9izei3KPKCR4js4ek1y2EErKdJo2HeyXHmJfFOCl3GNrNxtgn1goJ 0inyIuIASHbYU2luhU18tBf+I948FcTynEGRI1a6lPxyEpd9bdcxdg47ZLaIE8fHTx4Q y1ZBUWZDlXnO0PJLF54TbI9OwU2EXFiSj8xIpeLr6Dp/xdoy5xw7l1lKn21GfdCKfFyu RIiQ== 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=lRz3CgFlSn7VynXZnvgJCMXyEuYvDuHSreaW3AYUDoc=; b=00pHxaYfAvjKLv+7DrBZl4D9dQD4EZJll8geRRrA9aSoJtLKDpxHeeXV27SWD2xcjD H2H2GAKrL+85WvUeWtEJnVxQO4l3WTy8lM9iul4qqG0MkU8pqzhLEaLZGzPnAPUYbUnD uOD7vwpeOrWzaIYgQVSg8YBhccFVXjzk3IDxwO2NM73P07dKa9l4Pf0NvA2UyRJxAKhT 7DuZ+laOJ5X0ezEThGXz0Hxax6DunyJ6f6i/VwCYsheuPCVPj32MDqs3gsbuToPZ2hdG c6dbIev4mKZB40UYGXD0nzRp+FzfEx90NNrI8UTfKunSxmzBvszR0SpprBdcU2okMjgg Pymg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uiKJyxy1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h16si30473248pfh.288.2021.10.25.14.49.51; Mon, 25 Oct 2021 14:50:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uiKJyxy1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S232597AbhJYOGi (ORCPT + 99 others); Mon, 25 Oct 2021 10:06:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231468AbhJYOGf (ORCPT ); Mon, 25 Oct 2021 10:06:35 -0400 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06D5EC061767 for ; Mon, 25 Oct 2021 07:04:13 -0700 (PDT) Received: by mail-ed1-x535.google.com with SMTP id g10so19021086edj.1 for ; Mon, 25 Oct 2021 07:04:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=lRz3CgFlSn7VynXZnvgJCMXyEuYvDuHSreaW3AYUDoc=; b=uiKJyxy1HlPhjZ8Qi3VptIu0aBU9Ul/6x7ftj0/5VvdglRe1z3B279lOUUA+27Qrpd bkYsZOA1cpWDOsFf+2w3QpZPc1fTVCrz5ke3LPCBNo31p2/t/etQTo4SucZC3YnW/AeG ZlZq6d2YP95Au7L+hNvxTDGFUlQ+Kl9T+huCKGR6dMQaZtG8c5YlMUYb+Sys1fjN70nX YaIYEb4bVOPYx0mYGnW/6nDvS5Gc/5n6aO9bEY3v/KY2DibA7KSwLS9De5HwYu0RAI6a 9CB2UUrF2blgmUArx6029uHQiLleJtjAkII3uKn+nhQEHGteVU3L7ipQfBs5vjPtKD5K 8PQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lRz3CgFlSn7VynXZnvgJCMXyEuYvDuHSreaW3AYUDoc=; b=J3We0EBhE/FXyLzH0U9Qlzqd5q8ogA9+sDff4G0/dlAlNoXR++3Av/SLO2EWTm79SY RB4yTPJpqTX4yeZJUKk00cUmwXxVWxfdPZE8UZl9XEfc3mDeuXaVJ5LNRzX/y64OIK4M gbHM6GgHJzxbmleLnbxb8zljtqDNDjorn392Gh+KsnD0MtVtEbWVaHhbIhQwm2RjQiYB OuqpItWLb7AX9M95NFfmEK8EFjulS1nhG1/qKSJyxfyekvLFInXOuofIK0wQ7hflHPUY XDSuFcdeR3uGHjL0uXcTLFTKnTA8ga0Gb0TJsvamNdlDpbrKCtugJyXMQMo1E4h2p+hZ rwHg== X-Gm-Message-State: AOAM533qBzm8b/6J8r9CiroanrePMlQfNVTJtZ94BeLiWJVLKlwyVM+C OOcclfJZWQDb+P4+D61g1Lc9xemELvKDNCr9PC2JtQ== X-Received: by 2002:a05:6402:26cb:: with SMTP id x11mr5219841edd.198.1635170489365; Mon, 25 Oct 2021 07:01:29 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Naresh Kamboju Date: Mon, 25 Oct 2021 19:31:17 +0530 Message-ID: Subject: Re: gpu: drm_fb_cma_helper.c:46: undefined reference to `drm_gem_fb_get_obj' To: dri-devel@lists.freedesktop.org, open list , Linux-Next Mailing List , Linux ARM , Thomas Zimmermann Cc: Maarten Lankhorst , Maxime Ripard , David Airlie , Daniel Vetter , Andrey Konovalov , Stephen Rothwell , Arnd Bergmann , Alexandre Belloni , Linus Walleij , Daniel Vetter Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 25 Oct 2021 at 17:43, Naresh Kamboju wrote: > > Regression found on arm gcc-11 built with multi_v5_defconfig > Following build warnings / errors reported on linux next 20211025. > > metadata: > git_describe: next-20211025 > git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next > git_short_log: 9ae1fbdeabd3 (\"Add linux-next specific files for 20211025\") > target_arch: arm > toolchain: gcc-11 > config: multi_v5_defconfig > > build error : > -------------- > arm-linux-gnueabihf-ld: drivers/gpu/drm/drm_fb_cma_helper.o: in > function `drm_fb_cma_get_gem_obj': > drivers/gpu/drm/drm_fb_cma_helper.c:46: undefined reference to > `drm_gem_fb_get_obj' > arm-linux-gnueabihf-ld: drivers/gpu/drm/drm_fb_cma_helper.c:46: > undefined reference to `drm_gem_fb_get_obj' > arm-linux-gnueabihf-ld: drivers/gpu/drm/drm_fb_cma_helper.c:46: > undefined reference to `drm_gem_fb_get_obj' > arm-linux-gnueabihf-ld: drivers/gpu/drm/drm_fb_cma_helper.o: in > function `drm_fb_cma_sync_non_coherent': > drivers/gpu/drm/drm_fb_cma_helper.c:133: undefined reference to > `drm_atomic_helper_damage_iter_init' > arm-linux-gnueabihf-ld: drivers/gpu/drm/drm_fb_cma_helper.c:135: > undefined reference to `drm_atomic_helper_damage_iter_next' > make[1]: *** [Makefile:1252: vmlinux] Error 1 > make[1]: Target '__all' not remade because of errors. > make: *** [Makefile:226: __sub-make] Error 2 > > Reported-by: Linux Kernel Functional Testing The bisection script pointed to the first bad commit, commit 4b2b5e142ff499a2bef2b8db0272bbda1088a3fe drm: Move GEM memory managers into modules > build link: > ----------- > https://builds.tuxbuild.com/1zzgFZBGjpQ5R0lawQFW9iJ39Hp/build.log > > build config: > ------------- > https://builds.tuxbuild.com/1zzgFZBGjpQ5R0lawQFW9iJ39Hp/config > > # To install tuxmake on your system globally > # sudo pip3 install -U tuxmake > tuxmake --runtime podman --target-arch arm --toolchain gcc-11 > --kconfig multi_v5_defconfig > > -- > Linaro LKFT > https://lkft.linaro.org - Naresh