From owner-freebsd-ppc@freebsd.org Thu Oct 29 16:10:42 2015 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 37767A217DE for ; Thu, 29 Oct 2015 16:10:42 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-ig0-x22b.google.com (mail-ig0-x22b.google.com [IPv6:2607:f8b0:4001:c05::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F01FC148F for ; Thu, 29 Oct 2015 16:10:41 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by igbhv6 with SMTP id hv6so34128816igb.0 for ; Thu, 29 Oct 2015 09:10:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=B8E7i6rmqLpu92fE5jBs1Ob65ZLvoxz3aFjyopPdChI=; b=ykMVxJdgTcxKqXjy317D84lijRC7ovM6x8+dyGNeG9cb63l2GD3rapYhBJUcszGS5k zCmk8eDFoW1TmWfYJTzkVq4V2Mjs0cQBOoQMSrI4dv4PdRO9dde1J0DLvIgJBOJ8RyTu CEtbUyddy2G0/w2jyiC/479XYztFygAtdcuiWAUOKzuRiP9o2T2saqhkY+XcHR5lM1oz 5m0kgKOpi5h47hBYWfD6ZiAWcAc9HmUmTze88Wcce7E2Zd9tJWfRIi7XpmVs1SWBb/uX DSSsWCLyLgWI8+F1M7PMPONHXtyh+XcfQDdzCfPPQGa0OC1Bt9QG4nQo8dxOT/A/4pGJ N11A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alumni_cwru_edu.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=B8E7i6rmqLpu92fE5jBs1Ob65ZLvoxz3aFjyopPdChI=; b=E6h5C5Xm8f0uJWXMG0N/LMxSaXoz1bCfv5PNoYRgl7qNFxWxiKNhbN0/vTBiXQMhlU gynDA6G0PsosIm1k+1UwRo7ErbnPq51DPjJyIG0RDd2KedvjOgg5FcENOSla8wmtqmNI FULadca6KZS+RsGFqdKZhExDTosynbhgHaCyExuj7li5vXPxpZCu8dYo5jP78oC+Njar nyYyXGIJRTei+f6Dvgc8uWte7hq7NnJgY02w/XUUPoY9AiTzlW2PO2PwVj6p+B/Kb46H swAprEu1JfgVL7dgmvJESHku5vt5MXoCzYp0SYESq62NAjKUBhCPxnMzw6bkmcPTWpfv lkrg== MIME-Version: 1.0 X-Received: by 10.50.17.74 with SMTP id m10mr11119026igd.8.1446135041212; Thu, 29 Oct 2015 09:10:41 -0700 (PDT) Sender: chmeeedalf@gmail.com Received: by 10.36.41.138 with HTTP; Thu, 29 Oct 2015 09:10:41 -0700 (PDT) In-Reply-To: <003701d1102a$ee366c70$caa34550$@verizon.net> References: <002a01d11001$a4b126e0$ee1374a0$@verizon.net> <003701d1102a$ee366c70$caa34550$@verizon.net> Date: Thu, 29 Oct 2015 11:10:41 -0500 X-Google-Sender-Auth: Ha5DWmpPyl643N_MPsAZh0nfdAg Message-ID: Subject: Re: OpenJDK for PowerPC64 From: Justin Hibbits To: Curtis Hamilton Cc: FreeBSD PowerPC ML Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Oct 2015 16:10:42 -0000 Thanks! Did you need to patch anything for gcc to build java, or did you need to just tell it to build? I remember when I started looking at it a few years ago there were some things needed, but I can't recall what I did. It's not difficult to add java to the port for powerpc, so if your changes were trivial, or you had no changes, that could be a good first step for us to add this to the ports tree. - Justin On Mon, Oct 26, 2015 at 3:14 PM, Curtis Hamilton wrote: > I don't have a wiki page. My initial success was in building the mercurial > OpenJDK7 BSD-Port, using the attached build script and instructions obtained > from the OpenJDK Wiki Darwin9Build > (https://wiki.openjdk.java.net/display/BSDPort/Darwin9Build) section. > Subsequently, I used information from the arm patch to modify the ports > Makefile and build the ports distribution. Other than what's in the make > file patch, no other patches were needed, as I used the mercurial build as > the bootstrap. > > The key for non-x86 builds is the bootstrap. I used the GCC java tools and > created a bootstrap (/usr/local/bootstrap-openjdk) using sym links to the > GCC java executables in /usr/local/bin. I can provide more details if > needed, however, building GCC java was not as straight forward as it is not > a configurable option for non-x86 GCC builds. I had to modify the port > Makefile. > > Regards, > > Curtis > > > -----Original Message----- > From: chmeeedalf@gmail.com [mailto:chmeeedalf@gmail.com] On Behalf Of Justin > Hibbits > Sent: Monday, October 26, 2015 3:26 PM > To: Curtis Hamilton > Cc: FreeBSD PowerPC ML > Subject: Re: OpenJDK for PowerPC64 > > On Mon, Oct 26, 2015 at 10:19 AM, Curtis Hamilton > wrote: >> Here is my contribution to all those interested in keeping the PowerPC >> relevant. I've been successful in building OpenJDK7 using Zero VM for >> PPC64. The binaries for openjdk7 for powerpc64 can be found at the >> below >> URL: >> >> https://drive.google.com/folderview?id=0Bz7VO-WP3rlpM3BabUd6ejlya3c&us >> p=shar >> ing >> >> Give them a try and provide any feedback to the list. >> >> Enjoy! >> >> BTW: OpenJDK8 may soon be on the way! > > That's fantastic! I'll try this soon on my G5. Do you have any wiki page > with build steps, or even better a port change to add this to ports? > > - Justin