Commit graph

134 commits

Author SHA1 Message Date
Kashyap Chamarthy
d91ab53f1e Enable 'riscv64' arch
Update the various arches (jit, sa, shenandoah, and zgc) to riscv64.

(Based on:
2cd9e57c3d)

Resolves: OPENJDK-3850

Thanks: Songsong Zhang <U2FsdGVkX1@gmail.com>
Signed-off-by: Kashyap Chamarthy <kchamart@redhat.com>
2025-05-20 12:11:00 +02:00
Andrew Hughes
5e9f7c49ef Add local version of JDK-8351500 for early interim release before 21.0.8
- Resolves: OPENJDK-3679
2025-05-08 19:08:12 +01:00
Andrew Hughes
8ee7bfd71d Update to jdk-21.0.7+6 (GA)
- Update release notes to 21.0.7+6
- Rebase FIPS support against 21.0.7+5

** This tarball is embargoed until 2025-04-15 @ 1pm PT. **

- Resolves: OPENJDK-3789
2025-04-28 20:01:21 +01:00
Andrew Hughes
1c59686e89 Turn on fresh_libjvm now 21.0.5 with JDK-8329088 is released 2025-02-06 00:02:04 +00:00
Andrew Hughes
599b0666dd Bump devkit requirement to 1.0-9 to bring in updated sysroot
- Drop workaround of building s390x with dynamic libstdc++

Related: OPENJDK-3070
2025-02-06 00:01:41 +00:00
Andrew Hughes
0cd103629c Check for CentOS being defined to determine use of devkit 2025-02-06 00:01:20 +00:00
Andrew Hughes
1f564d61b0 Build with DWARF 4 debuginfo for compatibility with older toolchains
Resolves: OPENJDK-3590
2025-02-06 00:01:11 +00:00
Andrew Hughes
1c24ac223a Update to jdk-21.0.6+7 (GA)
- Update release notes to 21.0.6+7

** This tarball is embargoed until 2025-01-21 @ 1pm PT. **

Resolves: OPENJDK-3556
2025-02-05 23:58:24 +00:00
Andrew Hughes
11fc679fbb Bump devkit requirement to 1.0-8 to bring in the gcc with --enable-linker-build-id
- Related: OPENJDK-3068
2025-02-05 23:58:13 +00:00
Andrew Hughes
a199089867 Update to jdk-21.0.5+11 (GA)
- Update release notes to 21.0.5+11
- Remove local JDK-8327501 & JDK-8328366 backport as this is now upstream.
2024-10-23 01:09:06 +01:00
Andrew Hughes
f0b924f18c Update to jdk-21.0.5+10 (GA)
- Update release notes to 21.0.5+10
- Switch to GA mode.
- Revert JDK-8327501 & JDK-8328366 backport until more mature.

** This tarball is embargoed until 2024-10-15 @ 1pm PT. **

- Resolves: OPENJDK-3327
- Resolves: OPENJDK-3084
2024-10-23 01:07:27 +01:00
Andrew Hughes
8d0b8241b9 Update to jdk-21.0.5+9 (EA)
- Update release notes to 21.0.5+9
2024-10-10 01:42:32 +01:00
Andrew Hughes
b3ab291645 Update to jdk-21.0.5+5 (EA)
- Update release notes to 21.0.5+5
2024-10-10 01:42:28 +01:00
Andrew Hughes
cb08d100af Make build scripts executable 2024-10-09 00:26:40 +01:00
Andrew Hughes
e6f07c36fb Add build scripts to repository to ease remembering all CentOS & RHEL targets and options 2024-10-09 00:26:33 +01:00
Andrew Hughes
d2dc9b9e97 Update to jdk-21.0.5+1 (EA)
- Update release notes to 21.0.5+1
- Switch to EA mode
- Bump giflib version to 5.2.2 following JDK-8328999
- Bump libpng version to 1.6.43 following JDK-8329004
- Turn off fresh_libjvm following JDK-8329088 which changes jdk.internal.vm.StackChunk in CDS archive

+ echo 'Checking build JDK /builddir/build/BUILD/java-21-openjdk-21.0.5.0.1-0.1.ea.el8.s390x/newboot is operational...'
+ /builddir/build/BUILD/java-21-openjdk-21.0.5.0.1-0.1.ea.el8.s390x/newboot/bin/java -version
[0.005s][warning][cds] The shared archive file was created by a different version or build of HotSpot
[0.015s][error  ][class] Invalid layout of jdk.internal.vm.StackChunk field: bottom type: I
Error occurred during initialization of VM
2024-10-09 00:26:29 +01:00
Andrew Hughes
de95da4e24 Sync ExclusiveArch with devkit_arches on RHEL only 2024-08-04 21:30:33 +01:00
Andrew Hughes
979ec605a0 Sync with RHEL 7 portable build
- Conditionally define __os_install_post, dtsversion & pkgos only on RHEL 7
- Use ExclusiveArch over ExcludeArch
- Depend on devtoolset only on RHEL 7
- Use javapackages-filesystem rather than manually defining _jvmdir
- Restrict pandoc dependency to RHEL/CentOS 8
- Drop unused component macro
2024-08-04 21:30:10 +01:00
Andrew Hughes
38bf824faf Update to jdk-21.0.4+7 (GA)
Update release notes to 21.0.4+7
Switch to GA mode.

** This tarball is embargoed until 2024-07-16 @ 1pm PT. **

Resolves: OPENJDK-2756
Resolves: OPENJDK-3163
2024-08-04 21:28:10 +01:00
Andrew Hughes
f91ccc1ece Drop unneeded tzdata-java build dependency following f854bb3955
Resolves: OPENJDK-3190
2024-08-04 21:27:36 +01:00
Andrew Hughes
cb5b64a5b2 Limit Java only tests to one architecture using jdk_test_arch
Resolves: OPENJDK-3182
2024-08-04 21:25:53 +01:00
Andrew Hughes
3f1d698b94 Move unstripped, misc and doc tarball handling into normal build / no suffix blocks
Resolves: OPENJDK-3237
2024-08-04 21:25:47 +01:00
Andrew Hughes
37e7ff0715 Update to jdk-21.0.4+5 (EA)
Update release notes to 21.0.4+5

Resolves: OPENJDK-3133
2024-08-04 21:25:41 +01:00
Andrew Hughes
ef2914df17 Update to jdk-21.0.4+1 (EA)
- Update release notes to 21.0.4+1
- Switch to EA mode
- Bump LCMS 2 version to 2.16.0 following JDK-8321489
- Add zlib build requirement or bundled version (1.3.1), depending on system_libs setting

Resolves: OPENJDK-3061
Resolves: OPENJDK-3064
2024-08-04 21:25:32 +01:00
Andrew Hughes
f65c687f92 Update buildjdkver to match the featurever 2024-08-02 16:29:15 +01:00
Andrew Hughes
40be7a4985 Update to jdk-21.0.3+9 (GA)
- Update release notes to 21.0.3+9
- Switch to GA mode.

** This tarball is embargoed until 2024-04-16 @ 1pm PT. **
2024-08-02 16:29:12 +01:00
Andrew Hughes
c34bf46785 Update to jdk-21.0.3+7 (EA)
- Update release notes to 21.0.3+7
- Require tzdata 2024a due to upstream inclusion of JDK-8322725
- Only require tzdata 2023d for now as 2024a is unavailable in buildroot
- Drop JDK-8009550 which is now available upstream
- Re-generate FIPS patch against 21.0.3+7 following backport of JDK-8325254
2024-08-02 16:29:09 +01:00
Andrew Hughes
7f40547850 Bump devkit requirement to 1.0-6 to bring in the AS=<path>/as fix 2024-08-02 16:29:06 +01:00
Andrew Hughes
ad92ef516b Set LD_LIBRARY_PATH when calling make 2024-08-02 16:29:04 +01:00
Andrew Hughes
b5ee99063b Set LD_LIBRARY_PATH when calling configure 2024-08-02 16:29:01 +01:00
Andrew Hughes
42a86dbbd3 Set LD_LIBRARY_PATH when calling gcc to build alt-java 2024-08-02 16:28:58 +01:00
Andrew Hughes
4e980c8621 Bump devkit requirement to 1.0-5 to bring in the bootstrapped version 2024-08-02 16:28:56 +01:00
Andrew Hughes
e8be5b5e87 Require openjdk-devkit 1.0-4 to bring in fixes for .comment section and deterministic archives 2024-08-02 16:28:53 +01:00
Andrew Hughes
ec20c6f61f Rebuild CDS archives against the updated lib/modules
Related: OPENJDK-3138
2024-08-02 16:28:50 +01:00
Andrew Hughes
ed98b8e5d8 Re-run jlink to regenerate the jmods directory and lib/modules with stripped libraries
Build the java.base jmod a third time to fix the hashes of dependent jmods

Resolves: OPENJDK-3138
2024-08-02 16:28:37 +01:00
Andrew Hughes
1a817dd28d Change --with-source-date value to 'version' to match Temurin builds
Resolves: OPENJDK-2585
2024-08-02 13:54:37 +01:00
Andrew Hughes
0117d50ec4 Vary reproducible tar creation by version of tar detected
- Set OPENJDK_UPSTREAM_TAG_EPOCH & VERSION_FILE at start of build section as in 17u
- Pass in transform argument rather than the entire option to avoid quoting issues in createtar
- Exclude debuginfo from JDK & JRE portable tarballs

Resolves: OPENJDK-2995
2024-08-02 13:54:33 +01:00
Andrew Hughes
b07873afde Use RHEL-7 tar-1.26-compatible invocations for reproducible tarballs 2024-08-02 13:54:25 +01:00
Andrew Hughes
a77b282a0f Remove -T0 argument from systemtap tar invocation
RHEL-7's version of tar, 1.26, does not support arguments.  The xz
invocation is already covered by the export of XZ_OPT earlier in
that section though, so this is not needed anyway.

From the tar 1.26 man page:

       -I, --use-compress-program=PROG
              filter through PROG (must accept -d)

versus Fedora's version of tar, 1.34:

      -I, --use-compress-program=COMMAND
              Filter  data through COMMAND.  It must accept the -d option, for
              decompression.  The argument can contain command line options.
2024-08-02 13:54:22 +01:00
Andrew Hughes
87472dac87 generate_source_tarball.sh: Double-quote DEPTH reference (SC2086)
- generate_source_tarball.sh: Avoid empty DEPTH reference while still appeasing shellcheck
2024-08-02 13:54:18 +01:00
Andrew Hughes
a92f1e2a23 generate_source_tarball.sh: Output values of new options WITH_TEMP and OPENJDK_LATEST 2024-08-02 13:53:41 +01:00
Andrew Hughes
119d303d9e Fix maintenance scripts to pass shellcheck
- discover_trees.sh: Set compile-command and indentation instructions for Emacs
- discover_trees.sh: shellcheck: Do not use -o (SC2166)
- discover_trees.sh: shellcheck: Remove x-prefixes since we use Bash (SC2268)
- discover_trees.sh: shellcheck: Double-quote variable references (SC2086)
- generate_source_tarball.sh: Add authorship
- icedtea_sync.sh: Set compile-command and indentation instructions for Emacs
- icedtea_sync.sh: shellcheck: Double-quote variable references (SC2086)
- icedtea_sync.sh: shellcheck: Remove x-prefixes since we use Bash (SC2268)
- openjdk_news.sh: Set compile-command and indentation instructions for Emacs
- openjdk_news.sh: shellcheck: Double-quote variable references (SC2086)
- openjdk_news.sh: shellcheck: Remove x-prefixes since we use Bash (SC2268)
- openjdk_news.sh: shellcheck: Remove deprecated egrep usage (SC2196)
2024-08-02 13:53:36 +01:00
Andrew Hughes
87c6ee5f83 Move maintenance scripts to a scripts subdirectory 2024-08-02 13:53:31 +01:00
Andrew Hughes
e72dd85628 icedtea_sync.sh: Reinstate from rhel-8.9.0 branch 2024-08-02 13:53:26 +01:00
Andrew Hughes
d5fb751001 generate_source_tarball.sh: Only add --depth=1 on non-local repositories 2024-08-02 13:52:53 +01:00
Andrew Hughes
a8a6c6f4aa generate_source_tarball.sh: Add indentation instructions for Emacs 2024-08-02 13:52:48 +01:00
Andrew Hughes
4d9cb5079f generate_source_tarball.sh: Create directory in TMPDIR when using WITH_TEMP 2024-08-02 13:52:09 +01:00
Andrew Hughes
4c5d297698 generate_source_tarball.sh: Cleanup message issued when checkout already exists 2024-08-02 13:52:02 +01:00
Andrew Hughes
fb6eb32f04 generate_source_tarball.sh: Add license 2024-08-02 13:51:57 +01:00
Andrew Hughes
e83ef6c0c5 generate_source_tarball.sh: Update examples in header for clarity 2024-08-02 13:51:52 +01:00