]> code.ossystems Code Review - openembedded-core.git/commit
binutils: advance SRCREV to obtain versioned symbols
authorReinette Chatre <reinette.chatre@intel.com>
Mon, 5 Sep 2016 05:39:35 +0000 (22:39 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 23 Sep 2016 14:26:08 +0000 (15:26 +0100)
commit2d35281de8eeeb23343478aa2c87ea0f2aa7ba06
tree3f9310eac94db996c231a4177e1e27dee3f2be1a
parent696dd4607766a07fcdbb7e6bfc07f3b815bc9d5c
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

Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-devtools/binutils/binutils-2.26.inc