From owner-freebsd-java@FreeBSD.ORG Wed Oct 29 20:06:43 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C6D8316A4D0 for ; Wed, 29 Oct 2003 20:06:43 -0800 (PST) Received: from smtp.mho.com (smtp.mho.net [64.58.4.6]) by mx1.FreeBSD.org (Postfix) with SMTP id A9CCB43FD7 for ; Wed, 29 Oct 2003 20:06:41 -0800 (PST) (envelope-from scottl@freebsd.org) Received: (qmail 95850 invoked by uid 1002); 30 Oct 2003 04:06:40 -0000 Received: from unknown (HELO freebsd.org) (64.58.1.252) by smtp.mho.net with SMTP; 30 Oct 2003 04:06:40 -0000 Message-ID: <3FA08E31.9030701@freebsd.org> Date: Wed, 29 Oct 2003 21:06:09 -0700 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031025 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Kennaway 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> In-Reply-To: <20031030020711.GA24468@rot13.obsecurity.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: java@freebsd.org cc: David Schultz cc: current@freebsd.org cc: John Angelmo Subject: Re: java binary incompatibility on 5.x (Re: __fpclassifyd problem) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2003 04:06:43 -0000 Kris Kennaway wrote: > On Wed, Oct 29, 2003 at 03:28:32PM -0700, Scott Long wrote: > > >>I just tried running the Diablo JDK under -current from yesterday (with >>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? Maybe >>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 steal it >>from, so I can't test out that theory. > > > With help from peter and dwhite, we tracked down the cause to the following: > > ./jdk131.patches:+ dlMain = dlopen("/usr/lib/libc.so", RTLD_LAZY); > ./jdk131.patches:+ void *dlMain = dlopen("/usr/lib/libc.so", RTLD_LAZY); > > Java people, this is the cause of the binary incompatibility of 4.x > java binaries on 5.x. Can someone please fix? > > Kris Thanks for tracking this down. Scott