Date: Mon, 9 Nov 2015 21:31:48 +0100 From: Andreas Tobler <andreast-list@fgznet.ch> To: Curtis Hamilton <hamiltcl@verizon.net>, 'Steve Wills' <swills@freebsd.org>, 'Justin Hibbits' <jrh29@alumni.cwru.edu> Cc: 'FreeBSD PowerPC ML' <freebsd-ppc@freebsd.org> Subject: Re: OpenJDK for PowerPC64 Message-ID: <564102B4.40005@fgznet.ch> In-Reply-To: <006a01d11b25$c18f9f10$44aedd30$@verizon.net> References: <002a01d11001$a4b126e0$ee1374a0$@verizon.net> <CAHSQbTAurUob%2B5ypH%2BG5_2V8dh-iGWpxobGe-EzPHBXF-ptDfg@mail.gmail.com> <003701d1102a$ee366c70$caa34550$@verizon.net> <CAHSQbTCD2QmTd865QfSV-Guuf3y7gA=euEDriM%2Bc1Pzfw7L--Q@mail.gmail.com> <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>
index | next in thread | previous in thread | raw e-mail
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:
-----
<target name="-def-pcompile">
<mkdir dir="${build.toolclasses.dir}"/>
<javac fork="true"
source="${boot.javac.source}"
target="${boot.javac.target}"
executable="${boot.java.home}/bin/javac"
srcdir="${make.tools.dir}/CompileProperties"
destdir="${build.toolclasses.dir}/"
classpath="${ant.core.lib}"
includeantruntime="false"/> <<<< line 860
<taskdef name="pcompile"
classname="CompilePropertiesTask"
classpath="${build.toolclasses.dir}/"/>
-----
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
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?564102B4.40005>
