Skip to content
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

SPEC not correctly set when cross compiling #519

Open
JamesKingdon opened this issue Nov 4, 2017 · 1 comment
Open

SPEC not correctly set when cross compiling #519

JamesKingdon opened this issue Nov 4, 2017 · 1 comment

Comments

@JamesKingdon
Copy link
Contributor

When cross compiling for arm from OpenJDK the SPEC variable doesn't have an appropriate value in tr.source/trj9/Makefile, resulting in the JIT being compiled for the host platform instead of the target. As a workaround, forcing SPEC=linux_arm just before the conditional seems to achieve more appropriate behaviour, but this is clearly not the right fix.
I'm not sure how SPEC is supposed to get set in this scenario, so this issue may turn out to be more appropriately raised against openj9-openjdk-jdk9.

@JamesKingdon
Copy link
Contributor Author

JamesKingdon commented Nov 26, 2017

SPEC arrives as
/root/openj9-openjdk-jdk9/build/linux-arm-normal-server-release/spec.gmk

PR #686 includes a temporary work around, but we still need to fix the underlying problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants