[systemd-devel] Excessive linking of systemd-timestamp
Daniel Drake
dsd at laptop.org
Thu Oct 13 12:08:06 PDT 2011
Hi,
Running systemd-36 on Fedora 16.
$ ldd /lib/systemd/systemd-timestamp
linux-gate.so.1 => (0x00a84000)
libselinux.so.1 => /lib/libselinux.so.1 (0x0059c000)
libcap.so.2 => /lib/libcap.so.2 (0x00901000)
librt.so.1 => /lib/librt.so.1 (0x00a6a000)
libc.so.6 => /lib/libc.so.6 (0x00110000)
/lib/ld-linux.so.2 (0x009c1000)
libdl.so.2 => /lib/libdl.so.2 (0x00f09000)
libattr.so.1 => /lib/libattr.so.1 (0x00f23000)
libpthread.so.0 => /lib/libpthread.so.0 (0x007be000)
The excessive linking of this tiny application is challenging my
efforts to keep our initramfs slim for our embedded setup. dracut
includes this app in the initramfs by default, and to satisfy its
requirements it results in all those libraries getting added too.
Could this be reduced? I guess all it needs is libc.
Thanks,
Daniel
More information about the systemd-devel
mailing list