On Tue, Jan 17, 2023 at 08:03:18PM -0800, Russ Allbery wrote:
Scott Talbert <[email protected]> writes:
In one of the library packages I maintain (hidapi), upstream removed a couple of global variables (my .symbols file noticed this). See
abipkgdiff below.
Does this break ABI? My assessment is that it does NOT, but I would
like to confirm. These variables were not declared in a header file, so
I can't see how external user code would have referenced them.
It does technically, but if the variables were never declared in a header file, it's equivalent to hiding private functions that were previously exposed by mistake but never prototyped for users. Traditionally, we
don't consider that an ABI break worth bumping the soname unless we have
some reason to believe that software is using those symbols.
JFTR (I'm pretty sure that both Scott and Russ know this),
https://sources.debian.org/ can help one figure out whether some other
Debian package uses them.
G'luck,
Peter
--
Peter Pentchev
[email protected] [email protected] [email protected]
PGP key:
http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115 C354 651E EFB0 2527 DF13
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEELuenpRf8EkzxFcNUZR7vsCUn3xMFAmPH0gcACgkQZR7vsCUn 3xOzew/+MTrt5JWRdYzQngToIdOaNjJ4xNAC7SryF5B4BDPMfi6xCQPxhqxixwb4 7Rg7AsS0t3H3Sg+Almtvg+hqEeUklKEr9tDA7lsE9iDFZjH28dno1oECZkqy56ZR xdpQNO6EbrciTAW1oo1uUlcWQ1/RhCKQS/ManjQ6pCzntsctq23awyJUt4/Yp2sP r5ZQNgURWSEMn/8aEmenheCP7XnUTrK31ErN0ID7H6YiJE8q8P67QbXa6ItWPj0z kImlAT3BLCdIQ1ix7eT0UnLI5o/QqUaLAwUR1m2F6653E3Y7587fiMk40PylmG+E mVDOz0nc8CneyZO6WnvCBSzNf29v2kMDJh1U430hBxWb712REcFQBIZNozp8BMbi KDGn3n8mdk1s7BIjvEYXa6EhAKzcUx7lb9CzbhKPcMVCfGRrtuazuglMs8cpLY7m 5LIjB7V36Tp5sDSzkRjP11gqHQa/hIJIyr4fGmY4kOrEx82hpaPjERbYdkWBmJSD SEyFHeFXu88u7JRjXgk4B0pqyaeZFiDaQr0BK7z1G6/qZIzs95FXjj/r4YZbHWIK j3qVCUvtUihZ/dVVbIR+kzOV8bWR6eaHJWFWQ58p/1LY/kibrXk3xncSVINS2Tof VxgGoEC19k7RnY1KUiS29N6RtYa4mCptq2fG86+7ZCOjU8c4gzE=
=eslU
-