From 5d781f41ff29654520d177c7aab7a244751044a2 Mon Sep 17 00:00:00 2001 From: Reinette Chatre Date: Sun, 4 Sep 2016 22:39:35 -0700 Subject: binutils: advance SRCREV to obtain versioned symbols Libraries needing versioned symbols, for example mysql, are not supported by current version of binutils in krogoth. When mysql library from MariaDB is compiled with the current version of binutils we encounter errors at runtime as seen below where php linked to mysql tries to run: php: relocation error: php: symbol mysql_server_init, version libmysqlclient_16 not defined in file libmysqlclient.so.18 with link time reference Above error appears even though symbols exist in library: 245: 000000000001ecc0 0 FUNC GLOBAL DEFAULT 13 mysql_server_init@@libmysqlclient_16 279: 000000000001ecc0 297 FUNC GLOBAL DEFAULT 13 mysql_server_init@@libmysqlclient_18 The problem results from a bug in binutils that has already been fixed upstream as well as on the 2.26 and 2.27 branches. We advance the SRCREV on the 2.26 branch used in krogoth release to pick up the fix. Details about bug: https://sourceware.org/bugzilla/show_bug.cgi?id=19698 (From OE-Core rev: 2d35281de8eeeb23343478aa2c87ea0f2aa7ba06) Signed-off-by: Reinette Chatre Signed-off-by: Armin Kuster Signed-off-by: Richard Purdie --- meta/recipes-devtools/binutils/binutils-2.26.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-devtools/binutils') diff --git a/meta/recipes-devtools/binutils/binutils-2.26.inc b/meta/recipes-devtools/binutils/binutils-2.26.inc index 703eac2040..06ce245ba5 100644 --- a/meta/recipes-devtools/binutils/binutils-2.26.inc +++ b/meta/recipes-devtools/binutils/binutils-2.26.inc @@ -18,7 +18,7 @@ BINUPV = "${@binutils_branch_version(d)}" UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P\d+_(\d_?)*)" -SRCREV = "71fa566a9cf2597b60a58c1d7c148bab637454a6" +SRCREV = "544ddf9322b1b83982e5cb84a54d084ee7e718ea" SRC_URI = "\ git://sourceware.org/git/binutils-gdb.git;branch=binutils-${BINUPV}-branch;protocol=git \ file://0002-configure-widen-the-regexp-for-SH-architectures.patch \ -- cgit v1.2.3-54-g00ecf