Skip to contentSkip to conversation

binutils: update SRCREV to fix powerpc gold link bug

PATCH In review Randy MacLeod 2 participants 3 messages Jun 28, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 binutils: update SRCREV to fix powerpc gold link bug

Update to the latest commit on the 2.28 branch to pick up:
a3e00a8 [GOLD] Avoid duplicate PLT stub symbols on ppc32
along with several backported bug fixes for arm*, etc.

This resolves the systemd link error for qemuppc
with the error message:
.../powerpc-oe-linux-ld.gold:
error: invalid STB_LOCAL symbol in external symbols
error: linker defined: multiple definition of '00000001.plt_call.memcpy+8000' command line: previous definition here

described in:

[YOCTO #11696]

---
 meta/recipes-devtools/binutils/binutils-2.28.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-devtools/binutils/binutils-2.28.inc +2 -1
index 47bfa1a..52f5d92 100644
@@ -18,7 +18,8 @@ BINUPV = "${@binutils_branch_version(d)}"
 
 UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P<pver>\d+_(\d_?)*)"
 
-SRCREV = "cb44d42ce6ef0c7a4eed7e2a3c272ac102166850"
+#SRCREV = "cb44d42ce6ef0c7a4eed7e2a3c272ac102166850"
+SRCREV = "7ea1464297eadebe62aae92ad9bebb33f92c2454"
 SRC_URI = "\
      git://sourceware.org/git/binutils-gdb.git;branch=binutils-${BINUPV}-branch;protocol=git \
      file://0004-Point-scripts-location-to-libdir.patch \
Signature · 1 line
2.7.4
#1 lore raw

Re: [PATCH] binutils: update SRCREV to fix powerpc gold link bug -- wrong list, ignore.

Quoted 35 lines · Randy MacLeod

Update to the latest commit on the 2.28 branch to pick up:
a3e00a8 [GOLD] Avoid duplicate PLT stub symbols on ppc32
along with several backported bug fixes for arm*, etc.

This resolves the systemd link error for qemuppc
with the error message:
.../powerpc-oe-linux-ld.gold:
error: invalid STB_LOCAL symbol in external symbols
error: linker defined: multiple definition of '00000001.plt_call.memcpy+8000' command line: previous definition here

described in:

[YOCTO #11696]

---
  meta/recipes-devtools/binutils/binutils-2.28.inc | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-devtools/binutils/binutils-2.28.inc +2 -1
index 47bfa1a..52f5d92 100644
@@ -18,7 +18,8 @@ BINUPV = "${@binutils_branch_version(d)}"
 
  UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P<pver>\d+_(\d_?)*)"
 
-SRCREV = "cb44d42ce6ef0c7a4eed7e2a3c272ac102166850"
+#SRCREV = "cb44d42ce6ef0c7a4eed7e2a3c272ac102166850"
+SRCREV = "7ea1464297eadebe62aae92ad9bebb33f92c2454"
  SRC_URI = "\
       git://sourceware.org/git/binutils-gdb.git;branch=binutils-${BINUPV}-branch;protocol=git \
       file://0004-Point-scripts-location-to-libdir.patch \
Signature · 2 lines
# Randy MacLeod. SMTS, Linux, Wind River
Direct: 613.963.1350 | 350 Terry Fox Drive, Suite 200, Ottawa, ON, Canada, K2K 2W5
#2 lore raw
In reply to Randy MacLeod
Quoted 27 lines · Randy MacLeod

Update to the latest commit on the 2.28 branch to pick up:
a3e00a8 [GOLD] Avoid duplicate PLT stub symbols on ppc32
along with several backported bug fixes for arm*, etc.

This resolves the systemd link error for qemuppc with the error message:
.../powerpc-oe-linux-ld.gold:
error: invalid STB_LOCAL symbol in external symbols
error: linker defined: multiple definition of
'00000001.plt_call.memcpy+8000'
command line: previous definition here

described in:

[YOCTO #11696]

---
 meta/recipes-devtools/binutils/binutils-2.28.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-devtools/binutils/binutils-2.28.inc +0 -0
index 47bfa1a..52f5d92 100644

meta/recipes-devtools/binutils/binutils-2.28.inc BINUPV = "${@binutils_branch_version(d)}" · line 21

Quoted 5 lines
meta/recipes-devtools/binutils/binutils-2.28.inc +1 -1
@@ -18,7 +18,8 @@ BINUPV = "${@binutils_branch_version(d)}"
 
 UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P<pver>\d+_(\d_?)*)"
 
-SRCREV = "cb44d42ce6ef0c7a4eed7e2a3c272ac102166850"
+#SRCREV = "cb44d42ce6ef0c7a4eed7e2a3c272ac102166850"

No need to comment out just replace it

Quoted 17 lines
meta/recipes-devtools/binutils/binutils-2.28.inc +1 -0
+SRCREV = "7ea1464297eadebe62aae92ad9bebb33f92c2454"
 SRC_URI = "\
      git://

sourceware.org/git/binutils-gdb.git;branch=binutils-${BINUPV}-branch;protocol=git
<http://sourceware.org/git/binutils-gdb.git;branch=binutils-$%7BBINUPV%7D-branch;protocol=git>

\
      file://0004-Point-scripts-location-to-libdir.patch \

--
2.7.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel