News for hackers. Stuff that matters.
Re:Stop making Linux distributions, make applications instead by sylware on Saturday December 09, 2023 @04:47PM (#38586396)
This what the "pressure-vessel" container from collabora (used by valve on dota2/cs2), is trying to solve... but now the issue is the container itself as it does _NOT_ follow fully the elf loading rules for all elf binaries and does ignore many configuration parameters of many software packages (data files location, pertinent environment variables, etc), basically presuming "ubuntu" to be there.

Basically, I have my vulkan driver requiring fstat from 2.33 but the "pressure-vessel" (sniper version), has a glibc 2.31, then it does parse partially my global elf loading configuration and the configuration of some packages to import that driver and all its dependencies... including my glibc elf loader... ooof! That level of convolution will have a very high price all over the board.

I have arguments often with one of "pressure-vessel" devs because of some shortcuts they took which do break my distro (which is really basic and very vanilla, but not "ubuntu"). It took weeks to get the fixes in (I guess all of them are in... until the glibc devs manage to do something which will wreak havock on "pressure-vessel"). Oh... that makes me think I need to warn them about that super new and recent ELF relocation type they will have to parse and detect in host drivers...

On my side, I am investigating some excrutiatingly simple modern file format which should help a lot fighting those issues, there will be technical trade-offs obviously (but would run-ish on "old" kernels anyway with elf "capsules" and an orthogonal runtime). Like json is for xml, but for elf/pe.

It seems only the linux ABI can be trusted... til Linus T. is able to hold the line.

Re:Stop making Linux distributions, make applications instead by charcircuit on Saturday December 09, 2023 @08:07PM (#38587984)
>It seems only the linux ABI can be trusted...

The ABI is not stable. Google has to do extra work for Android to make sure pushing out an update of an LTS branch of the kernel does not break people's drivers.

https://source.android.com/docs/core/architecture/kernel/sta...

Re:Stop making Linux distributions, make applications instead by p_l on Saturday December 09, 2023 @08:15PM (#38588036)
Linux kernel userland ABI is stable. Nothing else is on linux.
Re:Stop making Linux distributions, make applications instead by piperswe on Saturday December 09, 2023 @09:15PM (#38588393)
The module ABI is not stable, but that's not the ABI typically referred to when someone says "Linux ABI". That would be the userland ABI, which is stable.