Re: [PATCH 1/3] modules: add sd-dlopen module

Luca Boccassi <[email protected]> Sun, 19 Jul 2026 18:46:31 +0100
Newsgroups gmane.comp.lib.gnulib.bugs
Message-ID <CAMw=ZnSF1N4O9hZ2kzN6k+LWWSFBHsM1QvxY0ny=0F70+g+ZdQ@mail.gmail.com>
On Sun, 19 Jul 2026 at 18:42, Paul Eggert <[email protected]> wrote:
>
> On 2026-07-19 09:39, Luca Boccassi wrote:
> > It requires changes following your earlier requests, that are specific
> > to gnulib, so it cannot be synced automatically.
>
> That's unfortunate; it'd be better to keep these files in sync if their
> implementation is basically the same.
>
> If they can't be synced, though, perhaps it'd be better if Gnulib
> renames the include file and its macros. After all, it is not specific
> to systemd.

Sure, what would you like it to be renamed to?

> > TBH I don't foresee
> > many changes coming to it, so it might not be worth worrying about
> > that?
>
>  From the Gnulib point of view, suppose the same issue comes up in
> macOS? I can see many changes happening then.

Not an osx developer, but isn't the binary format different anyway?
This stuff is very much ELF specific.

Ironically, osx's dynlib already out-of-the-box treats dynamic
libraries as optional, so you get dlopen behaviour "for free". Wish we
had it on Linux.