Andreas Wacknitz
2024-04-09 7bea32fd382fe993229cd2db29c3a13cb8138b09
commit | author | age
5568bb 1 This is derived from the pkgsrc-joyent set for openjdk11
NP 2 https://github.com/joyent/pkgsrc-joyent/tree/master/openjdk11
9fc4b4 3
5568bb 4 All patches -p0
9fc4b4 5
5568bb 6 This set of patches for jdk11u
9fc4b4 7
ea30ff 8 11.0.20
NP 9
10 Minor patch update needed in Awt2dLibraries.gmk
11
e994db 12 11.0.19
NP 13
14 Rework of the way the build and target OS is identified.
15
5568bb 16 11.0.16
9fc4b4 17
5568bb 18 Fix the memcntl signature for recent illumos changes.
9fc4b4 19
5568bb 20 11.0.13
9fc4b4 21
5568bb 22 Just a little patch noise to tidy up
9fc4b4 23
5568bb 24 11.0.12 - remove illumos-cpu_microcode_revision.patch, there's an
NP 25 equivalent stub fix applied upstream so we don't need to do it
9fc4b4 26
5568bb 27 Removed:
9fc4b4 28
5568bb 29 patch-make_autoconf_flags-other.m4 - breaks as
NP 30 patch-make_autoconf_lib-bundled.m4 - breaks zlib
31 patch-make_lib_Lib-java.instrument.gmk - remove -liconv
32 patch-make_lib_Lib-jdk.jdwp.agent.gmk - remove -liconv
33 patch-make_autoconf_flags-ldflags.m4 - broken as of 11.0.7
9fc4b4 34
5568bb 35 Modified:
9fc4b4 36
5568bb 37 patch-make_lib_Awt2dLibraries.gmk - remove -liconv
NP 38 patch-make_launcher_LauncherCommon.gmk - breaks zlib
39 patch-make_launcher_Launcher-jdk.pack.gmk - breaks zlib
9fc4b4 40
5568bb 41 Anything named tribblix* is my additional patches:
9fc4b4 42
5568bb 43 tribblix-attachListener_solaris.patch
NP 44   fixes incorrect arguments
9fc4b4 45
5568bb 46 tribblix-flags-cflags.patch 
NP 47   remove SSP
9fc4b4 48
5568bb 49 tribblix-Launcher-jdk.patch
NP 50 tribblix-LauncherCommon.patch
51   KPIC -> fPIC
9fc4b4 52
5568bb 53 tribblix-agent-mt.patch
NP 54   remove -mt
9fc4b4 55
5568bb 56 tribblix-flags-ldflags.patch
NP 57 tribblix-flags-ldflags2.patch
58   replace the broken patch-make_autoconf_flags-ldflags.m4
9fc4b4 59
5568bb 60 tribblix-flags-ldflags3.patch
NP 61   don't use -pie or --allow-shlib-undefined
9fc4b4 62
5568bb 63 tribblix-demangle1.patch
NP 64 tribblix-demangle2.patch
65 tribblix-demangle3.patch
66 tribblix-demangle4.patch
67   use the gcc demangle rather than the Studio demangle
9fc4b4 68
e994db 69 tribblix-sparc1.patch
NP 70   some basic fixes necessary (but not sufficient) for a SPARC build
71
72 tribblix-sparc2.patch
73   fixes to enable a sparc build with gcc; it's possible that using the
74   atomic_linux_sparc.hpp from linux_sparc rather than
75   atomic_solaris_sparc.hpp from solaris_sparc may also be required 
76
5568bb 77 Build:
9fc4b4 78
e994db 79 Use a jdk11 build as a bootstrap (from Liberica or Azul should also
NP 80 work if your distro doesn't have one yet).
9fc4b4 81
5568bb 82 env PATH=/usr/bin:/usr/sbin:/usr/sfw/bin:/usr/gnu/bin bash ./configure \
e994db 83 --enable-unlimited-crypto --with-boot-jdk=/usr/jdk/instances/jdk11 \
5568bb 84 --with-native-debug-symbols=none \
NP 85 --with-toolchain-type=gcc \
86 --disable-hotspot-gtest --disable-dtrace \
87 --disable-warnings-as-errors
9fc4b4 88
5568bb 89 env PATH=/usr/bin:/usr/sbin:/usr/sfw/bin:/usr/gnu/bin gmake all