From dda59ddc1c123b8bcfcbc76a41cedf7bb9bf0490 Mon Sep 17 00:00:00 2001 From: Jussi Kukkonen Date: Wed, 4 May 2016 12:49:28 +0300 Subject: sysprof: Upgrade to git version slightly past 3.20 New version uses Gtk+3. 3.20 release requires a bunch of fixes to build without polkit, this git revision inclues those fixes. * Add patch to use proper U64_TO_POINTER macro to fix build on 32 bit platforms. * Forward port memory barrier patches for arm & mips * sysprof builds with loads of warnings and git builds also use -Werror: avoid that by setting "--enable-compile-warnings" (From OE-Core rev: ab2d5e397d30999929108c9d929767205fee9db4) Signed-off-by: Jussi Kukkonen Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- .../files/0001-callgraph-Use-U64_TO_POINTER.patch | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 meta/recipes-kernel/sysprof/files/0001-callgraph-Use-U64_TO_POINTER.patch (limited to 'meta/recipes-kernel/sysprof/files/0001-callgraph-Use-U64_TO_POINTER.patch') diff --git a/meta/recipes-kernel/sysprof/files/0001-callgraph-Use-U64_TO_POINTER.patch b/meta/recipes-kernel/sysprof/files/0001-callgraph-Use-U64_TO_POINTER.patch new file mode 100644 index 0000000000..ac1384c9b0 --- /dev/null +++ b/meta/recipes-kernel/sysprof/files/0001-callgraph-Use-U64_TO_POINTER.patch @@ -0,0 +1,29 @@ +From 05816e6f9cd65b2624bb04de65fdf61031c7017f Mon Sep 17 00:00:00 2001 +From: Jussi Kukkonen +Date: Fri, 10 Jun 2016 14:01:54 +0300 +Subject: [PATCH] callgraph: Use U64_TO_POINTER + +This fixes a "cast to pointer from integer of different size" on i586. + +Signed-off-by: Jussi Kukkonen +Upstream-Status: Pending +--- + lib/sp-callgraph-view.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/sp-callgraph-view.c b/lib/sp-callgraph-view.c +index 02cc17b..58315b0 100644 +--- a/lib/sp-callgraph-view.c ++++ b/lib/sp-callgraph-view.c +@@ -135,7 +135,7 @@ build_functions_store (StackNode *node, + + gtk_list_store_append (state->store, &iter); + gtk_list_store_set (state->store, &iter, +- COLUMN_NAME, (const gchar *)node->data, ++ COLUMN_NAME, U64_TO_POINTER(node->data), + COLUMN_SELF, 100.0 * size / state->profile_size, + COLUMN_TOTAL, 100.0 * total / state->profile_size, + COLUMN_POINTER, node, +-- +2.1.4 + -- cgit v1.2.3-54-g00ecf