From owner-freebsd-java Wed Nov 8 18:16:46 2000 Delivered-To: freebsd-java@freebsd.org Received: from smtp01.mrf.mail.rcn.net (smtp01.mrf.mail.rcn.net [207.172.4.60]) by hub.freebsd.org (Postfix) with ESMTP id A4B0837B479 for ; Wed, 8 Nov 2000 18:16:43 -0800 (PST) Received: from 207-172-201-237.s46.as4.xnb.nj.dialup.rcn.com ([207.172.201.237] helo=unknown.whichever.org) by smtp01.mrf.mail.rcn.net with esmtp (Exim 3.16 #2) id 13thGc-0001ON-00 for freebsd-java@freebsd.org; Wed, 08 Nov 2000 21:16:42 -0500 Received: (from archer@localhost) by unknown.whichever.org (8.11.0/8.9.3) id eA92GeG74740; Wed, 8 Nov 2000 21:16:40 -0500 (EST) (envelope-from archer) Date: Wed, 8 Nov 2000 21:16:40 -0500 (EST) Message-Id: <200011090216.eA92GeG74740@unknown.whichever.org> From: Alexander Litvin To: freebsd-java@freebsd.org Subject: Re: Problem with appletviewer in jdk1.2.2b10 In-Reply-To: <20001107132557.A98990@fling.sanbi.ac.za> X-Newsgroups: unknown.freebsd.java User-Agent: tin/1.5.6-20000803 ("Dust") (UNIX) (FreeBSD/5.0-CURRENT (i386)) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In article <20001107132557.A98990@fling.sanbi.ac.za> you wrote: >> As I understand, you just delete /usr/lib/libgcc.so (that's symlink, >> the real library is still there, just in case ;), and rebuild your >> jdk1.2.2 :( >> >> You may submit PR (I would do -- just have no time whatsoever these >> days). JV> I've been having similar problems for some time with a completely JV> non-Java-related application I'm trying to port. You may want to look at the JV> following two PRs which seem to describe the problem: JV> http://www.freebsd.org/cgi/query-pr.cgi?pr=20966 JV> http://www.freebsd.org/cgi/query-pr.cgi?pr=21983 JV> Hmm, I see one of them has now been closed. Time for me to go back and see JV> if the brokenness has been fixed. Well, first one seems to be unrelated (and it's the one which is closed). The second one is closer. Though, when jdk1.2.2 port compiles its shared libraries, it adds -lgcc, and libgcc is compiled in (may be, it is the way you go with your shared C++ libraries?). It was just that old libgcc.so (which laid there in /usr/lib, not touched by installworld) was linked in. I removed it, rebuilt jdk -- now it's fine. So, it is just about world upgrades which doesn't touch old binaries. And those old binaries might accidentially be used and cause problems. --- Disclaimer: "These opinions are my own, though for a small fee they be yours too." -- Dave Haynie To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message