This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: BTW: user programs use of weak


"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   `------------------------

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]