diff options
author | wangmy <wangmy@fujitsu.com> | 2021-04-15 14:10:26 +0800 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2021-04-17 06:47:18 -0700 |
commit | 5bd3bf081d721668ee75b39fe7c087c2318a9e03 (patch) | |
tree | cea56660c22fef570a01118215b7e18150e6440c | |
parent | a9eace646c639ee1020925c3e0c5645230341ec1 (diff) | |
download | meta-openembedded-5bd3bf081d721668ee75b39fe7c087c2318a9e03.tar.gz |
uftrace: Fix error on aarch64 when binutils update to 2.35.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit e1c894d6876c439e362e761176b09f863ee2c689)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | meta-oe/recipes-devtools/uftrace/uftrace/0001-Fix-error-on-aarch64-with-binutils2.35.1.patch | 27 | ||||
-rw-r--r-- | meta-oe/recipes-devtools/uftrace/uftrace_0.9.4.bb | 1 |
2 files changed, 28 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/uftrace/uftrace/0001-Fix-error-on-aarch64-with-binutils2.35.1.patch b/meta-oe/recipes-devtools/uftrace/uftrace/0001-Fix-error-on-aarch64-with-binutils2.35.1.patch new file mode 100644 index 0000000000..ac17cf433f --- /dev/null +++ b/meta-oe/recipes-devtools/uftrace/uftrace/0001-Fix-error-on-aarch64-with-binutils2.35.1.patch @@ -0,0 +1,27 @@ +From 0bc502989822506af308a559ac1cd52af82cac03 Mon Sep 17 00:00:00 2001 +From: Lei Maohui <leimaohui@cn.fujitsu.com> +Date: Wed, 14 Apr 2021 09:35:35 +0900 +Subject: [PATCH] Fix error on aarch64 with binutils2.35.1. + +WARN: child terminated by signal: 11: Segmentation fault + +Upstream-status: Pending + +Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> +--- + arch/aarch64/mcount-arch.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/arch/aarch64/mcount-arch.h b/arch/aarch64/mcount-arch.h +index 69efe521..60c2c1ba 100644 +--- a/arch/aarch64/mcount-arch.h ++++ b/arch/aarch64/mcount-arch.h +@@ -31,7 +31,7 @@ struct mcount_arch_context { + double d[ARCH_MAX_FLOAT_REGS]; + }; + +-#define ARCH_PLT0_SIZE 32 ++#define ARCH_PLT0_SIZE 16 + #define ARCH_PLTHOOK_ADDR_OFFSET 0 + + struct mcount_disasm_engine; diff --git a/meta-oe/recipes-devtools/uftrace/uftrace_0.9.4.bb b/meta-oe/recipes-devtools/uftrace/uftrace_0.9.4.bb index a3d0602182..4b4fc831c3 100644 --- a/meta-oe/recipes-devtools/uftrace/uftrace_0.9.4.bb +++ b/meta-oe/recipes-devtools/uftrace/uftrace_0.9.4.bb @@ -13,6 +13,7 @@ inherit autotools PV .= "+git${SRCPV}" SRCREV = "d648bbffedef529220896283fb59e35531c13804" SRC_URI = "git://github.com/namhyung/${BPN} \ + file://0001-Fix-error-on-aarch64-with-binutils2.35.1.patch \ " S = "${WORKDIR}/git" |