[uClibc] USE_CACHE issues (was: ldconfig troubles (but comes with fixes!))

Mike Frysinger vapier at gentoo.org
Mon Aug 9 15:54:03 UTC 2004


On Friday 06 August 2004 11:39 am, Mike Frysinger wrote:
> next up, i found that i wasnt getting an /etc/ld.so.cache file when i ran
> `ldconfig` ... looking at the code, USE_CACHE needs to be defined ...
> Rules.mak has a line that reads LIBRARY_CACHE:=#-DUSE_CACHE by default, but
> then LIBRARY_CACHE is never used anywhere :)
> so the fix here is to add $(LIBRARY_CACHE) to the lines in utils/Makefile
> where the .c files are compiled

hmm it seems ldso also utilizes USE_CACHE in the code (but LIBRARY_CACHE never 
propogates down to the Makefiles)

so the fix is to add $(LIBRARY_CACHE) while setting $(XXFLAGS)
-mike



More information about the uClibc mailing list