From: Arjan van de Ven <arjan@infradead.org>
To: "Paweł Sikora" <pluto@agmk.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [kernel-abi] symbol versioning vs. out-of-tree modules.
Date: Wed, 24 Sep 2008 14:05:16 -0700 [thread overview]
Message-ID: <20080924140516.3771c413@infradead.org> (raw)
In-Reply-To: <Y165ES5i.1222268879.9618400.pluto@agmk.net>
On Wed, 24 Sep 2008 17:07:59 +0200
"Paweł Sikora" <pluto@agmk.net> wrote:
> Hi All,
>
> with out-of-tree kernel modules we (users and linux distributions)
> have a problem - with every frequent kernel release we need
> to rebuild them all due to vermagic and possible abi changes.
> this leads to lot of useless work (bumping rpm specs releases,
> preparing rpm packages and so on).
>
> naturally we could workaround the modprobe vermagic errors
> but we currently can't detect the big-bang kernel abi changes.
> e.g., some kernel function changes its parameter list while
> the exported function(symbol) name still staying unchanged.
> finally we get a modprobe-big-bang.
>
> in fact, we can't use a c++ symbol name mangling to avoid
> such problems but kernel build system could use a linker script
> to versioning symbols (like glibc/libgcc). during the abi change,
> kernel developers could just bump the symbol version and
> external modules could be refused during loading with
> 'unresolved symbol' error which is imho much better solutio
if it were up to me we would remove modversions from the kernel and
just hard require an exact build of the module to the kernel; anything
else is .. at best an educated wild guess.
--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
next prev parent reply other threads:[~2008-09-24 21:05 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-24 15:07 [kernel-abi] symbol versioning vs. out-of-tree modules Paweł Sikora
2008-09-24 16:34 ` Christoph Hellwig
2008-09-26 9:50 ` Tilman Schmidt
2008-09-24 19:36 ` Alexey Dobriyan
2008-09-24 21:05 ` Arjan van de Ven [this message]
2008-09-25 2:48 ` Greg KH
2008-09-25 6:29 ` Paweł Sikora
2008-09-25 7:49 ` Sitsofe Wheeler
2008-09-25 8:26 ` Sitsofe Wheeler
2008-09-25 8:52 ` el es
2008-09-25 12:54 ` Greg KH
2008-09-25 13:48 ` Paweł Sikora
2008-09-25 13:54 ` Greg KH
2008-09-26 11:25 ` Tilman Schmidt
2008-09-26 15:36 ` Greg KH
2008-09-26 17:19 ` Arkadiusz Miskiewicz
2008-09-26 20:09 ` Greg KH
-- strict thread matches above, loose matches on Subject: below --
2008-09-29 6:51 Alan Young
2008-09-29 15:42 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080924140516.3771c413@infradead.org \
--to=arjan@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pluto@agmk.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox