From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Torvalds Subject: Re: [RFC PATCH 0/3] kbuild: generate intermediate C files instead of copying _shipped files Date: Fri, 8 Sep 2017 10:22:30 -0700 Message-ID: References: <1503132577-24423-1-git-send-email-yamada.masahiro@socionext.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Masahiro Yamada Cc: Sam Ravnborg , Michal Marek , Linux Kbuild mailing list , "devicetree@vger.kernel.org" , Rob Herring , Jonathan Corbet , Richard Purdie , Greg Kroah-Hartman , Andrew Morton , Mauro Carvalho Chehab , Nicholas Piggin , "open list:DOCUMENTATION" , Markus Heiser , Linux Kernel Mailing List , Frank Rowand , Rob Herring , SeongJae Park , "Yann E. MORIN" List-Id: devicetree@vger.kernel.org On Thu, Sep 7, 2017 at 11:18 PM, Masahiro Yamada wrote: > > If CONFIG_MODVERSIONS is enabled, > I notice lots of error messages. > WARNING: EXPORT symbol "finish_open" [vmlinux] version generation > failed, symbol will not be versioned > > So, I think something was broken in scripts/genksyms/. > > Of course, it was a trivial conversion, so it should not be hard to fix... Indeed, hopefully it would be trivial, but I don't even see the error here. Of course, I only did a "make allmodconfig" to test the MODVERSIONS case, I didn't actually install the modules. Is that error perhaps only detected at install time? I did build and install a kernel with that patch, but that's my actual "real" config for the machine, and it didn't have MODVERSIONS enabled. Oh, how I hate modversions. But I'll take a look if I can see what I did wrong in the "Trivial and Obvious(tm)" conversion. Linus