Subject: lib/26100: ld.so.conf.5 does not recognize that ld.elf_so can only use machdep sysctl entries
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <roskens@elfin.net>
List: netbsd-bugs
Date: 06/28/2004 17:31:15
>Number: 26100
>Category: lib
>Synopsis: ld.so.conf.5 does not recognize that ld.elf_so can only use machdep sysctl entries
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: lib-bug-people
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Mon Jun 28 17:32:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Ron Roskens
>Release: NetBSD-current, NetBSD-1.6.2, NetBSD-1.5
>Organization:
>Environment:
>Description:
The man page for ld.so.conf claims that you can use <sysctl_variable> for directing library loading. The example shows the use of machdep.fpu_present. Its left to the user to infer that you can only use machdep sysctls.
The man page should be updated to state that its a bug that it only supports machdep entries. Further explain that to enable dynamic sysctl lookups would be a significant performance hit if it were to do so.
>How-To-Repeat:
man ld.so.conf
try installing pkgtools/libkver and wonder how you can enable it without setting LD_PRELOAD.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: