-
Notifications
You must be signed in to change notification settings - Fork 6.2k
8248238: Implementation: JEP 388: Windows AArch64 Support #212
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
Conversation
|
👋 Welcome back mbeckwit! A progress list of the required criteria for merging this PR into |
|
@mo-beck The following labels will be automatically applied to this pull request: When this pull request is ready to be reviewed, an RFR email will be sent to the corresponding mailing lists. If you would like to change these labels, use the |
|
/issue add 8248672,8248500,8248500,8248676,8248663,8248681,8248498,8248656,8248659,8248660,8248670,8248787,824794 |
|
@mo-beck The issue |
|
@mo-beck |
|
@mo-beck |
|
@mo-beck |
|
/issue add 8248672,8248500,8248500,8248676,8248663,8248681,8248498,8248656,8248659,8248660,8248670,8248787,8247941 |
|
/issue add 8248672,8248500,8248500,8248676,8248663,8248681,8248498,8248656,8248659,8248660,8248670,8248787,8247941 |
|
@mo-beck Adding additional issue to issue list: Adding additional issue to issue list: Adding additional issue to issue list: Adding additional issue to issue list: Adding additional issue to issue list: Adding additional issue to issue list: Adding additional issue to issue list: Adding additional issue to issue list: Adding additional issue to issue list: Adding additional issue to issue list: Adding additional issue to issue list: Adding additional issue to issue list: |
|
/issue remove 8247941 |
|
@mo-beck |
bb5aeb3 to
26e4af3
Compare
Webrevs
|
erikj79
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Build changes look good to me. I will take this branch for a spin.
|
Our linux-aarch64 build fails with this: I'm trying to configure a windows-aarch64 build, but it fails on fixpath. Is this something you are also experiencing, and if so, how are you addressing it? |
|
Hey @erikj79, thank you so much for giving it a try!
Hmm, that's interesting. What environment is that exactly? What $ cat /etc/issue
Ubuntu 19.10 \n \l
$ bash configure --with-boot-jdk=/home/beurba/work/jdk-16+13 --with-jtreg
$ make clean CONF=linux-aarch64-server-release
$ make images JOBS=255 LOG=info CONF=linux-aarch64-server-release
$ ./build/linux-aarch64-server-release/images/jdk/bin/java -XshowSettings:properties -version 2>&1 | grep aarch64
java.home = /home/beurba/work/jdk/build/linux-aarch64-server-release/images/jdk
os.arch = aarch64
sun.boot.library.path = /home/beurba/work/jdk/build/linux-aarch64-server-release/images/jdk/lib
Yes. As far as I understand, the problem is that |
make/autoconf/toolchain.m4
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here is a problem. In our linux cross compile build, we rely on the PATH being completely overwritten with the paths from the devkit here. Otherwise the UTIL_REQUIRE_PROGS may find /usr/bin/cc before $BUILD_DEVKIT_TOOLCHAIN_PATH/gcc.
This is the reason my linux-aarch64 (cross compile) build failed. The system installed cc was too old to recognize the -stdc=c++14 argument.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume you need the rest of the PATH on Windows.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume you need the rest of the PATH on Windows.
Doesn't look like it actually. I've reverted it, thanks for catching it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I tried the updated patch and it works now.
|
Mailing list message from Andrew Haley on build-dev: On 18/09/2020 11:14, Monica Beckwith wrote:
It's still wrong, I'm afraid. This is not a full barrier: +#define FULL_MEM_BARRIER atomic_thread_fence(std::memory_order_acq_rel); it is only StoreStore|LoadStore|LoadLoad, but you need StoreLoad as Use: +#define FULL_MEM_BARRIER atomic_thread_fence(std::memory_order_seq_cst); See here: https://en.cppreference.com/w/cpp/atomic/memory_order memory_order_seq_cst "...plus a single total order exists in which all -- |
|
Mailing list message from Andrew Haley on build-dev: On 18/09/2020 11:14, Monica Beckwith wrote:
The diffs in assembler_aarch64.cpp are mostly spurious. Please try this. -- def generate(self): def astr(self, prefix): def generate(self): def astr(self, prefix = ""): class GeneralRegisterOrSp(Register): def astr(self, prefix = ""): |
|
Mailing list message from Andrew Haley on build-dev: On 28/09/2020 20:12, Bernhard Urban-Forster wrote:
This is wrong. We can't use the register in Linux either, except in -- |
magicus
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Build changes look good.
|
@theRealAph okay, I've changed the string representation of |
Changes look good. Thanks. I'm marking as "reviewed" for serviceability changes and copyrights. |
|
/integrate |
|
Mailing list message from Ludovic Henry on hotspot-dev: Hi, As we now have a whole bunch of reviews (thank you all!), we would need a sponsor to get it merged. Thank you :) ------------- PR: https://github.com//pull/212 |
|
Mailing list message from David Holmes on build-dev: Hi, On 2/10/2020 1:48 am, Ludovic Henry wrote:
The JEP is not yet targeted so we have to wait for that formality. But Also note that the PR references the wrong JEP so can you please edit Meanwhile I'll see if I can take this for a spin through our internal Cheers,
|
|
Mailing list message from Ludovic Henry on build-dev: Hi David,
Perfect, I didn't know about the need for the JEP to be targeted before the merge.
I'll work with @monica to update the PR's description to point to https://openjdk.java.net/jeps/391 instead. Thank you! |
|
Mailing list message from Daniel D. Daugherty on build-dev: So I'm confused... this PR is associated with this bug ID:
and JDK-8248238 is associated with this JEP:
Am I missing something here? Dan On 10/1/20 5:56 PM, Ludovic Henry wrote:
|
|
Mailing list message from Ludovic Henry on build-dev: It?s me who made a mistake. This PR should be associated with JEP 388 as you are rightly pointing out. From: Daniel D. Daugherty <daniel.daugherty at oracle.com> So I'm confused... this PR is associated with this bug ID: Issue * JDK-8248238<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.openjdk.java.net%2Fbrowse%2FJDK-8248238&data=02%7C01%7Cluhenry%40microsoft.com%7Ce428223ea04a45c2d40308d866562328%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637371867436454353&sdata=FV0tr%2FktSPQDxHkI1JMr7UCgW4ygPi8d4yKsGuPVUg8%3D&reserved=0>: Implementation of JEP: Windows AArch64 Support and JDK-8248238 is associated with this JEP: JDK-8248496<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.openjdk.java.net%2Fbrowse%2FJDK-8248496&data=02%7C01%7Cluhenry%40microsoft.com%7Ce428223ea04a45c2d40308d866562328%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637371867436454353&sdata=HAjFLX%2BtIaKz%2FFULuav%2BUXn6qTZb%2BkjiS4ijsWw7RQE%3D&reserved=0> JEP 388: Windows/AArch64 Port Am I missing something here? Dan On 10/1/20 5:56 PM, Ludovic Henry wrote: Hi David, The JEP is not yet targeted so we have to wait for that formality. But once that happens I can sponsor for you. Perfect, I didn't know about the need for the JEP to be targeted before the merge. Also note that the PR references the wrong JEP so can you please edit the description to fix that. I'll work with @monica to update the PR's description to point to https://openjdk.java.net/jeps/391<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fopenjdk.java.net%2Fjeps%2F391&data=02%7C01%7Cluhenry%40microsoft.com%7Ce428223ea04a45c2d40308d866562328%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637371867436464348&sdata=Pj%2FNQvzEa8mrhvY75OFVBG7k623Mgnr56Xo3On%2BoQGo%3D&reserved=0> instead. Thank you! Ludovic |
Thanks.
Added JEP # (388) here and updated the JBS entry.
As soon as the JEP is targetted, I will update the "Fix version" for the 'Implementation' (JDK-8248238) and ping you @dholmes-ora .
Regards,
|
|
@mo-beck The initial comment still has this incorrect link: [2] https://openjdk.java.net/jeps/8251280 Please edit the comment and fix the link. |
|
/sponsor |
|
@dholmes-ora @mo-beck Since your change was applied there have been 93 commits pushed to the
Your commit was automatically rebased without conflicts. Pushed as commit 9604ee8. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
That was a link to the macOS + Arm64 port. But I have removed it as it wasn't needed in the description of this implementation. |
This is a continuation of https://mail.openjdk.java.net/pipermail/aarch64-port-dev/2020-August/009566.html.
Changes since then:
R18_RESERVED. This will be enabled for Windows only for now but will be required for macOS+Aarch64.[1] https://mail.openjdk.java.net/pipermail/aarch64-port-dev/2020-August/009597.html
Progress
Issue
Reviewers
Contributors
<[email protected]><[email protected]><[email protected]>Download
$ git fetch https://git.openjdk.java.net/jdk pull/212/head:pull/212$ git checkout pull/212