[patch] Build failure in getchar.c

Paul Brook paul at codesourcery.com
Thu Dec 21 14:13:09 UTC 2006


On Thursday 21 December 2006 08:33, Bernhard Fischer wrote:
> On Tue, Dec 19, 2006 at 10:09:30PM +0000, Paul Brook wrote:
> >When building an arm-uclinux toolchain withthreading disabled I get:
>
> So why isn't the def in the #ifndef __UCLIBC_HAS_THREADS__ then ?

Presumably it's a latent bug on threaded setups. Any internal libc uses of 
getchar_unlocked would trigger it.
The documentation for the libc_ macros (in include/libc-symbols.h) says that 
functions prototyped with libc_hidden_proto should have libc_hidden_def after 
their definition.

Paul



More information about the uClibc mailing list