Subject: Re: jdk package on -current
To: Simon J. Gerraty <sjg@quick.com.au>
From: Todd Vierling <tv@pobox.com>
List: port-i386
Date: 07/14/1998 21:16:07
On Wed, 15 Jul 1998, Simon J. Gerraty wrote:

: >> Was the pkg compiled on -current, or on 1.3.x libraries and includes?
: 
: Since I understand it is just a repackaging of the JDK beta1 from 
: http://www.quick.com.au/java/, it was compiled on 1.3.0

:  Ignoring the issue of 1.3 vs -current. 

Don't ignore this - it's the actual problem.  If you replace your -current
/usr/libexec/ld.so with the one from 1.3.x, it will work fine.

The problem is that on 1.3.x, RTLD_GLOBAL isn't defined by <dlfcn.h> - it's
the default.  On -current. RTLD_{GLOBAL,LOCAL} is defined there, and the
default was changed to RTLD_LOCAL, which broke binaries. 

I've added a fix to -current that changes the default behavior (neither flag
specified) back to RTLD_GLOBAL, after discussing it on tech-toolchain; that
will fix this in later builds of -current's ld.so. 

-- 
-- Todd Vierling (Personal tv@pobox.com; Bus. todd_vierling@xn.xerox.com)