From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-f68.google.com ([209.85.214.68]:36425 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756581AbdIHRWb (ORCPT ); Fri, 8 Sep 2017 13:22:31 -0400 MIME-Version: 1.0 In-Reply-To: References: <1503132577-24423-1-git-send-email-yamada.masahiro@socionext.com> From: Linus Torvalds Date: Fri, 8 Sep 2017 10:22:30 -0700 Message-ID: Subject: Re: [RFC PATCH 0/3] kbuild: generate intermediate C files instead of copying _shipped files Content-Type: text/plain; charset="UTF-8" Sender: linux-kbuild-owner@vger.kernel.org List-ID: 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" 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