Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp3627500ybx; Sun, 3 Nov 2019 23:44:47 -0800 (PST) X-Google-Smtp-Source: APXvYqz7DMP8ijpmAzlr9+Yv/UmVGTu7T/W2N7edHE1w/gOoXZAUR5m6OM8Gfnd68smzvHxfnQz3 X-Received: by 2002:a17:906:1542:: with SMTP id c2mr22282169ejd.80.1572853487500; Sun, 03 Nov 2019 23:44:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572853487; cv=none; d=google.com; s=arc-20160816; b=DIuWj6PVL3tAJopTNd8TeWC6Vp1dPgcQi7GRoIpqSCqLBSYF0p3U0h1VbpwqNWOVcG 4MX7EaODAfrdgcgssUtAKCkgSAWkTY5kZt96o1TVB3iKD0U8x3LLz4oGsp8ock5vd0lX NEFXIY6NLIEJX2u1U7qrGw3rUWRYrHNtFnJhY7a5WMdlYSUX56cLXqTMEWbuaKDbmM0z SYl5TWV7iCHJc3P/s8EjmB3sXS1lcBnW2GOlo81RDv6lzVFdNRY/i4bueP0t9o++s1Xz zz885ZaDEtdqpQQI5RgPYnviV+3zLioSoJZri5gOusvXsHFIj43jfKQicJf2mT/fREt9 rVJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=KnN2X+Z56m8inPVIEyg78tY9xFg8wm5xX3rrWjSXm00=; b=eyRnOqjGb8PBSPLBWcvbN5km0UlEk478lvvHzr9C7Qj317tIKlBhn1aDLuEvv5/rrg q+vYiAl6L/P0Sk/lyKsceZx2SZCEeCwPeFgnekujLHUMMo/iXgZ78WRea6gnqXwm8MqA U8OnUPrvk9bQ/WO8tmNC/OIIo2YOBDBXnc4FPeUuKjiOAe/AbhltvsN5tndZ0icXCW32 pen4wien237qIHhGmklaxunz58vIGrc5MhuGHXFbxlTCxzXr07UOLzBw9M8VQ8dnvU1S JRTBxzUmOrBrui3VfthurABwjV1S+JEjwJa1JvsU3GvM+0FAoqYHmkyGStxGL6SPvGE7 PN1w== ARC-Authentication-Results: i=1; mx.google.com; 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 c8si7346154edf.79.2019.11.03.23.44.24; Sun, 03 Nov 2019 23:44:47 -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; 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 S1727838AbfKDHnW (ORCPT + 99 others); Mon, 4 Nov 2019 02:43:22 -0500 Received: from mail-ot1-f66.google.com ([209.85.210.66]:43730 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726441AbfKDHnV (ORCPT ); Mon, 4 Nov 2019 02:43:21 -0500 Received: by mail-ot1-f66.google.com with SMTP id u4so2628654otq.10; Sun, 03 Nov 2019 23:43:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=KnN2X+Z56m8inPVIEyg78tY9xFg8wm5xX3rrWjSXm00=; b=Zs+asvGapBjCMN1e7WYqb7tZs1Ov7yAqLSp32wMWodWJ2u3LV8jwfW2hGfUxzqHpJa Jt2f9qv0hHfUPuQLUr7B5KEzNKlaSQc47e/Cz5TLKYRpwnvE2PQKOx15ka9x9D71fgjp Qj7/W5gbvtRie9BlwvJDsU2rrpqbQR0y/Sx88qLi9YxdStjqSnYIr4GAWGjTGXdOtaEB oFJZ4Hgw1y6b7jOYIINC4Mb4RhW0ih6Se3p3vsOvmZ86bedY1mLSI22CHkMxJS1IsTJQ M0c6NENOOazhR41B8MnwMtWbHD1CK2bMm1OlKxQ0lTgA32oiPdCYUFH+ulE4FIYwWkPk +wKA== X-Gm-Message-State: APjAAAV41P5CRZvgjNjnucG5FBq4f62ppA/3GsFCggZr1Xt+mYyy4wZm EhNHnAcDGo/5aZqF34onCOUzTFOLT8xfn4tOHqc= X-Received: by 2002:a05:6830:210e:: with SMTP id i14mr3502735otc.250.1572853399036; Sun, 03 Nov 2019 23:43:19 -0800 (PST) MIME-Version: 1.0 References: <20190927094708.11563-1-geert@linux-m68k.org> In-Reply-To: <20190927094708.11563-1-geert@linux-m68k.org> From: Geert Uytterhoeven Date: Mon, 4 Nov 2019 08:43:07 +0100 Message-ID: Subject: Re: [PATCH v2] fbdev: c2p: Fix link failure on non-inlining To: Bartlomiej Zolnierkiewicz , Andrew Morton Cc: Nick Desaulniers , Masahiro Yamada , DRI Development , Linux Fbdev development list , "Linux/m68k" , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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