Andrew Schulman <[email protected]> writes: > Hi. I maintain the Gnulib argp module for Cygwin, as the libargp package. > > Recently I updated our package from the 2023-07-08 release (bad1faa7) to the > 2025-09-17 release (26fd3545). When I did that, we found that the module ABI > had changed. > > In the 2023 release, the library exported argp_parse(). > > In the 2025 release, the library exports rpl_argp_parse(), and adds > > #define argp_parse rpl_argp_parse > > in config.h. This works fine for new code, but it broke our packages that were > built against the old release, since they expect to import argp_parse(). You > can see the discussion at > https://cygwin.com/pipermail/cygwin/2025-November/258950.html. > > So: Is this an intentional ABI change, that will be stable in the future? If > so, then I think we'll bump our library version to libargp1, for the new ABI. > Other suggestions are welcome.
Gnulib doesn't maintain an ABI since it is intended to be used in source-form and then statically linked [1]. That said, you can probably remove all of the #define rpl_* lines in config.h and have it work. Collin [1] https://www.gnu.org/software/gnulib/manual/gnulib.html#Incompatible-changes-1
