From: Khem Raj <raj.khem@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 2/6] task-core-tools.bb: Exclude lttng-ust for x86_64/uclibc
Date: Wed, 20 Jul 2011 23:10:13 -0700 [thread overview]
Message-ID: <1311228617-29732-2-git-send-email-raj.khem@gmail.com> (raw)
In-Reply-To: <1311228617-29732-1-git-send-email-raj.khem@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta/recipes-core/tasks/task-core-tools.bb | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/meta/recipes-core/tasks/task-core-tools.bb b/meta/recipes-core/tasks/task-core-tools.bb
index eed4afb..b0eb7d4 100644
--- a/meta/recipes-core/tasks/task-core-tools.bb
+++ b/meta/recipes-core/tasks/task-core-tools.bb
@@ -58,6 +58,15 @@ RRECOMMENDS_task-core-tools-profile = "\
SYSTEMTAP = "systemtap"
SYSTEMTAP_libc-uclibc = ""
+# lttng-ust uses sched_getcpu() which is not there on uclibc
+# for some of the architectures it can be patched to call the
+# syscall directly but for x86_64 __NR_getcpu is a vsyscall
+# which means we can not use syscall() to call it. So we ignore
+# it for x86_64/uclibc
+
+LTTNGUST = "lttng-ust"
+LTTNGUST_libc-uclibc = ""
+
# exmap-console
# exmap-server
@@ -66,7 +75,7 @@ SYSTEMTAP_libc-uclibc = ""
# (which is required by lttng-ust) may not build on other platforms, like
# MIPS.
RDEPENDS_task-core-tools-profile_append_qemux86 = " valgrind lttng-ust ${SYSTEMTAP}"
-RDEPENDS_task-core-tools-profile_append_qemux86-64 = " lttng-ust ${SYSTEMTAP}"
+RDEPENDS_task-core-tools-profile_append_qemux86-64 = " ${LTTNGUST} ${SYSTEMTAP}"
RDEPENDS_task-core-tools-profile_append_qemuppc = " lttng-ust ${SYSTEMTAP}"
RDEPENDS_task-core-tools-profile_append_qemuarm = " lttng-ust"
--
1.7.4.1
next prev parent reply other threads:[~2011-07-21 6:14 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-21 6:10 [PATCH 1/6] mesa-xlib, mesa-dri: Probe for newlocale() before using it Khem Raj
2011-07-21 6:10 ` Khem Raj [this message]
2011-07-21 6:10 ` [PATCH 3/6] libiconv: Fix build failure on 1.13.1 Khem Raj
2011-07-21 8:12 ` Henning Heinold
2011-07-21 15:53 ` Khem Raj
2011-07-21 6:10 ` [PATCH 4/6] uclibc: Add patch header for sync_file_range2.patch Khem Raj
2011-07-21 6:10 ` [PATCH 5/6] strace: Define own sigmask macro if not defined already in signal.h Khem Raj
2011-07-21 6:10 ` [PATCH 6/6] util-linux: Replace sigsetmask with posix compliant functions Khem Raj
2011-07-22 15:26 ` [PATCH 1/6] mesa-xlib, mesa-dri: Probe for newlocale() before using it Saul Wold
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=1311228617-29732-2-git-send-email-raj.khem@gmail.com \
--to=raj.khem@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox