Re: systemd, ELF binaries and runtime dependency tracking
Luca Bocassi
On Tue, 2021-06-01 at 07:58 -0700, Khem Raj wrote:
Yes ideally ELF shared objects/the linker/the loader would support weak symbols (like dylib on OSX). Unfortunately they do not, and it seems there's no interest to add it becasue there's no concrete use case that shows it's useful. But that cannot happen until there's some support for it. Chicken and egg... There have been lots of theoretical discussions about pros and cons, and my hope was that if at least one distro could find it useful, and could show that it is in practice useful and the theoretical issues are not that problematic and could be solved, others would follow suit. So leaving aside other distros, is this something that would concretely benefit the Yocto project for handling the systemd recipe? There are currently 12 dlopen()-based optional dependencies in systemd, and the number grows with each release. -- Kind regards, Luca Boccassi
|
|