From owner-freebsd-hackers Fri Oct 11 02:00:10 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA00749 for hackers-outgoing; Fri, 11 Oct 1996 02:00:10 -0700 (PDT) Received: from covina.lightside.com (covina.lightside.com [207.67.176.1]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id CAA00694 for ; Fri, 11 Oct 1996 02:00:06 -0700 (PDT) Received: from localhost (jehamby@localhost) by covina.lightside.com (8.8.0/8.8.0) with SMTP id CAA13422 for ; Fri, 11 Oct 1996 02:00:06 -0700 (PDT) Date: Fri, 11 Oct 1996 02:00:02 -0700 (PDT) From: Jake Hamby To: hackers@freebsd.org Subject: Whoohoo! JDK works! (was Re: JDK 1.0.2 SIGSEGV?!) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk When I complain about something, I usually like to follow up if I manage to fix the problem. In this case (the SIGSEGV error I was complaining about with "unsupported" FreeBSD JDK 1.0.2 on freefall), I'm proud to say the problem is solved. Obviously, something changed in -current between the time the JDK 1.0.2 was built, and when I ran it. Something that could crash the JDK very early on, before it even printed a startup message. Libc would be a candidate, as would libm. But let's think, what major component of our shared library architecture has changed recently (even prompting a major outcry as the original patch caused machines to crash)? That's right: ld.so. Call it intuition, but I suspected ld.so in the back of my mind all along, but didn't feel like grabbing an older copy out of CVS to play with. Long story short, when I CVSup'ed -current tonight and saw rtld.c had changed (twice), I decided to rebuild ld.so, install it, cross my fingers, say a little prayer, start java, expecting the worst, and ... it worked! Let that be a lesson to all FreeBSD hackers (actually two lessons): 1) First impressions are almost always correct, and 2) There is heavy magic in ld.so! I can't wait to play with Java tomorrow, on my favorite Free UNIX! Whoohoo... -- Jake