From owner-freebsd-java@FreeBSD.ORG Fri Mar 30 21:37:57 2012 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50769106566B; Fri, 30 Mar 2012 21:37:57 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.freebsd.org (Postfix) with ESMTP id E47938FC15; Fri, 30 Mar 2012 21:37:56 +0000 (UTC) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.14.4/8.14.4) with ESMTP id q2ULbmSR093041; Fri, 30 Mar 2012 14:37:48 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.14.4/8.14.4/Submit) id q2ULbmtN093040; Fri, 30 Mar 2012 14:37:48 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Fri, 30 Mar 2012 14:37:48 -0700 From: Greg Lewis To: Super Bisquit Message-ID: <20120330213748.GA92901@misty.eyesbeyond.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: FreeBSD PowerPC ML , freebsd-java Subject: Re: Kaffe does not build on powerpc: dependency for zero-vm 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: Fri, 30 Mar 2012 21:37:57 -0000 On Fri, Mar 30, 2012 at 06:48:18AM -0400, Super Bisquit wrote: > Mr. Lewis, you suggested me trying to port zero vm. > 1. Java zero-vm is the natural build/alternate to those architectures that > aren't fully supported; i.e. non-i386 based CPUs. > 2. Reverse engineering the ibm-powerpc-jre/sdk binaries may not be > agreeable to you or others; but, I've accomplished more and went further > than with this. > 3. With the ibm-binaries, I can look at the headers and see what they are. > I am also able to see what the standard Debian-powerpc java requires. > 4. I do not currently have Fedora or RedHat installed to any of my powerpc > systems. If anyone does, then what are the ldd outputs for the jre and sdk > release binaries- ibm release only? I'm not sure what point you're trying to make in 2-4 in regards to building a freebsd-ppc version of OpenJDK. Could you expand on that? FWIW, the current version of openjdk7 does build on MacOS X/PPC using the Zero VM. You can download binaries here: http://www.intricatesoftware.com/OpenJDK/macppc/openjdk7u2-macppc-fcs-2012-03-14.tar.bz2 Given that Zero works on FreeBSD (or did last time I tried) and the PowerPC build for Zero works on other supported OSes, it doesn't seem like there would be a lot of code changes required to get it to to work on FreeBSD/PPC. The biggest hurdle is likely the first time bootstrap. I believe I've previously sent out links on how to go about the first time bootstrapping. It's not trivial but it's doable. You are, of course, free to work on whatever you want. I'm just trying to suggest what I think has the highest chance of getting you a working JDK on FreeBSD/ppc in a reasonable time. > I have to build on both Debian and FreeBSD to see where errors occur. Many > may not agree to my methods; but, it has helped tremendously with this > porting effort. I've typically found that useful when porting to a new architecture too. I trimmed freebsd-current since my reply doesn't seem relevant for it. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org