BTW: user programs use of weak

Ulrich Drepper drepper@redhat.com
Tue Oct 3 19:05:00 GMT 2000


"Kevin B. Hendricks" <kevin.hendricks@sympatico.ca> writes:

> Not that it actually matters very much but user level programs do
> use weak symbol versioning.  For example the Java 3D code uses weak
> symbols to try to work around the problem that some OpenGL libraries
> has specialized functions that don't exist in every version of
> OpenGL (SGI only symbols/functions versus, Sun versus, ...).

This code should be rewritten to use dlopen(RTLD_DEFAULT,...).  This
is available at least in glibc and on Solaris.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


More information about the Libc-alpha mailing list