[oe] [PATCH] binutils: update SRCREV to fix powerpc gold link bug

Khem Raj raj.khem at gmail.com
Wed Jun 28 03:50:50 UTC 2017


On Tue, Jun 27, 2017 at 6:30 PM Randy MacLeod <Randy.MacLeod at windriver.com>
wrote:

> 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]
>
> Signed-off-by: Randy MacLeod <Randy.MacLeod at windriver.com>
> ---
>  meta/recipes-devtools/binutils/binutils-2.28.inc | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-devtools/binutils/binutils-2.28.inc
> b/meta/recipes-devtools/binutils/binutils-2.28.inc
> index 47bfa1a..52f5d92 100644
> --- a/meta/recipes-devtools/binutils/binutils-2.28.inc
> +++ b/meta/recipes-devtools/binutils/binutils-2.28.inc
> @@ -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

>
> +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
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>



More information about the Openembedded-devel mailing list