From: Romain Naour <romain.naour@openwide.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [lttng-dev] [PATCH 1/1] Disable liblttng-ust-dl if dlinfo is not available in C library.
Date: Mon, 07 Apr 2014 22:46:10 +0200 [thread overview]
Message-ID: <53430E92.9060401@openwide.fr> (raw)
In-Reply-To: <794709247.8287.1396903345152.JavaMail.zimbra@efficios.com>
Hi Mathieu,
Le 07/04/2014 22:42, Mathieu Desnoyers a ?crit :
> Merged into master and stable-2.4, thanks!
>
> Mathieu
You're welcome.
Best regards,
Romain Naour
>
> ----- Original Message -----
>> From: "Romain Naour" <romain.naour@openwide.fr>
>> To: lttng-dev at lists.lttng.org
>> Cc: "Romain Naour" <romain.naour@openwide.fr>
>> Sent: Sunday, April 6, 2014 5:02:41 PM
>> Subject: [lttng-dev] [PATCH 1/1] Disable liblttng-ust-dl if dlinfo is not available in C library.
>>
>> According to uClibc commit [1], dlinfo is not available.
>> To be able to use LTTng UST with uClibc, we need to disable
>> the Dynamic Linker Tracing functionality [2].
>>
>> [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>
>> ---
>> Makefile.am | 5 ++++-
>> configure.ac | 3 +++
>> 2 files changed, 7 insertions(+), 1 deletion(-)
>>
>> diff --git a/Makefile.am b/Makefile.am
>> index b79d2dd..c907ff1 100644
>> --- a/Makefile.am
>> +++ b/Makefile.am
>> @@ -4,11 +4,14 @@ SUBDIRS = . include snprintf libringbuffer
>> liblttng-ust-comm \
>> liblttng-ust \
>> liblttng-ust-ctl \
>> liblttng-ust-fork \
>> - liblttng-ust-dl \
>> liblttng-ust-libc-wrapper \
>> liblttng-ust-cyg-profile \
>> tools
>>
>> +if HAVE_DLINFO
>> +SUBDIRS += liblttng-ust-dl
>> +endif
>> +
>> if BUILD_JNI_INTERFACE
>> SUBDIRS += liblttng-ust-java liblttng-ust-jul
>> endif
>> diff --git a/configure.ac b/configure.ac
>> index b04d4e3..de6300e 100644
>> --- a/configure.ac
>> +++ b/configure.ac
>> @@ -146,6 +146,9 @@ AC_C_INLINE
>> AC_FUNC_MALLOC
>> AC_CHECK_FUNCS([gettimeofday munmap socket strerror strtol sched_getcpu
>> sysconf])
>>
>> +AC_CHECK_FUNCS([dlinfo])
>> +AM_CONDITIONAL([HAVE_DLINFO], [test "${ac_cv_func_dlinfo}" = "yes"])
>> +
>> CFLAGS="-Wall $CFLAGS"
>>
>> # URCU
>> --
>> 1.9.0
>>
>>
>> _______________________________________________
>> lttng-dev mailing list
>> lttng-dev at lists.lttng.org
>> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>>
WARNING: multiple messages have this Message-ID (diff)
From: Romain Naour <romain.naour-oid7hba3+9NWj0EZb7rXcA@public.gmane.org>
To: Mathieu Desnoyers
<mathieu.desnoyers-vg+e7yoeK/dWk0Htik3J/w@public.gmane.org>
Cc: buildroot <buildroot-9GAsQqxh4YTR7s880joybQ@public.gmane.org>,
lttng-dev-bnB2LGs2QVJ+nrgayQ7rhA@public.gmane.org,
"Yann E. MORIN" <yann.morin.1998-GANU6spQydw@public.gmane.org>
Subject: Re: [lttng-dev] [PATCH 1/1] Disable liblttng-ust-dl if dlinfo is not available in C library.
Date: Mon, 07 Apr 2014 22:46:10 +0200 [thread overview]
Message-ID: <53430E92.9060401@openwide.fr> (raw)
In-Reply-To: <794709247.8287.1396903345152.JavaMail.zimbra-vg+e7yoeK/dWk0Htik3J/w@public.gmane.org>
Hi Mathieu,
Le 07/04/2014 22:42, Mathieu Desnoyers a écrit :
> Merged into master and stable-2.4, thanks!
>
> Mathieu
You're welcome.
Best regards,
Romain Naour
>
> ----- Original Message -----
>> From: "Romain Naour" <romain.naour@openwide.fr>
>> To: lttng-dev@lists.lttng.org
>> Cc: "Romain Naour" <romain.naour@openwide.fr>
>> Sent: Sunday, April 6, 2014 5:02:41 PM
>> Subject: [lttng-dev] [PATCH 1/1] Disable liblttng-ust-dl if dlinfo is not available in C library.
>>
>> According to uClibc commit [1], dlinfo is not available.
>> To be able to use LTTng UST with uClibc, we need to disable
>> the Dynamic Linker Tracing functionality [2].
>>
>> [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>
>> ---
>> Makefile.am | 5 ++++-
>> configure.ac | 3 +++
>> 2 files changed, 7 insertions(+), 1 deletion(-)
>>
>> diff --git a/Makefile.am b/Makefile.am
>> index b79d2dd..c907ff1 100644
>> --- a/Makefile.am
>> +++ b/Makefile.am
>> @@ -4,11 +4,14 @@ SUBDIRS = . include snprintf libringbuffer
>> liblttng-ust-comm \
>> liblttng-ust \
>> liblttng-ust-ctl \
>> liblttng-ust-fork \
>> - liblttng-ust-dl \
>> liblttng-ust-libc-wrapper \
>> liblttng-ust-cyg-profile \
>> tools
>>
>> +if HAVE_DLINFO
>> +SUBDIRS += liblttng-ust-dl
>> +endif
>> +
>> if BUILD_JNI_INTERFACE
>> SUBDIRS += liblttng-ust-java liblttng-ust-jul
>> endif
>> diff --git a/configure.ac b/configure.ac
>> index b04d4e3..de6300e 100644
>> --- a/configure.ac
>> +++ b/configure.ac
>> @@ -146,6 +146,9 @@ AC_C_INLINE
>> AC_FUNC_MALLOC
>> AC_CHECK_FUNCS([gettimeofday munmap socket strerror strtol sched_getcpu
>> sysconf])
>>
>> +AC_CHECK_FUNCS([dlinfo])
>> +AM_CONDITIONAL([HAVE_DLINFO], [test "${ac_cv_func_dlinfo}" = "yes"])
>> +
>> CFLAGS="-Wall $CFLAGS"
>>
>> # URCU
>> --
>> 1.9.0
>>
>>
>> _______________________________________________
>> lttng-dev mailing list
>> lttng-dev@lists.lttng.org
>> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>>
_______________________________________________
buildroot mailing list
buildroot@busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
next prev parent reply other threads:[~2014-04-07 20:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1396818161-20204-1-git-send-email-romain.naour@openwide.fr>
2014-04-07 20:42 ` [PATCH 1/1] Disable liblttng-ust-dl if dlinfo is not available in C library Mathieu Desnoyers
[not found] ` <794709247.8287.1396903345152.JavaMail.zimbra@efficios.com>
2014-04-07 20:46 ` Romain Naour [this message]
2014-04-07 20:46 ` [lttng-dev] " Romain Naour
2014-04-08 17:03 ` Simon Marchi
[not found] ` <CAFXXi0kAZJDD7ygqs493ZPvJHMpkeuMTDvxHqMg9B722pJHHxQ@mail.gmail.com>
2014-04-08 17:24 ` [Buildroot] [lttng-dev] " Yann E. MORIN
2014-04-08 17:24 ` Yann E. MORIN
2014-04-08 23:20 ` [Buildroot] " Romain Naour
2014-04-08 23:20 ` Romain Naour
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53430E92.9060401@openwide.fr \
--to=romain.naour@openwide.fr \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.