* [oe] [meta-oe] [PATCH] uftrace: Fix error on aarch64 when binutils update to 2.35.1
@ 2021-04-15 6:10 wangmy
2021-04-15 6:32 ` Khem Raj
0 siblings, 1 reply; 3+ messages in thread
From: wangmy @ 2021-04-15 6:10 UTC (permalink / raw)
To: openembedded-devel; +Cc: Wang Mingyu
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
---
...error-on-aarch64-with-binutils2.35.1.patch | 27 +++++++++++++++++++
.../recipes-devtools/uftrace/uftrace_0.9.4.bb | 1 +
2 files changed, 28 insertions(+)
create mode 100644 meta-oe/recipes-devtools/uftrace/uftrace/0001-Fix-error-on-aarch64-with-binutils2.35.1.patch
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"
--
2.25.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [oe] [meta-oe] [PATCH] uftrace: Fix error on aarch64 when binutils update to 2.35.1
2021-04-15 6:10 [oe] [meta-oe] [PATCH] uftrace: Fix error on aarch64 when binutils update to 2.35.1 wangmy
@ 2021-04-15 6:32 ` Khem Raj
2021-04-15 8:16 ` wangmy
0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2021-04-15 6:32 UTC (permalink / raw)
To: wangmy; +Cc: openembeded-devel
On Wed, Apr 14, 2021 at 11:10 PM wangmy <wangmy@fujitsu.com> wrote:
>
> Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
> ---
> ...error-on-aarch64-with-binutils2.35.1.patch | 27 +++++++++++++++++++
> .../recipes-devtools/uftrace/uftrace_0.9.4.bb | 1 +
> 2 files changed, 28 insertions(+)
> create mode 100644 meta-oe/recipes-devtools/uftrace/uftrace/0001-Fix-error-on-aarch64-with-binutils2.35.1.patch
>
> 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
> +
please submit this upstream if not yet done. this patch can avail some
more eyes.
> +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"
>
> --
> 2.25.1
>
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [oe] [meta-oe] [PATCH] uftrace: Fix error on aarch64 when binutils update to 2.35.1
2021-04-15 6:32 ` Khem Raj
@ 2021-04-15 8:16 ` wangmy
0 siblings, 0 replies; 3+ messages in thread
From: wangmy @ 2021-04-15 8:16 UTC (permalink / raw)
To: Khem Raj; +Cc: openembeded-devel
It has been submitted to upstream.
--
Best Regards
---------------------------------------------------
Wang Mingyu
Development Dept.I
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST) No. 6 Wenzhu Road, Nanjing, 210012, China
TEL: +86+25-86630566-8568
COINS: 79988548
FAX: +86+25-83317685
MAIL: wangmy@fujitsu.com
http://www.fujitsu.com/cn/fnst/
> -----Original Message-----
> From: Khem Raj <raj.khem@gmail.com>
> Sent: Thursday, April 15, 2021 2:33 PM
> To: Wang, Mingyu/王 鸣瑜 <wangmy@fujitsu.com>
> Cc: openembeded-devel <openembedded-devel@lists.openembedded.org>
> Subject: Re: [oe] [meta-oe] [PATCH] uftrace: Fix error on aarch64 when binutils
> update to 2.35.1
>
> On Wed, Apr 14, 2021 at 11:10 PM wangmy <wangmy@fujitsu.com> wrote:
> >
> > Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
> > ---
> > ...error-on-aarch64-with-binutils2.35.1.patch | 27
> > +++++++++++++++++++ .../recipes-devtools/uftrace/uftrace_0.9.4.bb |
> > 1 +
> > 2 files changed, 28 insertions(+)
> > create mode 100644
> > meta-oe/recipes-devtools/uftrace/uftrace/0001-Fix-error-on-aarch64-wit
> > h-binutils2.35.1.patch
> >
> > diff --git
> > a/meta-oe/recipes-devtools/uftrace/uftrace/0001-Fix-error-on-aarch64-w
> > ith-binutils2.35.1.patch
> > b/meta-oe/recipes-devtools/uftrace/uftrace/0001-Fix-error-on-aarch64-w
> > ith-binutils2.35.1.patch
> > new file mode 100644
> > index 0000000000..ac17cf433f
> > --- /dev/null
> > +++ b/meta-oe/recipes-devtools/uftrace/uftrace/0001-Fix-error-on-aarch
> > +++ 64-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
> > +
>
> please submit this upstream if not yet done. this patch can avail some more
> eyes.
>
> > +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"
> >
> > --
> > 2.25.1
> >
> >
> >
> >
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-04-15 8:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-15 6:10 [oe] [meta-oe] [PATCH] uftrace: Fix error on aarch64 when binutils update to 2.35.1 wangmy
2021-04-15 6:32 ` Khem Raj
2021-04-15 8:16 ` wangmy
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.