From owner-freebsd-ppc@FreeBSD.ORG Sat Mar 31 02:44:49 2012 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7768A1065694; Sat, 31 Mar 2012 02:44:49 +0000 (UTC) (envelope-from superbisquit@gmail.com) Received: from mail-pz0-f44.google.com (mail-pz0-f44.google.com [209.85.210.44]) by mx1.freebsd.org (Postfix) with ESMTP id 3DC288FC15; Sat, 31 Mar 2012 02:44:48 +0000 (UTC) Received: by dadz14 with SMTP id z14so908658dad.17 for ; Fri, 30 Mar 2012 19:44:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=TBJIPppYJBhnJQ+SQQ6dTvVVmcbcggN8XZsHbhZEsCc=; b=VmDkny22Z8Ev4ZsZbfH4o4TF6rZxSx4v8N74gdPsk2faQCZKky6cwCcEPDczAKpEzK 0Ui+ru151SZD4/lY6HyMGLACfSykzD/27i+R4Gt0f8cmEZ3QUZiMiu9D4Gv7vtso/XbX 1EMXmjCcpWJ9bPvoCuJWHzHcy0bBi5a8a4aOmTsQmlOQ5P/Y5giB4Q/CoueRMAF4x6jP RJRt1rcoclnIn3wyh/vtpg4veRouqzwVLQiloDDQaHb22yqLf3FUA3gJZkLMf2QWZe7D AJ6QmEcL1znrJhP1AnYB3iILL1p8WNMxSl41Cp4O37e8y+v9M3ZbMUiZmTHKZ3wRka+A SjOA== MIME-Version: 1.0 Received: by 10.68.193.161 with SMTP id hp1mr2040813pbc.106.1333161888335; Fri, 30 Mar 2012 19:44:48 -0700 (PDT) Received: by 10.68.208.168 with HTTP; Fri, 30 Mar 2012 19:44:48 -0700 (PDT) In-Reply-To: References: <20120330213748.GA92901@misty.eyesbeyond.com> Date: Fri, 30 Mar 2012 22:44:48 -0400 Message-ID: From: Super Bisquit To: FreeBSD PowerPC ML , freebsd-java , Greg Lewis Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Kaffe does not build on powerpc: dependency for zero-vm X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Mar 2012 02:44:49 -0000 On Fri, Mar 30, 2012 at 8:12 PM, Super Bisquit wrote: > ---------- Forwarded message ---------- > From: Super Bisquit > Date: Fri, 30 Mar 2012 20:12:23 -0400 > Subject: Re: Kaffe does not build on powerpc: dependency for zero-vm > To: Greg Lewis > Cc: freebsd-java > > On 3/30/12, Greg Lewis wrote: > > 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? > I'm trying different versions of java vms, binaries, etc to get it > working on FreeBSD PowerPC. I've had some luck in building jamvm but > not installing. I am also trying to build the llvm java vm. > > > > 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 > > Okay, I'll try it out. I'm on an i386 laptop right now. > > > > 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. > > I probably missed the links since I am chaotic. I'll look in the > mailing list archives for them. > > > > 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 tried building icedtea and what not as stated in the post. I'll run > building each listed again and send you the errors. > > > >> 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. > Damn straight > > > > 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 > > > Okay. Seems that I will need to place the binaries in their respective positions- libraries and others included in this; or, should I run it from the extracted folder? If the former, then I will need to know what paths are for Java. The i386 laptop I have is without a hard drive and has a liveCD in it. Other projects related to Java and POWER: 1. I'm having beginner's troubles using cmake. I definitely want to try building and testing vmkit. 2. Jamvm will probably need to be installed within a subdirectory.