python/manuel: update to 1.13.0
[oi-userland.git] / components / runtime / openjdk-21 / patches / README-zero.txt
blob8d68cb4fa4651f3b6437c3f7a5ab8e78956206b3
1 "Zero is a port of OpenJDK that uses no assembler and therefore can
2 trivially be built on any system."
4 https://openjdk.java.net/projects/zero/
6 The idea here is to potentially have an illumos port of zero. It's not
7 so interesting on x86, for which we have a proper port anyway, but if
8 we can get zero to work on x86 then it should be possible to get it to
9 work on sparc too.
11 It still needs the basic solaris patchset. It's designed more to support
12 new hardware architectures (hence the zero assembler) than as a way to
13 do an OS port.
15 There are 2 patches:
17 illumos-zero-1.patch
18 Fixes src/hotspot/cpu/zero/stubGenerator_zero.cpp
20 illumos-zero-2.patch
21 Adds the src/hotspot/os_cpu/solaris_zero directory and contents
23 These are current and tested for a successful build (not necessarily
24 fully working) as of jdk 21.0.1. They don't provide a proper zero port,
25 as they still have assembler that needs to be removed. But this
26 provides a starting point.
28 The two patches above are now applied by default, so we at least catch
29 any source incompatibilities early.
31 Configure:
33 env PATH=/usr/bin:/usr/sbin:/usr/sfw/bin:/usr/gnu/bin bash ./configure \
34 --enable-unlimited-crypto --with-boot-jdk=/usr/jdk/instances/jdk20 \
35 --with-native-debug-symbols=none \
36 --with-toolchain-type=gcc \
37 --disable-dtrace \
38 --disable-warnings-as-errors \
39 --enable-jvm-feature-zero --with-jvm-variants=zero \
40 --with-source-date=current \
41 --with-jobs=3 \
42 DATE=/usr/gnu/bin/date \
43 STRIP=/usr/gnu/bin/strip
45 build:
47 env PATH=/usr/bin:/usr/sbin:/usr/sfw/bin:/usr/gnu/bin gmake all CONF=solaris-x86_64-zero-release