Bug#693848: libc6: ld.so: LD_DEBUG=libs doesn't do what help says
Package: libc6
Version: 2.13-35
Severity: normal
Dear Maintainer,
I'm a little puzzled here:
Based on this help:
,----[ LD_DEBUG=help /bin/true ]
| Valid options for the LD_DEBUG environment variable are:
|
| libs display library search paths
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| reloc display relocation processing
| files display progress for input file
| symbols display symbol table processing
| bindings display information about symbol binding
| versions display version dependencies
| all all previous options combined
| statistics display relocation statistics
| unused determined unused DSOs
| help display this help message and exit
|
| To direct the debugging output into a file instead of standard output
| a filename can be specified using the LD_DEBUG_OUTPUT environment variable.
`----
I expected this to list the entire library search path:
,----[ LD_DEBUG=libs /bin/true ]
| 3652: find library=libc.so.6 [0]; searching
| 3652: search cache=/etc/ld.so.cache
| 3652: trying file=/lib/i386-linux-gnu/i686/cmov/libc.so.6
| 3652:
| 3652:
| 3652: calling init: /lib/i386-linux-gnu/i686/cmov/libc.so.6
| 3652:
| 3652:
| 3652: initialize program: /bin/true
| 3652:
| 3652:
| 3652: transferring control: /bin/true
| 3652:
| 3652:
| 3652: calling fini: /bin/true [0]
| 3652:
`----
but, as you can see, it didn't. Is this just an unclear help message,
or is it actually an implementation bug?
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libc6 depends on:
ii libc-bin 2.13-35
ii libgcc1 1:4.7.2-4
Versions of packages libc6 recommends:
ii libc6-i686 2.13-35
Versions of packages libc6 suggests:
ii debconf [debconf-2.0] 1.5.46
ii glibc-doc 2.13-35
pn locales <none>
-- debconf information:
glibc/upgrade: true
glibc/disable-screensaver:
* glibc/restart-failed:
* glibc/restart-services: samba openbsd-inetd exim4 cups cron autofs apache2
* libraries/restart-without-asking: false
--
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!
Reply to: