Displaying 2 results from an estimated 2 matches for "libvirt_public".
2019 Jul 27
3
[PATCH libnbd] lib: Use symbol versions.
This patch adds support for symbol versions. It is based on what
libvirt does.
The generated syms file looks like:
LIBNBD_1.0 {
global:
nbd_...;
nbd_...;
local: *;
};
In a future stable 1.2 release, new symbols would go into a new
section which would look like this:
LIBNBD_1.2 {
global:
nbd_new_symbol;
nbd_another_new_symbol;
local: *;
} LIBNBD_1.0;
In my testing the
2019 Jul 29
0
Re: [PATCH libnbd] lib: Use symbol versions.
...on which would look like this:
>
> LIBNBD_1.2 {
> global:
> nbd_new_symbol;
> nbd_another_new_symbol;
> local: *;
> } LIBNBD_1.0;
>
> In my testing the ‘local:’ label is needed. For some reason libvirt
> doesn’t use it.
We do use it - just note that src/libvirt_public.syms is *not* what
is used to link. We combine that file with libvirt_private.syms too,
and when combining, add the "local: *" bit to the result.
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o-...