summaryrefslogtreecommitdiff
path: root/utils
AgeCommit message (Collapse)Author
2004-10-06Puts common defines into dl-defs.h (in ldso/include) from dl-elf.h andJoakim Tjernlund
dl-cache.h and make use of it. Also disables the lib-path-redundancy check for the case the cache is not used. Makes use of _PRELOAD_FILE_SUPPORT. From Peter Mazinger.
2004-10-05Peter S. Mazinger writes:Joakim Tjernlund
Hello! The attached patches remove unneeded -D<somedefine>, and uses instead #ifdef __somedefine__
2004-10-03This patch from Mike Frysinger, extended from an earlier patch from Peter S.Eric Andersen
Mazinger implements the changes suggested by me on the uclibc list. On Tuesday 28 September 2004 02:24 pm, Erik Andersen wrote: > What I think should be done is > > *) Someone that cares about USE_CACHE should fix that option > up to be sure it works, and give it a proper config entry > in extra/Configs/Config.in, and rename it to something > more appropriate such as LDSO_CACHE_SUPPORT. > > *) When LDSO_CACHE_SUPPORT=n, UCLIBC_RUNTIME_PREFIX /usr/X11R6/lib > should be included in the default library search path in > dl-elf.c, ldd, and ldconfig. > > *) When LDSO_CACHE_SUPPORT=y, UCLIBC_RUNTIME_PREFIX /usr/X11R6/lib > should be excluded from the default library search path in > dl-elf.c, ldd, and ldconfig, and those wishing to include > X11 stuff should add that into /etc/ld.so.conf and re-run > ldconfig. > > *) At present, LDSO_CONF and LDSO_CACHE use the same names > and same structure as glibc. This precludes > LDSO_CACHE_SUPPORT being uses in any sane fashion on a > dial glibc and uClibc system. Just as it was necessary > for use to use a different name for 'libuClibc' rather > than 'libc', and 'ld-uClibc.so.0' rather than > 'ld-linux.so.2' it seems that these configuration files > really ought to be given different names. >
2004-09-28Oops, typo.Joakim Tjernlund
Thanks to Peter Kjellerstedt.
2004-09-28Remove /usr/X11R6/lib from search path.Joakim Tjernlund
Search in UCLIBC_RUNTIME_PREFIX"lib" before UCLIBC_RUNTIME_PREFIX"usr/lib". X11 users should enable USE_CACHE in Rules.mak, add /usr/X11R6/lib to /etc/ld.so.conf and run ldconfig.
2004-09-28Make ldd work for ET_DYN executables. From Peter Mazinger.Joakim Tjernlund
2004-09-27Remove /usr/X11R6/lib from default list.Joakim Tjernlund
Move /lib and /usr/lib first in ld.so.cache. Ignore duplicate /lib and /usr/lib in ld.so.conf
2004-08-10Mike Frysinger writes:Joakim Tjernlund
while playing around with Gentoo on uClibc, i hit some troubles with ldconfig first, i found that it kept trying to read 'etc/ld.so.conf' ... it didnt want to read '/etc/ld.so.conf' ... looking at the source, the default conf file is defined as UCLIBC_RUNTIME_PREFIX "etc/ld.so.conf" ... all fine and dandy, but the utils/Makefile builds the .c files with this: -DUCLIBC_RUNTIME_PREFIX=$(R_PREFIX) i couldnt find where R_PREFIX was defined/used anywhere else, but i did find that every other time UCLIBC_RUNTIME_PREFIX was defined, it was set like: -DUCLIBC_RUNTIME_PREFIX=\"$(RUNTIME_PREFIX)\" changing the utils/Makefile to be like this fixed things for me 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 perhaps a suggestion then ? in my mind it makes sense to utilize a cache file when running uclibc native but perhaps not while cross compiling ... so perhaps add LIBRARY_CACHE:=-DUSE_CACHE to the section in Rules.mak where LDSO is set to the uclibc linker (i.e. native) but set LIBRARY_CACHE:=#-DUSE_CACHE where LDSO is the $(SYSTEM_LDSO) (i.e. cross compiling) Applied with minor fixes.
2004-03-18Look in /usr/X11R6/lib as wellEric Andersen
2004-03-08Fix commentEric Andersen
2004-02-13Yet more fixups..Eric Andersen
2004-02-13Done free path if it equals not_foundEric Andersen
Remember to flose an fopened file
2004-02-13Another little touch up to avoid problems...Eric Andersen
2004-02-13A better fix...Eric Andersen
2004-02-13Fix the annoying "not a dynamic executable" problem when running lddEric Andersen
on libuClibc
2004-02-13Cleanup whitespace and formattingEric Andersen
2004-02-13Avoid potential double free when locate_library_file() is usedEric Andersen
on fully resolved names
2004-02-10Fixup header file namingEric Andersen
2004-02-10clean trailing whitespaceEric Andersen
2004-02-01The code for checking the rpath was not finding the rpathEric Andersen
value correctly, since it forgot to lookup the correct value in the string table.
2004-01-21ignore host binariesEric Andersen
2004-01-20Erik is an idiotEric Andersen
2004-01-20support building the uClibc utils for the host system...Eric Andersen
2003-12-14Link ldconfig with the appropriate libraries.Manuel Novoa III
2003-12-04Building of iconv.o was accidently always disabled.Manuel Novoa III
Also, build the iconv app in utils.
2003-12-03Paul Mundt <lethal@linux-sh.org> writes:Eric Andersen
Nothing overly interesting here, this renames Hitachi/Mitsubishi to Renesas for the relevant platforms (in this case, h8, sh, and m32r). The same changes have already been going on in gcc/binutils/gdb/glibc/etc.
2003-12-03Rob McMullen writes:Eric Andersen
There is code in ldconfig that checks to see if a shared library is named either ``lib*'' or ``ld-*'' before ldconfig -l will work on it. gawk uses this feature of ldconfig to make /lib/rcscripts/filefuncs.so, so the build fails.
2003-12-02Include Rules.mk for consistency. Trying not to was simply too painful.Manuel Novoa III
2003-11-24Don't bother checking, since we want an error if -msoft-float doesn't work.Manuel Novoa III
2003-11-23Ok.. this fixes the buildroot soft-float arm build.Manuel Novoa III
Also try to make sure the build breaks if we want soft float but don't know how to request it.
2003-11-23Hopefully this is correct for cris.Manuel Novoa III
2003-11-23Protect against quoting changes.Manuel Novoa III
2003-11-22Fix arm detection for libfloat.Manuel Novoa III
2003-11-12Fix a stupid potential segfaultEric Andersen
2003-11-07Sigh. I forgot to define INSTALL which, understandable,Eric Andersen
broke the install target
2003-11-07It is remotely possible the utils might even compile this timeEric Andersen
around...
2003-11-06Begin converting the client utilsEric Andersen