Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

OpenJDK 17 #6

Closed
3 tasks done
jaxvanyang opened this issue Apr 29, 2023 · 11 comments
Closed
3 tasks done

OpenJDK 17 #6

jaxvanyang opened this issue Apr 29, 2023 · 11 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@jaxvanyang
Copy link
Owner

jaxvanyang commented Apr 29, 2023

  • Get the source code archive.
  • Build & test on local machine (using Clang).
  • Develop on branch openjdk-17.

References:

@Crazyokd

@jaxvanyang jaxvanyang added the enhancement New feature or request label Apr 29, 2023
@jaxvanyang jaxvanyang self-assigned this Apr 29, 2023
@jaxvanyang jaxvanyang added help wanted Extra attention is needed good first issue Good for newcomers labels Apr 29, 2023
@Crazyokd Crazyokd self-assigned this Apr 30, 2023
@jaxvanyang
Copy link
Owner Author

jaxvanyang commented May 5, 2023

Build pass, but test failed because [JDK-8272472] StackGuardPages test doesn't build with glibc 2.34 - Java Bug System

Plan to build OpenJDK 18 instead: #9

@Crazyokd
Copy link
Collaborator

Crazyokd commented May 5, 2023

Build pass, but test failed because [JDK-8272472] StackGuardPages test doesn't build with glibc 2.34 - Java Bug System

编译时不能加上glibc吗?18虽说修复了,但指不定又有其他的bug

@jaxvanyang
Copy link
Owner Author

Build pass, but test failed because [JDK-8272472] StackGuardPages test doesn't build with glibc 2.34 - Java Bug System

编译时不能加上glibc吗?18虽说修复了,但指不定又有其他的bug

应该能,但是麻烦,GCC 应该也有 glibc 依赖问题。

@jaxvanyang
Copy link
Owner Author

Build pass, but test failed because [JDK-8272472] StackGuardPages test doesn't build with glibc 2.34 - Java Bug System

编译时不能加上glibc吗?18虽说修复了,但指不定又有其他的bug

可能换 clang 会更简单一些,--with-toolchain-type=clang,但是测试环境还没装。

@jaxvanyang jaxvanyang reopened this May 5, 2023
@jaxvanyang
Copy link
Owner Author

想搞的话参考下 openjdk-18 分支 @Crazyokd

@jaxvanyang
Copy link
Owner Author

想搞的话参考下 openjdk-18 分支 @Crazyokd

openjdk-18 也寄了:#9

找到了 OpenJDK 17 的 patch:archriscv-packages/java17-openjdk at master · felixonmars/archriscv-packages · GitHub

和源仓库:openjdk/riscv-port: https://openjdk.org/projects/riscv-port

@Crazyokd
Copy link
Collaborator

先放个17下载链接 https://github.com/openjdk/jdk/archive/refs/tags/jdk-17-ga.tar.gz,我用我的arch去编译一下。

@jaxvanyang
Copy link
Owner Author

@Crazyokd
Copy link
Collaborator

ok

@jaxvanyang
Copy link
Owner Author

原来 GA 之后还有 update release……

@jaxvanyang
Copy link
Owner Author

未经任何修改在 amd64 和 riscv64 的机器上编译通过。

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants