]> code.ossystems Code Review - openembedded-core.git/commit
glibc: Fix scope resolution in glibc to be breadth first.
authorMark Hatle <mark.hatle@windriver.com>
Sat, 20 Aug 2016 01:44:54 +0000 (20:44 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 23 Aug 2016 16:44:05 +0000 (17:44 +0100)
commitfb72263eaa94e64ddeee457b5b1bc999f0e647da
tree0552e9029ac2107b2f40005416a328f15fb6f8da
parentb2a4e07390834fa41fe35d1124ac2a0cd6692524
glibc: Fix scope resolution in glibc to be breadth first.

The ELF specification indicates symbol resolution should be breadth first, not
depth first.

The dl-deps.c: dl_build_locale_scope function is processing in a depth first
mode.  This is causes certain symbols to be incorrectly reported when
LD_TRACE_PRELINKING=1 is enabled.

See glibc BZ #20488 for more information.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/glibc/glibc/0026-build_local_scope.patch [new file with mode: 0644]
meta/recipes-core/glibc/glibc_2.24.bb