[systemd-devel] systemd fails to build with static kmod library

Stephan Raue mailinglists at openelec.tv
Sun Jun 2 15:52:44 PDT 2013


Am 02.06.2013 19:36, schrieb Greg KH:
> On Sun, Jun 02, 2013 at 07:28:57PM +0200, Stephan Raue wrote:
>
>> i dont agree, i some cases it makes sense. since udev is included in
>> systemd and udev has now its own buildins for the modprobe stuff it
>> should be possible to use kmod statically linked, esp. if no other
>> installed program uses kmod (and for our usage the kmod userspace
>> binarys are not neccessary)
>
> If you are so worried about other programs / users calling kmod, then
> just build your needed kernel modules into the kernel and don't use any
> kernel modules at all.
>
i am not much worried about this, but more about the comment "Do not use 
static linking, with systemd, ever, in fact do not use with any other 
component.". Statically linking works for so many programs and even kmod 
supports the "--enable-static" configure option. So basically i tried to 
report this broken behavior, because i never seen a statement like "dont 
link anything statically against systemd"

Stephan.



More information about the systemd-devel mailing list