[uclibc-ng-devel] uClibc-ng - small C library for embedded systems branch master updated. v1.0.13-5-g06e4fe6

wbx wbx at helium.waldemar-brodkorb.de
Mon Apr 4 00:14:37 CEST 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "uClibc-ng - small C library for embedded systems".

The branch, master has been updated
       via  06e4fe64bbd01f16ee84da161b8e1a61e73b4cdb (commit)
      from  6e26587d1734d8071b6132fa9a4a6dc5110e4279 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 06e4fe64bbd01f16ee84da161b8e1a61e73b4cdb
Author: Alexey Neyman <aneyman at lynx.com>
Date:   Thu Mar 31 13:02:47 2016 -0700

    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 at att.net>

-----------------------------------------------------------------------

Summary of changes:
 libc/misc/gnu/obstack.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libc/misc/gnu/obstack.c b/libc/misc/gnu/obstack.c
index 38cfd83..6acc567 100644
--- a/libc/misc/gnu/obstack.c
+++ b/libc/misc/gnu/obstack.c
@@ -385,11 +385,9 @@ obstack_free (struct obstack *h, void *obj)
     abort ();
 }
 
-# if 0
 /* Older versions of libc used a function _obstack_free intended to be
    called by non-GCC compilers.  */
 strong_alias (obstack_free, _obstack_free)
-# endif
 
 int
 _obstack_memory_used (struct obstack *h)


hooks/post-receive
-- 
uClibc-ng - small C library for embedded systems


More information about the devel mailing list