Re: [PATCH] ARC: Add GNU glob to ARC defconfigs

Rich Felker <[email protected]>
Newsgroups gmane.comp.lib.uclibc.general
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.