From owner-freebsd-java@FreeBSD.ORG Wed Jul 11 07:19:05 2007 Return-Path: X-Original-To: java@freebsd.org Delivered-To: freebsd-java@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3C87816A400; Wed, 11 Jul 2007 07:19:05 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id B745D13C465; Wed, 11 Jul 2007 07:19:04 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A55763.dip.t-dialin.net [84.165.87.99]) by redbull.bpaserver.net (Postfix) with ESMTP id 7B65C2E13B; Wed, 11 Jul 2007 09:18:58 +0200 (CEST) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 293275B4902; Wed, 11 Jul 2007 09:16:47 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.13.8/8.13.8/Submit) id l6B7GkG8032877; Wed, 11 Jul 2007 09:16:46 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Wed, 11 Jul 2007 09:16:46 +0200 Message-ID: <20070711091646.tzcug58ty8o4o400@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Wed, 11 Jul 2007 09:16:46 +0200 From: Alexander Leidinger To: Greg Lewis References: <469286A1.9020701@aldan.algebra.com> <20070710091334.40kgazmtwsg444w8@webmail.leidinger.net> <20070710224919.GA58192@misty.eyesbeyond.com> In-Reply-To: <20070710224919.GA58192@misty.eyesbeyond.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.4) / FreeBSD-7.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.3, required 8, BAYES_00 -15.00, DKIM_POLICY_SIGNSOME 0.00, J_CHICKENPOX_33 0.60, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: amd64@freebsd.org, java@freebsd.org, glewis@freebsd.org, emulation@freebsd.org, "Mikhail T." Subject: Re: Linux JDK-1.5.0_12 (i386) unusable on amd64 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2007 07:19:05 -0000 Quoting Greg Lewis (from Tue, 10 Jul 2007 =20 16:49:19 -0600): > On Tue, Jul 10, 2007 at 09:13:34AM +0200, Alexander Leidinger wrote: >> Quoting "Mikhail T." (from Mon, 09 Jul >> 2007 15:04:01 -0400): >> >> >Hello! >> > >> >I just tried to build the regular jdk15 port on my amd64 machine. It >> >relies on the Linux jdk15 to bootstrap. >> > >> >Unfortunately, all invocations of javac and java were crashing with a >> >HotSpot stack (linux-sun-jdk-1.5.0.12,2). >> >> >> >I'm unsure, where the blame lies -- with the Linuxulator, or the amd64 >> >(6.2-stable from June 7th) -- but something needs to be done... >> >> Can you please try with a more recent -stable? On Sunday I committed >> some fixes which may or may not help (I don't remember if those fixes >> helped on -current or not). >> >> I also have some more fixes (MFCs) in the queue, if you are interested >> to help test them on -stable please tell me. > > I'll try it on 6.2-RELEASE-pmumble to make sure its working there. > > FWIW, I've had reports that linux-sun-jdk15 has been broken on > -CURRENT/amd64 since around December, so MFC'ing changes may not > actually improve the situation. Can you try it on current to see > if it works for you? Regarding current it is important to know if this is with the default =20 2.4 linux emulation, or with the 2.6 linux emulation. Apart from that Roman knows about some thread "limitation" which hits =20 us here (I let him comment upon this), and AFAIR the JDK also tries to =20 use epoll which is not available yet... but I may misremember about =20 the last part. The big picture is: Linux programs start to depend more and more on =20 stuff which is not emulated yet in any FreeBSD release. That's the =20 reason why I try since ~1.5 years to get some people together to have =20 a look at improving the linuxulator. Roman made some nice progress =20 last year in the GSoC, and this year he will probably finish the last =20 important missing parts (again as part of the GSoC). But I don't =20 expect any release before 7.1 to contain all necessary pieces (but not =20 enabled by default, I assume; this may have to wait until 8.0, but the =20 decision has to be made when all the code is in the tree). Bye, Alexander. --=20 When the only tool you have is a hammer, every problem starts to look like a nail. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137