From owner-freebsd-ppc@freebsd.org Tue Nov 3 01:13:10 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 CDCACA244F7 for ; Tue, 3 Nov 2015 01:13:10 +0000 (UTC) (envelope-from hamiltcl@verizon.net) Received: from vms173025pub.verizon.net (vms173025pub.verizon.net [206.46.173.25]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A5AA31DE2; Tue, 3 Nov 2015 01:13:10 +0000 (UTC) (envelope-from hamiltcl@verizon.net) Received: from lenoil1 ([96.255.168.17]) by vms173025.mailsrvcs.net (Oracle Communications Messaging Server 7.0.5.32.0 64bit (built Jul 16 2014)) with ESMTPA id <0NX7001Z6SPHD2I0@vms173025.mailsrvcs.net>; Mon, 02 Nov 2015 19:12:54 -0600 (CST) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=Nc0brD34 c=1 sm=1 tr=0 a=TXQDfM1T7tsaHFmtCUVSow==:117 a=o1OHuDzbAAAA:8 a=oR5dmqMzAAAA:8 a=kj9zAlcOel0A:10 a=qtqOOiqGOCEA:10 a=6I5d2MoRAAAA:8 a=vkhzVH8tKbXa1yCglP0A:9 a=CjuIK1q_8ugA:10 From: "Curtis Hamilton" To: "'Andreas Tobler'" , "'Steve Wills'" , "'Justin Hibbits'" Cc: "'FreeBSD PowerPC ML'" References: <002a01d11001$a4b126e0$ee1374a0$@verizon.net> <003701d1102a$ee366c70$caa34550$@verizon.net> <00f701d1129c$b82b0400$28810c00$@verizon.net> <563370BF.8010602@FreeBSD.org> <012c01d11328$caef1220$60cd3660$@verizon.net> <5633D743.9070002@fgznet.ch> <5633E35A.50402@fgznet.ch> <5635458E.2070700@fgznet.ch> <018b01d11582$a7300950$f5901bf0$@verizon.net> <5637DD7D.5060106@fgznet.ch> In-reply-to: <5637DD7D.5060106@fgznet.ch> Subject: RE: OpenJDK for PowerPC64 Date: Mon, 02 Nov 2015 20:12:49 -0500 Message-id: <01a301d115d4$c1f31b40$45d951c0$@verizon.net> MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit X-Mailer: Microsoft Outlook 15.0 Thread-index: AQKRkMsb+GvouUjCqm4Yxd05iNTYtAHpldllAV94MsUBawMSHgIHk2b5Ak5uG5sCFhOKpAJFjLidATxg7hwBEmTV6gKSd7h+AiYfn5ecZRuhcA== Content-language: en-us 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: Tue, 03 Nov 2015 01:13:10 -0000 I forgot to mentioned this in my notes. GCJ is equivalent to JDK5 (java 1.5), however both JDK6 and JDK7 are hard coded to require 1.6 . You'll need to make the following edits: OPENJDK6: jdk/make/common/shared/Platform.gmk (line 91) OpenJDK7: jdk/make/common/shared/Defs-versions.gmk (line 222) Just change the version from 1.6 to 1.5. -Curtis -----Original Message----- From: Andreas Tobler [mailto:andreast-list@fgznet.ch] Sent: Monday, November 02, 2015 5:03 PM To: Curtis Hamilton ; 'Steve Wills' ; 'Justin Hibbits' Cc: 'FreeBSD PowerPC ML' Subject: Re: OpenJDK for PowerPC64 On 02.11.15 16:25, Curtis Hamilton wrote: > Attached are the instructions for setting up a bootstrap for building > OpenJDK on FreeBSD. In an earlier email I provided the build script > used to build the BSD-Port mercurial, using the bootstrap setup in the instructions. > > > Let me know if you have questions. Thanks! I missed the step to build classpath, what a nice project at that time ;) But next, what do I have to build? How is the sequence to 'bootstrap' openjdk? I'm a newbie in this regard. I get this when I do a make in java/openjdk7 (with patched Makefile from a previous post) ERROR: Your BOOTDIR environment variable does not point \n to a valid JDK for bootstrapping this build. \n A JDK 7 build must be bootstrapped using \n JDK 1.6. fcs (or later). \n Apparently, your bootstrap JDK is version 1.5.0 \n Please update your ALT_BOOTDIR setting and start your build again. \n This is with openjdk7. The same happens with openjdk6. my compiler chain is gcc-6.0. I think a few things are missing here. Andreas