From owner-freebsd-java Tue Feb 19 23:36:42 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by hub.freebsd.org (Postfix) with ESMTP id 93D8937B400; Tue, 19 Feb 2002 23:36:39 -0800 (PST) Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.22 #1) id 16dRIs-0000Iq-00; Wed, 20 Feb 2002 00:36:38 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g1K7aZl87984; Wed, 20 Feb 2002 18:06:35 +1030 (CST) (envelope-from glewis) Date: Wed, 20 Feb 2002 18:06:35 +1030 From: Greg Lewis To: Jeremy Lea Cc: freebsd-java@FreeBSD.ORG Subject: Re: Mozilla plugin and native JDK 1.3.1p6. Message-ID: <20020220180634.E87848@misty.eyesbeyond.com> References: <20020215150421.A50739@shale.csir.co.za> <20020215220554.H20348@tigerfish2.my.domain> <20020216220026.D60480@shale.csir.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020216220026.D60480@shale.csir.co.za>; from reg@FreeBSD.ORG on Sat, Feb 16, 2002 at 10:00:26PM +0200 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Late reply as I was away for the President's Day weekend... On Sat, Feb 16, 2002 at 10:00:26PM +0200, Jeremy Lea wrote: > On Fri, Feb 15, 2002 at 10:05:54PM -0600, Bruce Burden wrote: > > What version of Mozilla do you have? I have mozilla-0.9.7_2,1, > > and jdk1.3.1 works w/out a problem. (Once the port was updated, > > that is). > > 0.9.8_1,1. I'm worried that this might be one of the changes I made to the > port. It looks like there's no simple answer, and I'm going to have to > debug things... > > This was on -CURRENT. I'm going to build the JDK and Mozilla with debugging > on -STABLE now, and see if I get the same behaviour, and back things out to > 0.9.7 on -CURRENT and see if that works. > > Is this with green threads or native threads? The port failed to build with > native threads for me... There is no way native threads will build on -CURRENT. The whole implementation currently uses private parts of the pthread library which have changed between -STABLE and -CURRENT. Ok, you could get it to build if you had the -STABLE source code as well, but it would immediately crash and burn. > I posted another message in response to my original, with some debugging > output which suggests that the plugin is not being correctly linked with > libxpcom from Mozilla. > > Something which concerns me greatly is that the plugin seems to be linked > with references to all sorts of Mozilla things, but I didn't have Mozilla > installed at the time I built it... This probably means that the plugin is > being built with it's own copy of a lot of private headers, which are out of > date for 0.9.8. There are two things here. Firstly, the plugin does use a bunch of Mozilla headers. Most of these are quite old, but others I updated (to 0.9.5 most recently I think). I couldn't update all of them as Mozilla had turned into a header dependency nightmare (at least at that point). Secondly, the plugin uses NSPR, so that may also look like its using bits of Mozilla. > I guess we're going to have to look into building the plugin as a seperate > port, which depends on Mozilla. It doesn't need to depend on Mozilla, NSPR should be sufficient. We can certainly update some more of the Mozilla headers if they can be untangled. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message