Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Oct 2003 22:27:10 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Greg Lewis <glewis@eyesbeyond.com>
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   Re: java binary incompatibility on 5.x (Re: __fpclassifyd problem)
Message-ID:  <20031030062710.GA26163@rot13.obsecurity.org>
In-Reply-To: <20031030054029.GA36292@misty.eyesbeyond.com>
References:  <3F92E129.10307@veidit.net> <20031028034630.GC32916@VARK.homeunix.com> <20031028090337.E27950@carver.gumbysoft.com> <3FA01F71.1020203@adminforum.se> <20031029211951.GA12398@rot13.obsecurity.org> <20031029152202.C7702@pooker.samsco.home> <20031030020711.GA24468@rot13.obsecurity.org> <20031030054029.GA36292@misty.eyesbeyond.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--xHFwDpU9dbj6ez1V
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Oct 29, 2003 at 10:40:29PM -0700, Greg Lewis wrote:
> On Wed, Oct 29, 2003 at 06:07:11PM -0800, Kris Kennaway wrote:
> > On Wed, Oct 29, 2003 at 03:28:32PM -0700, Scott Long wrote:
> >=20
> > > I just tried running the Diablo JDK under -current from yesterday (wi=
th
> > > the libm fix from a few days ago).  It does not look good; possibly an
> > > issue with both the compat libc and native libc being linked in?  May=
be
> > > libm.so is still bringing in the native libc.so?  We don't install the
> > > 4.x libm into compat, and I don't have any 4.x machine around to stea=
l it
> > > from, so I can't test out that theory.
> >=20
> > With help from peter and dwhite, we tracked down the cause to the follo=
wing:
> >=20
> > ./jdk131.patches:+    dlMain =3D dlopen("/usr/lib/libc.so", RTLD_LAZY);
> > ./jdk131.patches:+        void *dlMain =3D dlopen("/usr/lib/libc.so", R=
TLD_LAZY);
> >=20
> > Java people, this is the cause of the binary incompatibility of 4.x
> > java binaries on 5.x.  Can someone please fix?
>=20
> I think its already fixed in CVS.  I'll try and test it tomorrow.  Does
> anyone know if ref5 has been updated to after the libm fix?  I don't have
> a -CURRENT box at home to test on.

You should be able to roll your own libm and use LD_LIBRARY_PATH.

Kris

--xHFwDpU9dbj6ez1V
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/oK8+Wry0BWjoQKURAkPUAKCWPo7RiLv2d8d244TP6+fD5/hKbgCfZfPr
pwNnFXdKo7c772WdNmvtM9M=
=BS12
-----END PGP SIGNATURE-----

--xHFwDpU9dbj6ez1V--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031030062710.GA26163>