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

Build Eclipse OpenJ9 on Windows #55

Closed
mleipe opened this issue Sep 18, 2017 · 13 comments
Closed

Build Eclipse OpenJ9 on Windows #55

mleipe opened this issue Sep 18, 2017 · 13 comments

Comments

@mleipe
Copy link

mleipe commented Sep 18, 2017

Much of the work to be done to get Eclipse OpenJ9 build on Windows will be done in the https://github.com/ibmruntimes/openj9-openjdk-jdk9/ repository, as the makefiles, configure scripts, etc. live there.

I'm opening this issue: 1) to provide visibility of the work that's (mostly) happening in the other repository, and 2) to cover any work that needs to be done here.

@vsebe is working on this now.

@mleipe
Copy link
Author

mleipe commented Sep 18, 2017

Here's the issue in the other repo: ibmruntimes/openj9-openjdk-jdk9#18

@mstoodle
Copy link
Contributor

@vsebe could you write a short update on your progress here? I've had numerous inquiries about Windows support :)

@vsebe
Copy link
Contributor

vsebe commented Oct 16, 2017

Starting with Windows SDK 8 the rebase.exe has been removed. The functionality is still available using EDITBIN /REBASE however, due to Address Space Layout Randomization (ASLR), the rebase has no effect.
For now, we'll build it without rebasing (further investigation is required).

@pshipton
Copy link
Member

My understanding is @vsebe has -version working for Windows on a private build. There are about 3 Pull Requests that need to be created, reviewed, and merged before this is available to everyone. Note this is with the bytecode interpreter compiling with no optimization, which affects performance, and this still needs to be addressed afterwards.

build/windows-x86_64-normal-server-release/images/jdk/bin/java -version
openjdk version "9-internal"
OpenJDK Runtime Environment (build 9-internal+0-adhoc.AzureADVIOLETASebe.openj9-openjdk-jdk9latest)
Eclipse OpenJ9 VM (build 2.9, JRE 9 Windows 8.1 amd64-64 Compressed References 20171016_000000 (JIT enabled, AOT enabled)
OpenJ9   - ca639b5
OMR      - 38488b78
OpenJDK  - 275ed6548b based on jdk-9+181)

@vsebe
Copy link
Contributor

vsebe commented Oct 16, 2017

Another issue is the forced load of the dbgwrapper for windows platforms only (no dbgwrapper90). We'll work around it and not load it for eclipse openj9 builds.

@pshipton
Copy link
Member

I think everything is now merged to allow Windows "-version"? @vsebe is this correct?

@vsebe
Copy link
Contributor

vsebe commented Oct 17, 2017

I had to hack the environment to use the right linker, the msvs not the version packed by cygwin. With this hack java -version works.

@pshipton
Copy link
Member

Thanks. What is also pending are instructions for setting up the build environment.

@vsebe
Copy link
Contributor

vsebe commented Oct 17, 2017

For instructions please see ibmruntimes/openj9-openjdk-jdk9#18

@vsebe
Copy link
Contributor

vsebe commented Nov 30, 2017

Closing this issue

@pshipton
Copy link
Member

Building Windows is working now.

@pshipton pshipton changed the title WIP: Build Eclipse OpenJ9 on Windows Build Eclipse OpenJ9 on Windows Nov 30, 2017
@aguibert
Copy link

@pshipton are the windows builds published anywhere? I still only see linux distro out on adoptopenjdk.net :
https://adoptopenjdk.net/releases.html?variant=openjdk9-openj9

@pshipton
Copy link
Member

@aguibert Adopt is having problems getting the builds working ibmruntimes/openj9-openjdk-jdk9#101
Right now you need to build your own. Windows 8 support was only merged today ibmruntimes/openj9-openjdk-jdk8#19

dhong44 pushed a commit to dhong44/openj9 that referenced this issue May 31, 2018
Revert "Add access checks for MethodHandle.invoke(Exact) parameter and return"
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

5 participants