From owner-freebsd-ppc@freebsd.org Mon Nov 9 20:31:53 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 6639AA2AE60 for ; Mon, 9 Nov 2015 20:31:53 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from smtp.fgznet.ch (unknown [IPv6:2001:4060:1:1001::14:54]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 232471F20; Mon, 9 Nov 2015 20:31:53 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from [192.168.225.14] (dhclient-91-190-14-19.flashcable.ch [91.190.14.19]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by fgznet.ch (Postfix) with ESMTPS id 01E09CB7C0; Mon, 9 Nov 2015 21:31:48 +0100 (CET) Subject: Re: OpenJDK for PowerPC64 To: Curtis Hamilton , 'Steve Wills' , 'Justin Hibbits' 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> <006a01d11b25$c18f9f10$44aedd30$@verizon.net> Cc: 'FreeBSD PowerPC ML' From: Andreas Tobler Message-ID: <564102B4.40005@fgznet.ch> Date: Mon, 9 Nov 2015 21:31:48 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <006a01d11b25$c18f9f10$44aedd30$@verizon.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.73 on 127.0.1.1 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: Mon, 09 Nov 2015 20:31:53 -0000 Hi Curtis, On 09.11.15 20:35, Curtis Hamilton wrote: > Just checking to see how things progressing for you. -ENOTIME :) It didn't succeed after editing the mentioned files. I started investigating but I couldn't find the issue. Then I went back to my compiler to-do plate, and I'm still there. For me, as an unexperienced user, the build instructions are not very clear. I learned that I need a gcj and classpath. Then I tought to jump into the ports tree, java/openjdk6|7 and do a make. Here I had learned from you that I have to edit these files: OPENJDK6: jdk/make/common/shared/Platform.gmk (line 91) OpenJDK7: jdk/make/common/shared/Defs-versions.gmk (line 222) and change the hardcoded 1.6 to 1.5. ok. But still, I seem to misunderstand some bits. This is the latest error where I gave up: -def-pcompile: [javac] Compiling 2 source files to /export/build/obj/usr/ports/java/openjdk7/work/openjdk/build/bsd-powerpc/langtools/build/toolclasses [javac] javac: error: 6: No such file or directory [javac] javac: error: 6: No such file or directory [javac] javac: error: unrecognized command line option '-sourcepath' [javac] javac: error: unrecognized command line option '-target' [javac] javac: error: unrecognized command line option '-source' BUILD FAILED /export/build/obj/usr/ports/java/openjdk7/work/openjdk/langtools/make/build.xml:860: Compile failed; see the compiler error output for details. build.xml: ----- <<<< line 860 ----- What I'd need is a diff for the openjdk6/7 Makefile and patches if needed which I could just place in the files section. Then my expectation would be go and make :) I know, it is a hard thing. But you know the fine details and I really lack the time to dive in atm. Thanks, Andreas