Compile JRE for PPC 32 bit
Radu Andritoiu
raduandritoiu at gmail.com
Thu Jan 25 21:23:44 UTC 2018
Hello,
On Thu, Jan 25, 2018 at 7:03 PM, Volker Simonis <volker.simonis at gmail.com>
wrote:
> On Thu, Jan 25, 2018 at 5:34 PM, Radu Andritoiu <raduandritoiu at gmail.com>
> wrote:
> > Hello,
> >
> > This is the output from "./java -version"
> > java version "1.7.0_21"
> > Java(TM) SE Embedded Runtime Environment (build 1.7.0_21-b11, headless)
> > Java HotSpot(TM) Embedded Client VM (build 23.21-b01, mixed mode)
> >
> > This version of JRE we got directly from Oracle.
> > I haven't tried to compile any openJDK until now.
> >
>
> Well, that's a commercially licensed version so you should contact
> your license engineer :)
>
> OpenJDK never had native 32.bit ppc support. The best you can do is to
> build the zero port as described by Adrian.
Yes, we previously had a commercial version, and now someone (not me)
thought if we could switch to openJDK.
We have already switched with openJDK for our x86 platform.
So it seems that jdk8u162 with "zero" jvm-variant is my best bet right now.
Even though it is not java compliant and not really production quality.
On Thu, Jan 25, 2018 at 6:38 PM, John Paul Adrian Glaubitz <
glaubitz at physik.fu-berlin.de> wrote:
> On 01/25/2018 05:34 PM, Radu Andritoiu wrote:
>
>> So I should get jdk8u151-b12. But this one still compiles only with
>> "zero" jvm-variant right?
>>
>
> No, you don't need this particular version. Just send me the log of
> the failed build.
I don't have the logs right now. I was cross-compiling this in December and
I got to where I said: only managed to compile "hotspot" target and "jdk"
target crashed.
And then we had to change the cross-compiling tool chain and build setup.
Now I am cross-compiling using yocto and still have trouble running the
config script to generate the makefiles for openJDK. And wanted to know in
advance if I was on a good path or there was a better alternative.
I can try to re-make the old cross-compiling tool chain and show you the
errors that I have. But I remember the linker was saying it can't find
the *definition
for printf()* when compiling "jdk" target, even though "hotspot" target
worked, and I saw printf() in that code as well.
I will continue with the "debuging" of the config script and post when I
get any errors.
Thank you very much for the help,
Radu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/ppc-aix-port-dev/attachments/20180125/12261734/attachment.html>
More information about the ppc-aix-port-dev
mailing list