Nikos Mavrogiannopoulos <[email protected]> writes:

> The attached patch will add symbol versioning in nettle. That would
> mean that software linked against nettle 3.x will be able to
> interoperate with libraries that are linked on a previous version of
> nettle (and vice versa).

Thanks. I take it that solves the soname-related problem you reported
yesterday? (I hope to be able to respond properly later today).

I think it would be good with some comments in the linker script
libnettle.map, explaining when and how to update it. E.g., the "3" in
"NETTLE_3", when should that be updated? Should it always follow the
soname? If so, maybe we should have a libnettle.map.in and let configure
substitute the major number.

How should we handle incompatible changes to internal, undocumented
functions? Then I usually bump the minor number only, but not the soname?
Maybe it's impossible or unlikely to get two versions with the
same soname linked into the same running program, in which case symbol
versions don't need any finer resolution than the soname?

Regards,
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.
_______________________________________________
nettle-bugs mailing list
[email protected]
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs

Reply via email to