[PATCH] ARC: Add GNU glob to ARC defconfigs

Rich Felker dalias at libc.org
Fri Feb 13 02:04:38 UTC 2015


On Mon, Feb 09, 2015 at 02:37:11PM +0000, Anton Kolesov wrote:
> > > Anton, are you going to spin a patch to that effect ?
> > 
> > Yes.
> > Anton
> 
> It didn't worked quite well - glob implementation shipped with make
> sources makes some assumptions WRT of presence of __mempcpy,
> __alloca and __stat, which are not true for uClibc. I was able to
> avoid the problem by changing make/glob/glob.c: by adding there
> several #ifdef __UCLIBC__ (similar to the one found in
> libpthread/nptl_db/thread_dbP.h at line 32). But that means that
> patching of uclibc/include/gnu-versions.h is not sufficient on its
> own.

This does not sound plausible. GNU make works on dozens if not
hundreds of platforms which do not have the above glibc nonsense
exported. Or is it using this stuff based on uclibc's defining of the
__GLIBC__ macro?

Rich


More information about the uClibc mailing list