mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
lttng-tools: fix for x32
(From OE-Core rev: af0203f1543e444d4c9397c6b400ba627baf9574) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
c148c3639d
commit
00e354910b
@@ -0,0 +1,16 @@
|
|||||||
|
Fix build for x32
|
||||||
|
|
||||||
|
Upstream-Status: Pending
|
||||||
|
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
|
||||||
|
|
||||||
|
--- lttng-tools-2.6.0/src/bin/lttng/utils.c~ 2015-01-26 18:17:15.000000000 +0100
|
||||||
|
+++ lttng-tools-2.6.0/src/bin/lttng/utils.c 2015-07-30 19:45:25.632045712 +0200
|
||||||
|
@@ -130,7 +130,7 @@
|
||||||
|
#define HAS_FLS_U32
|
||||||
|
#endif
|
||||||
|
|
||||||
|
-#if defined(__x86_64)
|
||||||
|
+#if defined(__x86_64) && !defined(__ILP32__)
|
||||||
|
static inline
|
||||||
|
unsigned int fls_u64(uint64_t x)
|
||||||
|
{
|
||||||
@@ -31,6 +31,7 @@ PACKAGECONFIG_remove_libc-musl = "lttng-ust"
|
|||||||
|
|
||||||
SRC_URI = "git://git.lttng.org/lttng-tools.git;branch=stable-2.8 \
|
SRC_URI = "git://git.lttng.org/lttng-tools.git;branch=stable-2.8 \
|
||||||
file://0001-Fix-error.h-common-error.h.patch \
|
file://0001-Fix-error.h-common-error.h.patch \
|
||||||
|
file://x32.patch \
|
||||||
file://run-ptest"
|
file://run-ptest"
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|||||||
Reference in New Issue
Block a user