More missing symbols.

Denys Vlasenko vda.linux at googlemail.com
Sat Nov 29 20:42:53 UTC 2008


On Thursday 27 November 2008 10:44, Tobias Poschwatta wrote:
> Hi,
> 
> fputc_unlocked is gone. Is this another 'libc_hidden_proto' loss?
> 
> I did a diff of readelf -s output of my working libuClibc.so against
> trunk and found that even more symbols are gone:
> 
> < __C_ctype_b_data
> < __libc_fstatfs
> < __libc_statfs
> < _stdio_openlist_dec_use

IIRC these should not be visible, they are not supposed
to be used by anything outside of libc code.

> < fputc_unlocked

This one carries this comment:

/* exposing these would be fundamentally *wrong*! fix you, instead! */
/* libc_hidden_proto(fputc_unlocked) */
strong_alias(__fputc_unlocked,fputc_unlocked)
/* exposing these would be fundamentally *wrong*! fix you, instead! */
/* libc_hidden_def(fputc_unlocked) */

> < fwprintf

This is a bug, fix seems to be:

diff -d -urpN uClibc.7/libc/stdio/fwprintf.c uClibc.8/libc/stdio/fwprintf.c
--- uClibc.7/libc/stdio/fwprintf.c      2008-11-29 16:37:52.000000000 +0100
+++ uClibc.8/libc/stdio/fwprintf.c      2008-11-29 19:57:36.000000000 +0100
@@ -22,3 +22,4 @@ int fwprintf(FILE * __restrict stream, c
 
 	return rv;
 }
+libc_hidden_def(fwprintf)


> < isascii

I think this was fixed recently (by Bernhard?)
--
vda



More information about the uClibc mailing list