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 X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7BD24C43603 for ; Wed, 18 Dec 2019 09:27:04 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 56B2421D7D for ; Wed, 18 Dec 2019 09:27:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 56B2421D7D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ravnborg.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C4A386E28B; Wed, 18 Dec 2019 09:27:03 +0000 (UTC) Received: from asavdk3.altibox.net (asavdk3.altibox.net [109.247.116.14]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4B7AB6E296 for ; Wed, 18 Dec 2019 09:27:02 +0000 (UTC) Received: from ravnborg.org (unknown [158.248.194.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by asavdk3.altibox.net (Postfix) with ESMTPS id E15402003C; Wed, 18 Dec 2019 10:26:58 +0100 (CET) Date: Wed, 18 Dec 2019 10:26:57 +0100 From: Sam Ravnborg To: David Hildenbrand Subject: Re: powernv build issue Message-ID: <20191218092657.GA11943@ravnborg.org> References: <20191210194758.24087-1-sam@ravnborg.org> <14d73a3d-d670-6338-b0e2-5054d1bf388d@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <14d73a3d-d670-6338-b0e2-5054d1bf388d@redhat.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=eMA9ckh1 c=1 sm=1 tr=0 a=UWs3HLbX/2nnQ3s7vZ42gw==:117 a=UWs3HLbX/2nnQ3s7vZ42gw==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=kj9zAlcOel0A:10 a=7aj0TGIGEi1D0orOOQgA:9 a=CjuIK1q_8ugA:10 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: DRI Development Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi David. On Mon, Dec 16, 2019 at 07:03:17PM +0100, David Hildenbrand wrote: > Hi, > > the patch "drm/drm_panel: fix EXPORT of drm_panel_of_backlight" in > linux-next breaks the powernv build: > > desktop: ~/git/linux-ppc memtrace $ ./compile.sh > CALL scripts/atomic/check-atomics.sh > CALL scripts/checksyscalls.sh > CHK include/generated/compile.h > GEN .version > CHK include/generated/compile.h > UPD include/generated/compile.h > CC init/version.o > AR init/built-in.a > LD vmlinux.o > MODPOST vmlinux.o > WARNING: vmlinux.o(.text+0x2fc8): Section mismatch in reference from the > variable start_here_common to the function .init.text:start_kernel() > The function start_here_common() references > the function __init start_kernel(). > This is often because start_here_common lacks a __init > annotation or the annotation of start_kernel is wrong. > > MODINFO modules.builtin.modinfo > LD .tmp_vmlinux1 > ppc64-linux-gnu-ld: drivers/gpu/drm/drm_panel.o: in function > `drm_panel_of_backlight': > (.text+0x434): undefined reference to `devm_of_find_backlight' > make: *** [Makefile:1079: vmlinux] Fehler 1 > > Reverting it makes it compile again. (not exploring the root issue, I > just need a powernv built and reverting that commit did the trick ) Thanks for the report. Andy already provided a fix that is now applied to drm-misc-next - and should show up in -next within a day. Sorry for the troubles! Sam _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel