[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] RFC: DSO (dynamic shared objects) support
From: |
Laszlo Ersek |
Subject: |
Re: [Qemu-devel] RFC: DSO (dynamic shared objects) support |
Date: |
Tue, 18 Jun 2013 14:17:08 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130513 Thunderbird/17.0.6 |
On 06/18/13 13:37, Michael Tokarev wrote:
> Next, and this is the most complex part. The build system for
> modules, and configuring it. I heard there were plans to use
> something like kbuild system for that, has anything been done
> in this context?
Sorry for responding separately... Some module/symbol versioning will be
necessary, as the binding will be delayed until runtime, and users
*will* mix and match qemu and modules, and get random crashes. AFAIK
versioning is a good way to avoid that (you would get an error in
dlopen(), and dlerror() would pinpoint problem).
No idea how to implement this though, except I expect there's no chance
to do it halfway portably without libtool.
POSIX is very laconic regarding shared libraries, for example
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/c99.html
in SUSv4 doesn't say anything about them.
Laszlo