possible AT_PLATFORMs?
Andreas Jaeger
aj@suse.de
Fri Nov 10 03:31:00 GMT 2000
I just noticed that ldconfig doesn't handle AT_PLATFORM correctly,
e.g. on my system /lib/i686 is not checked by ldconfig - but this is
done by ld.so:
01300: search path=/lib/i686/mmx:/lib/i686:/lib/mmx:/lib:/usr/lib/i686/mmx:/usr/lib/i686:/usr/lib/mmx:/usr/lib (system search path)
01300: trying file=/lib/i686/mmx/libc.so.6
01300: trying file=/lib/i686/libc.so.6
01300: trying file=/lib/mmx/libc.so.6
01300: trying file=/lib/libc.so.6
LD_SHOW_AUXV gives you the platform:
$ LD_SHOW_AUXV=1 ls
AT_PHDR: 0x8048034
AT_PHNUM: 6
AT_PAGESZ: 4096
AT_BASE: 0x40000000
AT_ENTRY: 0x80490e0
AT_UID: 0
AT_EUID: 0
AT_GID: 0
AT_EGID: 0
AT_HWCAP: fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 22 mmx osfxsr 30 amd3d
AT_PLATFORM: i686
Can the port maintainers please send me all possible AT_PLATFORM
strings for their ports? I'd like to fix ldconfig to properly
handle AT_PLATFORM.
Thanks,
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
More information about the Libc-hacker
mailing list