laforge, that is a fair question and it deserves a straight answer: no, I am not asking for Darwin to become a supported platform, and I am not in a position to promise the CI and monitoring that would justify one.

What I would ask is that these two changes be judged as what they are. Each fixes code that assumes one kernel's behaviour where POSIX does not guarantee it. One connects a throwaway UDP socket to port 0 to read back a source address; the other decides address equality with memcmp() over a whole struct, padding and length byte included. Both are portability defects in libosmocore, and both fixes are unconditional. Linux behaviour is unchanged in each, and Jenkins agrees.

There is no Darwin-specific code path in either. The library itself gets no conditionals at all. The only build-system addition is an AC_CHECK_MEMBER for sin_len, which sits directly below the existing s6_addr32 check and asks about a struct member rather than about an operating system, the same thing the tree already does for several tcp_info fields. The one #ifdef is in the new test, so the expected output stays identical everywhere.

That is the entire surface. Nothing Darwin-specific is left behind that could rot between releases, which is why I think these can be decided on their own merits without settling the larger platform question first.

If you read it differently and would rather have the maintenance plan before any of this, that is yours to decide, and I would withdraw these rather than claim upkeep I cannot sustain.

View Change

To view, visit change 43575. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: comment
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I75fc62a92f546a906dbb1440984d62f962579255
Gerrit-Change-Number: 43575
Gerrit-PatchSet: 3
Gerrit-Owner: andrei.gosman@gmail.com <andrei.gosman@gmail.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: laforge <laforge@osmocom.org>
Gerrit-CC: pespin <pespin@sysmocom.de>
Gerrit-Comment-Date: Tue, 22 Sep 2026 06:46:49 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No