[PATCH] Alpha hwcaps
Andreas Jaeger
aj@suse.de
Mon Mar 1 05:44:00 GMT 2004
Falk Hueffner <falk.hueffner@student.uni-tuebingen.de> writes:
> Falk Hueffner <falk.hueffner@student.uni-tuebingen.de> writes:
>
>> You mean like this?
>
> Grr, dl-sysdep.c gets picked up from elsewhere. Next try.
>
> It seems the additional paths are only checked when explicitely
> stating a library path:
>
> /# LD_LIBRARY_PATH=/lib strace true execve("/bin/true", ["true"], [/* 27 vars */]) = 0 uname({sys="Linux", node="juist", ...}) = 0
> brk(0) = 0x120014000
> open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
> open("/lib/ev68/libc.so.6.1", O_RDONLY) = -1 ENOENT (No such file or directory)
> stat("/lib/ev68", 0x11fffedf0) = -1 ENOENT (No such file or directory)
> open("/lib/ev67/libc.so.6.1", O_RDONLY) = 3
> [...]
>
> # strace true
> execve("/bin/true", ["true"], [/* 26 vars */]) = 0
> uname({sys="Linux", node="juist", ...}) = 0
> brk(0) = 0x120014000
> open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
> open("/etc/ld.so.cache", O_RDONLY) = 3
> fstat(3, {st_mode=S_IFREG|0644, st_size=6116, ...}) = 0
> mmap(NULL, 6116, PROT_READ, MAP_PRIVATE, 3, 0) = 0x20000018000
> close(3) = 0
> access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
> open("/lib/libc.so.6.1", O_RDONLY) = 3
> [...]
>
> Seems /etc/ld.so.cache won't pick up these directories. Rerunning
> ldconfig doesn't help. Any hints?
That should be done via dl-procinfo.h,
Andreas
--
Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
SuSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20040301/d0733d66/attachment.sig>
More information about the Libc-alpha
mailing list