[systemd-bugs] [Bug 63167] New: sd-daemon.c: should be possible to avoid mq support and hence -lrt dependency

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Apr 5 05:57:34 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=63167

          Priority: medium
            Bug ID: 63167
          Keywords: patch
          Assignee: systemd-bugs at lists.freedesktop.org
           Summary: sd-daemon.c: should be possible to avoid mq support
                    and hence -lrt dependency
        QA Contact: systemd-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: simon.mcvittie at collabora.co.uk
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

Created attachment 77482
  --> https://bugs.freedesktop.org/attachment.cgi?id=77482&action=edit
sd-daemon.c: allow use of -lrt to be avoided

In recent glibc, many commonly-used librt functions have moved
from librt to libc. This results in dbus' configure.ac
concluding that we don't need to link in librt. However,
sd-daemon.c needs it for mq_getattr(), causing the build
to fail.

dbus doesn't use POSIX message queues, so I'd prefer to be
able to avoid "if on Linux, link librt for sd-daemon.c".

---

See also Bug #63166.

Doing this in terms of "define this macro and the entire sd_is_mq() function
will disappear" would also be fine.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20130405/f7e67b6d/attachment-0001.html>


More information about the systemd-bugs mailing list