-
Notifications
You must be signed in to change notification settings - Fork 739
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unable to crosscompile for ppc 32bits #2206
Comments
I've never tried this before... the only platform I'm aware we do cross compiling for is arm. @JamesKingdon Any suggestions for dealing with cross-compiling?
The error message suggests checking |
I've tried to replace the --openjdk-target=powerpc-fsl-linux with the --host and --target options (according to the configure help they do the same thing) and the result was the same. if I check the omr config.log I see that its failing because it tries to execute a cross compiled binary (this because it doesn't know its a cross compilation)
If I change the cross_compiling=no to cross_compiling=yes in openj9-openjdk-jdk8/build/linux-ppc-normal-server-release/vm/omr/configure and run again the make profiles I gues a different error:
|
Cross-compiling is only partially implemented. In particular we currently need to provide a build jdk as well as a boot jdk. The configure script I currently use for Java 10 for arm is
I think the changes to support this ended up being fairly generic, but it's likely there is more we need to do for PPC |
it seems that the omr doesn't support cross compilation. |
There was an attempt to cross compile Java 8 for arm, but we ran into a number of problems ( issue #712 ). It's likely that those problems will also impact a PPC cross compile for Java 8. |
I really need Java 8, never the less I've tried to cross compile Java 10 to ppc 32bits and it also has problems. |
Closing as this has been inactive for 2 years |
I'm having some problems compiling the open j9 for ppc 32bits
I've followed these steps: https://github.com/eclipse/openj9/blob/master/buildenv/Build_Instructions_V8.md#2-get-the-source
after some time fighting with the configure options I was able to successfully run the configure with the extra options:
--openjdk-target=powerpc-fsl-linux --without-x --without-cups --without-alsa
I had to set also these environment variables:
now I'm trying to do the actual compilation but I'm getting this error:
it seems that the new configures are loosing the information that this is being crossed compiled.
is this a known problem?
The text was updated successfully, but these errors were encountered: