mirror of
https://github.com/Freescale/meta-freescale-3rdparty.git
synced 2025-07-19 12:09:01 +02:00

The recipe for linux-qoriq_5.4 is moved from meta-freescale to
meta-freescale-3rdparty without required patches. Add patches to fix
building linux-qoriq_5.4.
Fixes: f05d9a0
("linux-qoriq_5.4.bb: add as removed in meta-freescale")
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
43 lines
1.4 KiB
Diff
43 lines
1.4 KiB
Diff
From cff20b3151ccab690715cb6cf0f5da5cccb32adf Mon Sep 17 00:00:00 2001
|
|
From: Arnaldo Carvalho de Melo <acme@redhat.com>
|
|
Date: Mon, 2 Mar 2020 11:13:19 -0300
|
|
Subject: [PATCH] perf tests bp_account: Make global variable static
|
|
|
|
To fix the build with newer gccs, that without this patch exit with:
|
|
|
|
LD /tmp/build/perf/tests/perf-in.o
|
|
ld: /tmp/build/perf/tests/bp_account.o:/git/perf/tools/perf/tests/bp_account.c:22: multiple definition of `the_var'; /tmp/build/perf/tests/bp_signal.o:/git/perf/tools/perf/tests/bp_signal.c:38: first defined here
|
|
make[4]: *** [/git/perf/tools/build/Makefile.build:145: /tmp/build/perf/tests/perf-in.o] Error 1
|
|
|
|
First noticed in fedora:rawhide/32 with:
|
|
|
|
[perfbuilder@a5ff49d6e6e4 ~]$ gcc --version
|
|
gcc (GCC) 10.0.1 20200216 (Red Hat 10.0.1-0.8)
|
|
|
|
Upstream-Status: Backport
|
|
|
|
Reported-by: Jiri Olsa <jolsa@kernel.org>
|
|
Cc: Adrian Hunter <adrian.hunter@intel.com>
|
|
Cc: Namhyung Kim <namhyung@kernel.org>
|
|
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
|
|
---
|
|
tools/perf/tests/bp_account.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/tools/perf/tests/bp_account.c b/tools/perf/tests/bp_account.c
|
|
index d0b935356274..489b50604cf2 100644
|
|
--- a/tools/perf/tests/bp_account.c
|
|
+++ b/tools/perf/tests/bp_account.c
|
|
@@ -19,7 +19,7 @@
|
|
#include "../perf-sys.h"
|
|
#include "cloexec.h"
|
|
|
|
-volatile long the_var;
|
|
+static volatile long the_var;
|
|
|
|
static noinline int test_function(void)
|
|
{
|
|
--
|
|
2.17.1
|
|
|