Source: collectd
Version: 5.5.1-2
Severity: normal
Tags: upstream

Dear maintainer

As of version 1.6 of rrdtool, librrd is thread safe without using the special
librrd_th.so. Actually, that file no longer exists.

As a consequence, collectd's configure outputs:
    librrd  . . . . . . . yes (warning: librrd is not thread-safe)

I haven't tested, but I believe HAVE_THREADSAFE_LIBRRD will be false. This
will trigger a new set of code being compiled.

Please ensure collectd is still working correctly. Hopefuly this will only
trigger extra mutex locking for nothing.

I'm not sure how to properly fix that. Maybe
if pkg-config --atleast-version=1.6 librrd
then HAVE_THREADSAFE_LIBRRD should be true while linking with basic -lrrd.

Reply via email to