On Fri, 26 Dec 2025 at 09:28, Steffen Möller via Emc-developers
<[email protected]> wrote:

> The PR is against the 2.9 branch, but if I get this right, then this 
> introduces an incompatibility of the binary interface, i.e. current modules 
> that linked against the earlier version of the libgpio may no longer run in 
> the then patched setup? I would for that reason prefer the merge with 2.10.

The reason for this to go in 2.9 is that the current 2.9.7 Trixie
image for the RPi does not include hal_gpio as compilation is skipped
if the libgpiod version is >= 2. The Bookworm image does include it as
the default libgpiod version is  earlier.  If we don't put this in 2.9
then we can't sensibly release a Pi images on anything later than
Bookworm.

This patched version of hal_gpio compiles against whatever version of
libgpiod is found on the system. I have built the module with libgpiod
1.2 on Buster and libgpiod 2.2.1 on Trixie and both work.

The component will only ever be built as part of a full build of
LinuxCNC so I don't think that binary interface compatibility is ever
going to be an issue, but I might be misunderstanding your concern.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to