From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A14BEC433F5 for ; Mon, 25 Oct 2021 14:04:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 836F260F70 for ; Mon, 25 Oct 2021 14:04:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231468AbhJYOGq (ORCPT ); Mon, 25 Oct 2021 10:06:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233186AbhJYOGj (ORCPT ); Mon, 25 Oct 2021 10:06:39 -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 DF5C6C061745 for ; Mon, 25 Oct 2021 07:04:16 -0700 (PDT) Received: by mail-ed1-x535.google.com with SMTP id r4so18628121edi.5 for ; Mon, 25 Oct 2021 07:04:16 -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=I2lj4C+HGBVhP4AQyrg+/8oMCgCF79KBTuAAZN0RX2STUuGa0gO04KQQL61Xb65up+ 1ZzWlTiOGQouhwap4Kxp9ZC6VujixApEL9ND8ykMSdRDcsy0DHDDTcZx9uYFL+nP4u2d krMHds/LUIkktKke4VmKOisbWrKoJcTOPxo98NjZkyi4iRmvD/aN5bUkHdh7uAgoGgHs G16lNfPNtkNK30Cmgcrn5CztPFf+abpYBetUeDCvxZbl+nJJzd6RmZauOlGLpcHCwfJL TLawvfP3YFZ0prLa2/fnw5ba0WYzodGFvQyRq68sMxo7vkM/k14fqffByK54A4JrKP5c EAPw== X-Gm-Message-State: AOAM5326DJvMLCwoqhMUQxT/H3U511SczdLC3kwGB2WbGerDFFXLD/gr SzcXJ3X+NGUl3SBmT5x5+rQnXfzV++FMc6xX/QtC4w== X-Google-Smtp-Source: ABdhPJx0lp0PHTjiXgV2IvMCh2GtrIee4/gYDuwcwV8DC7zDqHOMDrNmfKQMSgVZNLP5fYmtX4CKmhomDDLaBS4TJ1o= 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-next@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