From owner-freebsd-current@FreeBSD.ORG Wed Oct 29 22:27:12 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8083A16A4CE; Wed, 29 Oct 2003 22:27:12 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-63-207-60-234.dsl.lsan03.pacbell.net [63.207.60.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id 481E943F3F; Wed, 29 Oct 2003 22:27:11 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id D37FF66D74; Wed, 29 Oct 2003 22:27:10 -0800 (PST) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 95AB6B12; Wed, 29 Oct 2003 22:27:10 -0800 (PST) Date: Wed, 29 Oct 2003 22:27:10 -0800 From: Kris Kennaway To: Greg Lewis Message-ID: <20031030062710.GA26163@rot13.obsecurity.org> 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> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xHFwDpU9dbj6ez1V" Content-Disposition: inline In-Reply-To: <20031030054029.GA36292@misty.eyesbeyond.com> User-Agent: Mutt/1.4.1i cc: current@freebsd.org cc: John Angelmo cc: java@freebsd.org cc: David Schultz cc: Kris Kennaway Subject: Re: java binary incompatibility on 5.x (Re: __fpclassifyd problem) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2003 06:27:12 -0000 --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--