Re: [RFC PATCH 0/3] kbuild: generate intermediate C files instead of copying _shipped files
From: Linus Torvalds <torvalds@linux-foundation.org>
Date: 2017-09-08 17:22:34
Also in:
linux-kbuild, lkml
From: Linus Torvalds <torvalds@linux-foundation.org>
Date: 2017-09-08 17:22:34
Also in:
linux-kbuild, lkml
On Thu, Sep 7, 2017 at 11:18 PM, Masahiro Yamada [off-list ref] 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