Re: [RFC PATCH 0/3] kbuild: generate intermediate C files instead of copying _shipped files
From: Linus Torvalds
Date: Fri Sep 08 2017 - 13:22:38 EST
On Thu, Sep 7, 2017 at 11:18 PM, Masahiro Yamada
> 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.