OpenJDK for PowerPC64

Andreas Tobler andreast-list at fgznet.ch
Mon Nov 9 20:31:53 UTC 2015


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


More information about the freebsd-ppc mailing list