From: Alexey Dobriyan <adobriyan@gmail.com>
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 23:36:17 +0400 [thread overview]
Message-ID: <20080924193617.GA13888@x200.localdomain> (raw)
In-Reply-To: <Y165ES5i.1222268879.9618400.pluto@agmk.net>
On Wed, Sep 24, 2008 at 05:07:59PM +0200, Paweł Sikora wrote:
> 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).
That's your price for using out-of-tree junk.
> naturally we could workaround the modprobe vermagic errors
> but we currently can't detect the big-bang kernel abi changes.
And never will be able to.
> 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.
*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 solution
> that an oops.
So kernel developers should waste time thinking if some change will
result in some innumerable junk being broken, resulting in symbol
version bump?
> is it acceptable and possible to introducing such solution?
No. Don't even bother.
next prev parent reply other threads:[~2008-09-24 19:34 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-24 15:07 Paweł Sikora
2008-09-24 16:34 ` Christoph Hellwig
2008-09-26 9:50 ` Tilman Schmidt
2008-09-24 19:36 ` Alexey Dobriyan [this message]
2008-09-24 21:05 ` Arjan van de Ven
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
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=20080924193617.GA13888@x200.localdomain \
--to=adobriyan@gmail.com \
--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
all inboxes | Powered by JetHome®