Fix: disable liblttng-ust-dl if dlinfo is not available in C library
authorRomain Naour <romain.naour@openwide.fr>
Wed, 9 Apr 2014 21:55:07 +0000 (23:55 +0200)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 17 Apr 2014 11:55:06 +0000 (07:55 -0400)
commitf9ff7aa4f0f89c39d35c1e72f0beb99b69061d02
treeffccb10ebec3034d08c4bdcbc343fea75fb61657
parent80249235cb6560c6bb915f1cd486aa5017f87456
Fix: disable liblttng-ust-dl if dlinfo is not available in C library

According to uClibc commit [1], dlinfo is not available in recent uClibc
(>0.9.33), but available in older version of uClibc (<=0.9.33) whith a
different prototype than glibc.

dlinfo used by liblttng-ust-dl require RTLD_DI_LINKMAP that is not
available in uClibc.

To be able to use LTTng UST with uClibc, we need to disable the Dynamic
Linker Tracing functionality [2] if RTLD_DI_LINKMAP is not detected.

[1] http://git.uclibc.org/uClibc/commit/?id=f3c9dc499c5c787ddd8c4320f2d44d2ae6e40c22
[2] http://lists.lttng.org/pipermail/lttng-dev/2014-February/022423.html

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Makefile.am
configure.ac
This page took 0.024425 seconds and 4 git commands to generate.