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=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 ECB22C43331 for ; Tue, 12 Nov 2019 09:14:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CA94C214E0 for ; Tue, 12 Nov 2019 09:14:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727046AbfKLJOI convert rfc822-to-8bit (ORCPT ); Tue, 12 Nov 2019 04:14:08 -0500 Received: from mail-oi1-f196.google.com ([209.85.167.196]:38968 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726008AbfKLJOI (ORCPT ); Tue, 12 Nov 2019 04:14:08 -0500 Received: by mail-oi1-f196.google.com with SMTP id v138so14138244oif.6; Tue, 12 Nov 2019 01:14:05 -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:content-transfer-encoding; bh=CcFia2f8UjT7Hz7B3H/t2zQe97c4U387QE8r5XjOH8A=; b=t/3EoTXZwO4A4ZgrzT+/BHLcbzStTaLy3bem4ZjRM7T30rdHPt34rcy5vJKRfzNk3d ewOd1cHrQa14znwpmvwgFadYJHaua/0hxTn6xlYa1nJL1puH+2Hepea+z+vNUzMTBZEL z5ErdNK97ZwftHn/8POHHy+TViSd4hkPSy+9vTn8pvCgtGmsB+ZH3Hs/vdOzodLJUPVL oJoKaQfxvkPq5ad6p6XDJEsUTO369ZWWf117DcJ2U/xfvT4YH+64ZKKfMVSdkw94AoVa tfks1wzNfv1IFmZw/BT0Vlazs413Y6sFVF/rGY2RIjAQsZuApnFeeJyySO8iq+3Ehic3 25Xw== X-Gm-Message-State: APjAAAUeA30wiBquYZS+QrX1HQ50wpB+OqUJNpErqBBmFw0rADj2wWCx LuOj5Q4WY/qLCBdkinvJQYJBcTnBs6GvJ8pEfLs= X-Google-Smtp-Source: APXvYqxbSiMMCm9vOSRUI81fzjT2IZ3Fd4CYajnzFOk7q7brNKIrKnb1uqJhXwzzLHRJu12wVQ5KC28YV3eKlUAChCc= X-Received: by 2002:aca:3a86:: with SMTP id h128mr2951038oia.131.1573550045207; Tue, 12 Nov 2019 01:14:05 -0800 (PST) MIME-Version: 1.0 References: <20191011000609.29728-1-keescook@chromium.org> <20191011000609.29728-12-keescook@chromium.org> <201911110922.17A2112B0@keescook> <20191112090736.GA32336@zn.tnic> In-Reply-To: <20191112090736.GA32336@zn.tnic> From: Geert Uytterhoeven Date: Tue, 12 Nov 2019 10:13:53 +0100 Message-ID: Subject: Re: [PATCH v2 11/29] vmlinux.lds.h: Replace RODATA with RO_DATA To: Borislav Petkov Cc: Kees Cook , Rick Edgecombe , Dave Hansen , Andy Lutomirski , Arnd Bergmann , Michael Ellerman , Heiko Carstens , Will Deacon , Linux-Arch , Linux ARM , linuxppc-dev , alpha , "linux-ia64@vger.kernel.org" , linux-s390 , linux-c6x-dev@linux-c6x.org, Yoshinori Sato , Michal Simek , Parisc List , linux-xtensa@linux-xtensa.org, "the arch/x86 maintainers" , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org Hi Borislav, On Tue, Nov 12, 2019 at 10:08 AM Borislav Petkov wrote: > On Mon, Nov 11, 2019 at 07:08:51PM +0100, Geert Uytterhoeven wrote: > > vmlinux-std.lds: All other classic 680x0 targets with an MMU, e.g. plain > > defconfig aka multi_defconfig. > > FWIW, the defconfig doesn't build with the cross compiler¹ here, even with Kees' > patch applied but for a different reason: > > $ make.cross ARCH=m68k defconfig > ... > > $make.cross ARCH=m68k 2>w.log > ... > drivers/video/fbdev/c2p_planar.o: In function `transp8': > c2p_planar.c:(.text+0x13a): undefined reference to `c2p_unsupported' > c2p_planar.c:(.text+0x1de): undefined reference to `c2p_unsupported' > drivers/video/fbdev/c2p_iplan2.o: In function `transp4x.constprop.0': > c2p_iplan2.c:(.text+0x98): undefined reference to `c2p_unsupported' > make: *** [Makefile:1094: vmlinux] Error 1 The fix for that regression (finally) made it in rc7: b330f3972f4f2a82 ("fbdev: c2p: Fix link failure on non-inlining"). 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