Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp3729545ybx; Mon, 4 Nov 2019 01:53:17 -0800 (PST) X-Google-Smtp-Source: APXvYqzMl4GiBkiXb/EnUcmj7B6nCrFnCY5Do/sqTrF7196y2nGmHw1tJtEwLCYKdG7+N9CBXQlm X-Received: by 2002:a17:906:365a:: with SMTP id r26mr23104930ejb.123.1572861197093; Mon, 04 Nov 2019 01:53:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572861197; cv=none; d=google.com; s=arc-20160816; b=OS8zbzjW0Q8hQBHk3GPs5fWxrHClXyVLb8u9qCNmgLNKDxz3mL3AqI0dpdbOoA/BaF KIpObqlcczcvlrt14uOxOFZfMDEcoVbhDdju5Zlut5pyaPUfsAFL42l9FbjP9DND5YcV dAvaBhX7dh6OAx8A3vG9MDlBCZ/Q++oNrArnJK9mDvxF2RgarLsYRSSi20T3uTihOqwx ndiMXBr9JWimZSW9IsibShz8jmHZIirO33iItDou0hFqaRm8FPNEAAj7962xk8tcqLQf PyTT5nR/QSvfq3FUlnJwdBSjn967ds3jW4vLvIwCvD+dgzJXdrG/X/hzXt816ubiCRi4 2OVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=zkMcvSms/U4Qaw7R6HtNgaBc3dEVSO6odZWh6NsVfGM=; b=BoWdTYJImDMVlFqLNSX1C5FsT/Sc49jWNnMuWGmAq0aHb2809e3W+Z+e4zSbXl/yfY McoDOkI7RAoSQ4pTrC2gyaLz8DesS5ZwWlwARypplrOfTZ42ev1kxmTa2wrG1/ECa6aW Fw9iVJWFbI45oWxbnaDJUPYmWMlEaUukOYbok6AO8JXHdw9oiN5okYNMonflc8TxFglE CUd/Iv8GjjVLk2ATfO8QrXYRvlrz2Z89BdCjPxWCr6GTrreigneidI2AlWwAmDQaxslp Cexbx9Iw6hyoDBJ5CnqOR+eOqMWNGRUWoWfRrYDgzexd/a48AuPVrP5nrCMNb5r8cRWB /u1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@ffwll.ch header.s=google header.b=ReXeIcii; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j21si11021266ejn.392.2019.11.04.01.52.53; Mon, 04 Nov 2019 01:53:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@ffwll.ch header.s=google header.b=ReXeIcii; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728321AbfKDJuH (ORCPT + 99 others); Mon, 4 Nov 2019 04:50:07 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:43812 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728063AbfKDJuH (ORCPT ); Mon, 4 Nov 2019 04:50:07 -0500 Received: by mail-wr1-f67.google.com with SMTP id n1so16228310wra.10 for ; Mon, 04 Nov 2019 01:50:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=sender:date:from:to:cc:subject:message-id:mail-followup-to :references:mime-version:content-disposition:in-reply-to:user-agent; bh=zkMcvSms/U4Qaw7R6HtNgaBc3dEVSO6odZWh6NsVfGM=; b=ReXeIciiF4NFFhQ/IHMb4yYMIlGw4cQRP3qdhGM+219nNZPv24yYUgtPBwOjkmgo6c ZwdFIwEcVH/odn/N6q36fHsB2YJEd2OlYTTLSAJyPfwDyXnEsLekH35c5/8HH4OHVTS+ +bRNSLbWFjNLk+2TPLtrWBgVbLUz7xWK5NV48= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=zkMcvSms/U4Qaw7R6HtNgaBc3dEVSO6odZWh6NsVfGM=; b=IBpqmhD3FG/m7MY1nyBxyqM92JCf8f249PzIXAP6lmXfL7zyzGlKiIFcbm+y2vp2nC A0GdfdJYLLVaw8Hot85oOi5jfvl30MeOwN2eytTx3AbRd2+L2IX3jwerWNgteS0vvElV wwWiHEEsJf+R77Dwsx/gIumdc6q0TLiLZGM8wXYFPui1tNwCiODfTIRYCfxoqNpgYwyT pBwBIubl+uawH107fxT0bI8iAzgS/48FYVn+UbV2qY4jFh+tqI4lOf3z9hxZqIUPbb+d bpcvJruW+bdiO4Q4Oto+HxXUhgZuyS8t9AE5yRNNtcEp2+PCPejYCg7h+2LSphUcw/C5 mAaA== X-Gm-Message-State: APjAAAWH3rPkFTZKlYWnG+k9Pi2XUFZT5QKw8bbhbxkod6qySPVHu5w8 XCUx5QXR45ekW08YtpPVBPcTXw== X-Received: by 2002:a5d:55c7:: with SMTP id i7mr23332669wrw.371.1572861003981; Mon, 04 Nov 2019 01:50:03 -0800 (PST) Received: from phenom.ffwll.local (212-51-149-96.fiber7.init7.net. [212.51.149.96]) by smtp.gmail.com with ESMTPSA id r3sm35307740wre.29.2019.11.04.01.50.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Nov 2019 01:50:03 -0800 (PST) Date: Mon, 4 Nov 2019 10:50:01 +0100 From: Daniel Vetter To: Geert Uytterhoeven Cc: Bartlomiej Zolnierkiewicz , Andrew Morton , Linux Fbdev development list , Nick Desaulniers , Linux/m68k , DRI Development , Linux Kernel Mailing List , Masahiro Yamada Subject: Re: [PATCH v2] fbdev: c2p: Fix link failure on non-inlining Message-ID: <20191104095001.GB10326@phenom.ffwll.local> Mail-Followup-To: Geert Uytterhoeven , Bartlomiej Zolnierkiewicz , Andrew Morton , Linux Fbdev development list , Nick Desaulniers , Linux/m68k , DRI Development , Linux Kernel Mailing List , Masahiro Yamada References: <20190927094708.11563-1-geert@linux-m68k.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: Linux phenom 5.2.0-3-amd64 User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 04, 2019 at 08:43:07AM +0100, Geert Uytterhoeven wrote: > Hi Bartlomiej, Andrew, > > On Fri, Sep 27, 2019 at 11:47 AM Geert Uytterhoeven > wrote: > > When the compiler decides not to inline the Chunky-to-Planar core > > functions, the build fails with: > > > > c2p_planar.c:(.text+0xd6): undefined reference to `c2p_unsupported' > > c2p_planar.c:(.text+0x1dc): undefined reference to `c2p_unsupported' > > c2p_iplan2.c:(.text+0xc4): undefined reference to `c2p_unsupported' > > c2p_iplan2.c:(.text+0x150): undefined reference to `c2p_unsupported' > > > > Fix this by marking the functions __always_inline. > > > > While this could be triggered before by manually enabling both > > CONFIG_OPTIMIZE_INLINING and CONFIG_CC_OPTIMIZE_FOR_SIZE, it was exposed > > in the m68k defconfig by commit ac7c3e4ff401b304 ("compiler: enable > > CONFIG_OPTIMIZE_INLINING forcibly"). > > > > Fixes: 9012d011660ea5cf ("compiler: allow all arches to enable CONFIG_OPTIMIZE_INLINING") > > Reported-by: noreply@ellerman.id.au > > Signed-off-by: Geert Uytterhoeven > > Reviewed-by: Masahiro Yamada > > --- > > This is a fix for v5.4-rc1. > > Can you please apply this for v5.4? > This is one of the 4 remaining build regressions, compared to v5.3. Applied to drm-misc-fixes, thanks for your patch. -Daniel > > Thanks! > > > v2: > > - Add Reviewed-by, > > - Fix Fixes, > > - Add more explanation. > > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org > > In personal conversations with technical people, I call myself a hacker. But > when I'm talking to journalists I just say "programmer" or something like that. > -- Linus Torvalds > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch