diff options
author | Alexey Neyman <aneyman@lynx.com> | 2016-03-31 13:02:47 -0700 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-04-03 13:02:08 +0200 |
commit | 06e4fe64bbd01f16ee84da161b8e1a61e73b4cdb (patch) | |
tree | 4f08a2b37f8e7db1e3c13f1c7cd3f1e1adfc6902 /libc/sysdeps/linux/common-generic | |
parent | 6e26587d1734d8071b6132fa9a4a6dc5110e4279 (diff) |
Provide an alias to _obstack_free
GDB 7.11 does not build if compiled against uclibc-ng (1.0.12 was used,
but the problematic code exists in 1.0.13 as well). The reason is that
GDB release includes its own obstack implementation, but elides the code
if <gnu-versions.h> declares a compatible obstack implementation in
libc. uclibc-ng does claim compatible obstack interface (GDB expects
version 2, but accepts version 1 if sizeof(int) == sizeof(size_t)),
however, uclibc-ng does not provide the _obstack_free symbol that is a
part of the interface (glibc does provide this symbol). This later
causes a link failure.
The attached patch makes uclibc-ng enables an alias _obstack_free ->
obstack_free.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'libc/sysdeps/linux/common-generic')
0 files changed, 0 insertions, 0 deletions