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

[JDK11] Configure scripts & code changes for RISC-V 64bit #218

Open
ChengJin01 opened this issue Oct 9, 2019 · 3 comments
Open

[JDK11] Configure scripts & code changes for RISC-V 64bit #218

ChengJin01 opened this issue Oct 9, 2019 · 3 comments

Comments

@ChengJin01
Copy link
Contributor

ChengJin01 commented Oct 9, 2019

The issue is opened to include all the changes in JDK11 for eclipse-openj9/openj9#5058 to enable RISCV 64 bit as follows:
#219 , #220, #297

FYI: @keithc-ca, @pshipton , @DanHeidinga

@ChengJin01 ChengJin01 changed the title Configure scripts & code changes for RISC-V bit JDK11: Configure scripts & code changes for RISC-V bit Oct 9, 2019
@ChengJin01 ChengJin01 changed the title JDK11: Configure scripts & code changes for RISC-V bit [JDK11] Configure scripts & code changes for RISC-V bit Oct 9, 2019
@ChengJin01 ChengJin01 changed the title [JDK11] Configure scripts & code changes for RISC-V bit [JDK11] Configure scripts & code changes for RISC-V 64bit Oct 9, 2019
ChengJin01 added a commit to ChengJin01/openj9-openjdk-jdk11 that referenced this issue Oct 9, 2019
The changes are to modify the scripts intended
for OpenJ9 to enable RISC-V from the configuration
perspective.

Issue: ibmruntimes#218

Signed-off-by: Cheng Jin <jincheng@ca.ibm.com>
ChengJin01 added a commit to ChengJin01/openj9-openjdk-jdk11 that referenced this issue Oct 9, 2019
The changes are to modify the scripts in the
make directory to enable RISC-V from the 
configuration perspective.

Issue: ibmruntimes#218

Signed-off-by: Cheng Jin <jincheng@ca.ibm.com>
ChengJin01 added a commit to ChengJin01/openj9-openjdk-jdk11 that referenced this issue Oct 10, 2019
The changes are to modify the java code in the
src directory to disable compiling AWT related
library in cross-compilation for RISC-V.

Issue: ibmruntimes#218

Signed-off-by: Cheng Jin <jincheng@ca.ibm.com>
ChengJin01 added a commit to ChengJin01/openj9-openjdk-jdk11 that referenced this issue Oct 10, 2019
The changes are to modify the java code in the
src directory to disable compiling AWT related
library in cross-compilation for RISC-V.

Issue: ibmruntimes#218

Signed-off-by: Cheng Jin <jincheng@ca.ibm.com>
ChengJin01 added a commit to ChengJin01/openj9-openjdk-jdk11 that referenced this issue Oct 10, 2019
The changes are to modify the scripts intended
for OpenJ9 to enable RISC-V from the configuration
perspective.

Issue: ibmruntimes#218

Signed-off-by: Cheng Jin <jincheng@ca.ibm.com>
@ChengJin01
Copy link
Contributor Author

ChengJin01 commented Oct 10, 2019

Jan Vrany (the external contributor on OMR/JIT) suggested me to double-check whether it is feasible to only do cross-compilation by mounting the Fedora_Linux OS image to the local system (used for --sysroot / previously pointed to the sysroot path in the cross-toolchain). Given that there are only a small piece of X11 related code changes and no changes on DDR (issue with the libdwarf library), I will first try to remove the changes on X11 to see how it goes. If everything goes fine, some of changes here will be updated/removed soon for the latest results.

@ChengJin01
Copy link
Contributor Author

ChengJin01 commented Oct 10, 2019

Already solved the compilation issue with X11 with --sysroot pointed to the mounted Fedora OS image and the created JDK works good in Fedora/QEMU. Now get started to check whether it is feasible to enable DDR (specifically get the cross-compiler to locate the sysroot path of dwarf related headers/libraries). Will remove all unnecessary changes with X11 soon.

ChengJin01 added a commit to ChengJin01/openj9-openjdk-jdk11 that referenced this issue Oct 10, 2019
The changes are to modify the scripts intended
for OpenJ9 to enable RISC-V from the configuration
perspective.

Issue: ibmruntimes#218

Signed-off-by: Cheng Jin <jincheng@ca.ibm.com>
ChengJin01 added a commit to ChengJin01/openj9-openjdk-jdk11 that referenced this issue Oct 10, 2019
The changes are to modify the scripts in the
make directory to enable RISC-V from the 
configuration perspective.

Issue: ibmruntimes#218

Signed-off-by: Cheng Jin <jincheng@ca.ibm.com>
ChengJin01 added a commit to ChengJin01/openj9-openjdk-jdk11 that referenced this issue Oct 10, 2019
The changes are to modify the scripts in the
make directory to enable RISC-V from the 
configuration perspective.

Issue: ibmruntimes#218

Signed-off-by: Cheng Jin <jincheng@ca.ibm.com>
ChengJin01 added a commit to ChengJin01/openj9-openjdk-jdk11 that referenced this issue Oct 10, 2019
The changes are to modify the java code in the
src directory to disable compiling AWT related
library in cross-compilation for RISC-V.

Issue: ibmruntimes#218

Signed-off-by: Cheng Jin <jincheng@ca.ibm.com>
@ChengJin01
Copy link
Contributor Author

ChengJin01 commented Oct 10, 2019

Already removed all X11 related changes to enable X11 in cross-compilation.

ChengJin01 added a commit to ChengJin01/openj9-openjdk-jdk11 that referenced this issue Oct 11, 2019
The changes are to modify the java code in the
src directory to avoid the timeout issue in the
native compilation on RISC-V.

Issue: ibmruntimes#218

Signed-off-by: Cheng Jin <jincheng@ca.ibm.com>
ChengJin01 added a commit to ChengJin01/openj9-openjdk-jdk11 that referenced this issue Oct 25, 2019
The changes are to modify the scripts intended
for OpenJ9 to enable RISC-V from the configuration
perspective.

Issue: ibmruntimes#218

Signed-off-by: Cheng Jin <jincheng@ca.ibm.com>
ChengJin01 added a commit to ChengJin01/openj9-openjdk-jdk11 that referenced this issue Nov 4, 2019
The changes are to modify the scripts intended
for OpenJ9 to enable RISC-V from the configuration
perspective.

Issue: ibmruntimes#218

Signed-off-by: Cheng Jin <jincheng@ca.ibm.com>
ChengJin01 added a commit to ChengJin01/openj9-openjdk-jdk11 that referenced this issue Nov 11, 2019
The changes are to modify the scripts intended
for OpenJ9 to enable RISC-V from the configuration
perspective.

Issue: ibmruntimes#218

Signed-off-by: Cheng Jin <jincheng@ca.ibm.com>
ChengJin01 added a commit to ChengJin01/openj9-openjdk-jdk11 that referenced this issue Nov 13, 2019
The changes are to modify the scripts in the
make directory to enable RISC-V from the 
configuration perspective.

Issue: ibmruntimes#218

Signed-off-by: Cheng Jin <jincheng@ca.ibm.com>
ChengJin01 added a commit to ChengJin01/openj9-openjdk-jdk11 that referenced this issue Nov 18, 2019
The changes are to modify the scripts intended
for OpenJ9 to enable RISC-V from the configuration
perspective.

Issue: ibmruntimes#218

Signed-off-by: Cheng Jin <jincheng@ca.ibm.com>
ChengJin01 added a commit to ChengJin01/openj9-openjdk-jdk11 that referenced this issue Apr 16, 2020
The change is to ensure the installed cross-compiler
is correctly set up on the host system from OpenJDK11
perspective by changing the prefix of the cross-toolchain
if users prefer the installed cross-compiler rather than
building a cross-compiler from the source.

Issue: ibmruntimes#218

Signed-off-by: Cheng Jin <jincheng@ca.ibm.com>
ChengJin01 added a commit to ChengJin01/openj9-openjdk-jdk11 that referenced this issue Apr 16, 2020
The change is to ensure the installed cross-compiler
is correctly set up on the host system from OpenJDK11
perspective by changing the prefix of the cross-toolchain
if users prefer the installed cross-compiler rather than
building a cross-compiler from the source.

Issue: ibmruntimes#218

Signed-off-by: Cheng Jin <jincheng@ca.ibm.com>
ChengJin01 added a commit to ChengJin01/openj9-openjdk-jdk11 that referenced this issue Apr 16, 2020
The change is to ensure the installed cross-compiler
is correctly set up on the host system from OpenJDK11
perspective by changing the prefix of the cross-toolchain
if users prefer the installed cross-compiler rather than
building a cross-compiler from the source.

Issue: ibmruntimes#218

Signed-off-by: Cheng Jin <jincheng@ca.ibm.com>
ChengJin01 added a commit to ChengJin01/openj9-openjdk-jdk11 that referenced this issue Apr 16, 2020
The change is to ensure the installed cross-compiler
is correctly set up on the host system from OpenJDK11
perspective by changing the prefix of the cross-toolchain
if users prefer the installed cross-compiler rather than
building a cross-compiler from the source.

Issue: ibmruntimes#218

Signed-off-by: Cheng Jin <jincheng@ca.ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant