diff options
author | wangmy <wangmy@fujitsu.com> | 2021-04-15 14:10:26 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-04-15 09:28:44 -0700 |
commit | e1c894d6876c439e362e761176b09f863ee2c689 (patch) | |
tree | b180923888ef425586ce3dba18e3458e7428f4c8 /meta-oe/recipes-devtools/uftrace | |
parent | 342b6b047504e4efa12d29c5f1956aa9d67a43e5 (diff) | |
download | meta-openembedded-e1c894d6876c439e362e761176b09f863ee2c689.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>
Diffstat (limited to 'meta-oe/recipes-devtools/uftrace')
-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 000000000..ac17cf433 --- /dev/null +++ b/meta-oe/recipes-devtools/uftrace/uftrace/0001-Fix-error-on-aarch64-with-binutils2.35.1.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From 0bc502989822506af308a559ac1cd52af82cac03 Mon Sep 17 00:00:00 2001 | ||
2 | From: Lei Maohui <leimaohui@cn.fujitsu.com> | ||
3 | Date: Wed, 14 Apr 2021 09:35:35 +0900 | ||
4 | Subject: [PATCH] Fix error on aarch64 with binutils2.35.1. | ||
5 | |||
6 | WARN: child terminated by signal: 11: Segmentation fault | ||
7 | |||
8 | Upstream-status: Pending | ||
9 | |||
10 | Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> | ||
11 | --- | ||
12 | arch/aarch64/mcount-arch.h | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/arch/aarch64/mcount-arch.h b/arch/aarch64/mcount-arch.h | ||
16 | index 69efe521..60c2c1ba 100644 | ||
17 | --- a/arch/aarch64/mcount-arch.h | ||
18 | +++ b/arch/aarch64/mcount-arch.h | ||
19 | @@ -31,7 +31,7 @@ struct mcount_arch_context { | ||
20 | double d[ARCH_MAX_FLOAT_REGS]; | ||
21 | }; | ||
22 | |||
23 | -#define ARCH_PLT0_SIZE 32 | ||
24 | +#define ARCH_PLT0_SIZE 16 | ||
25 | #define ARCH_PLTHOOK_ADDR_OFFSET 0 | ||
26 | |||
27 | 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 a3d060218..4b4fc831c 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 | |||
13 | PV .= "+git${SRCPV}" | 13 | PV .= "+git${SRCPV}" |
14 | SRCREV = "d648bbffedef529220896283fb59e35531c13804" | 14 | SRCREV = "d648bbffedef529220896283fb59e35531c13804" |
15 | SRC_URI = "git://github.com/namhyung/${BPN} \ | 15 | SRC_URI = "git://github.com/namhyung/${BPN} \ |
16 | file://0001-Fix-error-on-aarch64-with-binutils2.35.1.patch \ | ||
16 | " | 17 | " |
17 | S = "${WORKDIR}/git" | 18 | S = "${WORKDIR}/git" |
18 | 19 | ||