Commit Graph

541 Commits

Author SHA1 Message Date
Andrew Hughes
51e816fae7 Fix changes in Provides from system_jdk backport.
Re-introduce java-openjdk-src & java-openjdk-demo for system_jdk builds.
Fix accidental renaming of java-openjdk-devel to java-devel-openjdk.
2020-07-09 14:09:13 +00:00
Jiri
520c054982 prepared to become non system jdk soon, by backporting is_system_jdk patch from jdk11
Added is_system_jdk variable, but left it on 1, used that variable where neessary
2020-07-09 13:51:31 +02:00
Andrew Hughes
3deda8834c Update to aarch64-shenandoah-jdk8u262-b05. 2020-07-08 14:32:20 +00:00
Andrew Hughes
dbcd01e2cd Update to aarch64-shenandoah-jdk8u262-b04. 2020-07-05 20:08:59 +00:00
Andrew Hughes
2d62096aa2 Enable JFR in our builds, ahead of upstream default.
Only enable JFR for JIT builds, as it is not supported with Zero.
Turn off JFR on x86 for now due to assert(SerializePageShiftCount == count) crash.
Explicitly list jfr.jar, default.jfc & profile.jfc in the spec file.
Introduce jfr_arches for architectures which support JFR.
Use sa_arches for libsaproc.so inclusion.
Move LTO handling to same location as other compiler flags handling.
2020-07-04 00:53:45 +00:00
Jeff Law
83f96774d0 Disable LTO 2020-07-01 15:24:49 -06:00
Jayashree Huttanagoudar
c7cf54633e Added --with-vendor id and URL family of switches 2020-06-29 15:59:44 +00:00
Andrew Hughes
94a926c49f Update to aarch64-shenandoah-jdk8u262-b03-shenandoah-merge-2020-05-20. 2020-06-28 20:50:32 +00:00
Andrew Hughes
9c5c3ce478 Update to aarch64-shenandoah-jdk8u262-b03.
Remove JDK-8244461 & JDK-8233880 backports included upstream in b03.
2020-06-28 19:18:23 +00:00
Andrew Hughes
2e4f5f7362 Update to aarch64-shenandoah-jdk8u262-b02. 2020-06-22 21:52:12 +00:00
Andrew Hughes
6a8794519b Update to aarch64-shenandoah-jdk8u262-b01.
Switch to EA mode.
Adjust JDK-8143245/PR3548 patch following context changes due to JDK-8203287 for JFR
Adjust RH1648644 following context changes due to introduction of JFR packages
Add jfr binary to devel package and alternatives set
2020-06-22 14:08:13 +00:00
Andrew Hughes
ecbc6fc63c Add release notes. 2020-06-19 01:14:48 +00:00
Andrew Hughes
e2af37c969 Update to aarch64-shenandoah-jdk8u252-b09.
Switch to GA mode for final release.
2020-06-18 17:02:46 +00:00
Andrew Hughes
4c801115aa Update to aarch64-shenandoah-jdk8u252-b08.
Drop JDK-8241296 backport now applied upstream.
2020-06-18 13:40:42 +00:00
Andrew Hughes
c2b3779975 Update to aarch64-shenandoah-jdk8u252-b07. 2020-06-17 15:54:42 +00:00
Andrew Hughes
f26926bcdf Update to aarch64-shenandoah-jdk8u252-b06.
Drop upstreamed AArch64 fix JDK-8224851
2020-06-12 20:59:00 +00:00
Andrew Hughes
59400e18b9 Update to aarch64-shenandoah-jdk8u252-b05. 2020-06-10 22:40:29 +01:00
Andrew Hughes
319a158b9d Update to aarch64-shenandoah-jdk8u252-b04. 2020-06-08 16:24:44 +01:00
Andrew John Hughes
eed066a1b1 Update to aarch64-shenandoah-jdk8u252-b03.
Adjust PR2974/RH1337583 & PR3083/RH1346460 following context changes in JDK-8230978
2020-06-07 18:38:05 +01:00
Andrew John Hughes
c32fe48733 Update to aarch64-shenandoah-jdk8u252-b02. 2020-06-02 09:54:40 +01:00
Andrew John Hughes
f2a4910fb1 Update generate_source_tarball.sh script to use the PR3756 patch and retain the secp256k1 curve.
Regenerate source tarball using the updated script and add the -'4curve' suffix.
2020-05-22 12:56:41 +01:00
Nicolas De Amicis
284f947552 Switch package dependency openjfx from openjfx to openjfx8 2020-05-20 14:31:20 +01:00
Andrew John Hughes
39e7af2cc3 Backport JDK-8233880 to fix version detection of GCC 10.
Remove compiler flags used to disable GCC optimisations. This is now
resolved by -fno-delete-null-pointer-checks and -fno-lifetime-dse being turned
on in the upstream build, after GCC >= 6 is detected.
2020-05-18 15:08:21 +01:00
Andrew John Hughes
d2472c46bd Update to aarch64-shenandoah-jdk8u252-b01.
Switch to EA mode.
Adjust JDK-8199936/PR3533 patch following JDK-8227397 configure change
Make use of --with-extra-asflags introduced in jdk8u252-b01.
2020-05-08 06:29:15 +01:00
Severin Gehwolf
5ff7ed65db Add patch so as to remove unused include of sys/sysctl.h
Tracked upstream as JDK-8244461
2020-05-05 19:57:05 +02:00
Andrew John Hughes
1b1cbf2cdf Introduce stapinstall variable to set SystemTap arch directory correctly (e.g. arm64 on aarch64)
Include support for noarch for when koji creates source RPMs
2020-03-31 20:19:21 +01:00
Andrew John Hughes
c20d187fd6 Replace Bash 'if' with rpm '%if'
Resolves: rhbz#1813550
2020-03-22 11:39:57 +00:00
Andrew John Hughes
c3c571de83 Restructure the build so a minimal initial build is then used for the final build (with docs)
This reduces pressure on the system JDK and ensures the JDK being built can do a full build

Resolves: rhbz#1813550
2020-03-22 11:26:13 +00:00
Andrew John Hughes
1b81e9374a Backport JDK-8241296 to fix segfaults when active_handles is NULL
Resolves: rhbz#1813550
2020-03-20 14:22:42 +00:00
Andrew John Hughes
c374350ed3 Sync SystemTap & desktop files with upstream IcedTea release 3.15.0, removing previous workarounds 2020-03-13 05:37:00 +00:00
Andrew John Hughes
7d607cb730 Update to aarch64-shenandoah-jdk8u242-b08. 2020-03-12 13:27:15 +00:00
Severin Gehwolf
d22128935c Use proper JDK 8 patch for JDK-8224851 2020-03-06 12:31:02 +01:00
Severin Gehwolf
15561557e2 Bump release and add changelog 2020-03-04 20:20:06 +01:00
Severin Gehwolf
b2021a545e Refer to right JDK patch for aarch macro assembler redeclaration 2020-03-04 20:13:01 +01:00
Severin Gehwolf
4408c26107 Add patch for JDK-8218811, which fixes a GCC 10 build issue 2020-03-04 20:13:01 +01:00
Severin Gehwolf
e2c0e0e311 Disable a bag of GCC 10 OPTO flags for a working build 2020-03-04 20:13:01 +01:00
Severin Gehwolf
43d1f0cd18 Account for -fno-common default and dupl. declaration. 2020-03-04 20:13:01 +01:00
Andrew John Hughes
8d461f86a1 Update to aarch64-shenandoah-jdk8u242-b07.
Remove Shenandoah S390 patch which is now included upstream as JDK-8236829.
2020-02-23 14:56:09 +00:00
Jiří Andrlík
37a3e11202 Update java-1.8.0-openjdk.spec 2020-02-03 11:05:37 +00:00
Jiří Andrlík
c5a2af3ced Update java-1.8.0-openjdk.spec
minor fix for provides, corresponding to java specification
2020-02-03 10:31:27 +00:00
Fedora Release Engineering
8e1050fbe7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 05:53:52 +00:00
Andrew John Hughes
f6d97d2b3f Update to aarch64-shenandoah-jdk8u242-b06 (EA) 2020-01-10 03:27:33 +00:00
Andrew John Hughes
e8963d243c Update to aarch64-shenandoah-jdk8u242-b05.
Attempt to fix Shenandoah formatting failures on S390, introduced by JDK-8232102.
Revise b05 snapshot to include JDK-8236178.
Add additional Shenandoah formatting fixes revealed by successful -Wno-error=format run
Fix patch numbering to avoid conflicts with other versions of this spec file.
2020-01-09 02:13:41 +00:00
Andrew John Hughes
c9d9d1d1c3 Update to aarch64-shenandoah-jdk8u242-b04. 2019-12-19 04:05:42 +00:00
Andrew John Hughes
ec2600149f Update to aarch64-shenandoah-jdk8u242-b02. 2019-12-04 10:40:56 -05:00
Andrew John Hughes
80c3dbcf3a Update to aarch64-shenandoah-jdk8u242-b01.
Switch to EA mode.
2019-11-14 19:11:33 +00:00
Andrew John Hughes
f757741e9a Update to aarch64-shenandoah-jdk8u232-b09.
Switch to GA mode for final release.
Remove PR1834/RH1022017 which is now handled by JDK-8228825 upstream.
2019-10-16 00:31:30 +01:00
Andrew John Hughes
aa6a3a918f Update to aarch64-shenandoah-jdk8u232-b08. 2019-10-15 08:00:35 +01:00
Andrew John Hughes
a6e8078fc4 Update to aarch64-shenandoah-jdk8u232-b05-shenandoah-merge-2019-09-09. 2019-10-14 05:15:20 +01:00
Andrew John Hughes
32b2278b49 Update to aarch64-shenandoah-jdk8u232-b05.
Drop upstreamed patch JDK-8141570/PR3548.
Adjust context of JDK-8143245/PR3548 to apply against upstream JDK-8141570.
2019-10-11 17:42:00 +01:00
Andrew Hughes
517cf68f1a Update to aarch64-shenandoah-jdk8u232-b01.
Switch to EA mode.
Drop JDK-8210761/RH1632174 as now upstream.
Drop JDK-8223219 as now upstream.
JDK-8226870 removed clhsdb and hdsdb from the JRE bin directory, so we should do likewise.
Add alternatives support for these two new SDK binaries.
2019-09-30 04:34:39 +01:00
Andrew Hughes
b66e592e09 Switch to in-tree SunEC code, dropping NSS runtime dependencies and patches to link against it. 2019-08-15 22:01:36 +01:00
Andrew Hughes
d7a3fcfdc3 Drop unnecessary build requirement on gtk2-devel, as OpenJDK searches for Gtk+ at runtime.
Add missing build requirements for libXext-devel and libXrender-devel, previously masked by Gtk2+ dependency.
fontconfig build requirement should be fontconfig-devel, previously masked by Gtk2+ dependency
2019-08-13 14:34:17 +01:00
Andrew Hughes
27d2d5d841 Don't produce javadoc/javadoc-zip sub packages for the debug variant build.
Don't perform a bootcycle build for the debug variant build.
Obsolete javadoc-debug and javadoc-debug-zip packages via javadoc and javadoc-zip respectively.
2019-07-31 18:26:35 +01:00
Andrew Hughes
2ee1d54ad2 Update to aarch64-shenandoah-jdk8u222-b10.
Adjust PR3083/RH134640 to apply after JDK-8182999
Switch to GA mode for final release.
2019-07-31 16:34:14 +01:00
Andrew Hughes
b0a4cbd6ae Update to aarch64-shenandoah-jdk8u222-b07 and Shenandoah merge 2019-06-13.
Drop remaining JDK-8210425/RH1632174 patch now AArch64 part is upstream.
2019-07-31 15:54:20 +01:00
Andrew Hughes
815a9a0a0f Update to aarch64-shenandoah-jdk8u222-b03.
Drop 8210425 patches applied upstream. Still need to add AArch64 version in aarch64/shenandoah-jdk8u.
Re-generate JDK-8141570 & JDK-8143245 patches due to 8210425 zeroshark.make changes.
2019-07-31 13:58:09 +01:00
Andrew Hughes
a0104f5543 Update to aarch64-shenandoah-jdk8u222-b02.
Drop 8064786/PR3599 & 8210416/RH1632174 as applied upstream (8064786 silently in 8176100).
2019-07-31 04:19:52 +01:00
Andrew Hughes
90ed3e9e6e Make use of Recommends and Suggests dependent on Fedora or RHEL 8+ environment. 2019-07-24 17:58:37 +01:00
Andrew Hughes
2a3db76e6c Update to aarch64-shenandoah-jdk8u222-b01.
Refactor PR2888 after inclusion of 8129988 upstream. Now includes PR3575.
Drop 8171000 & 8197546 as applied upstream.
2019-07-24 05:07:05 +01:00
Andrew John Hughes
b961b8d01b Handle milestone as variables so we can alter it easily and set the docs zip filename appropriately.
Drop unused use_shenandoah_hotspot variable.
Include 'ea' designator in Release when appropriate.
2019-07-23 11:24:34 +01:00
Andrew Hughes
c8c45a0ca9 Update to aarch64-shenandoah-jdk8u212-b04-shenandoah-merge-2019-04-30.
Update version logic to handle -shenandoah* tag suffix.
Drop PR3634 as applied upstream.
Adjust 8214206 fix for S390 as BinaryMagnitudeSeq moved to shenandoahNumberSeq.cpp
Update 8214206 to use log2_long rather than casting to intptr_t, which may be smaller than size_t.
2019-06-24 15:23:59 +01:00
Andrew Hughes
21659ad3b8 Remove additions to EXTRA_CFLAGS and EXTRA_CPP_FLAGS which are now made by upstream.
Remove -mstackrealign addition which is handled by PR3533 & PR3591 patches.
2019-05-22 20:00:06 +01:00
Andrew Hughes
f44ae83b99 Add JDK-8223219 to avoid -fstack-protector overriding -fstack-protector-strong 2019-05-22 18:32:23 +01:00
James Cassell
554136ca03 mark net.properties as a config file 2019-05-20 18:40:47 -04:00
Andrew Hughes
c780195351 Update patch for RH1566890.
Renamed rh1566890_speculative_store_bypass_so_added_more_per_task_speculation_control_CVE_2018_3639 to
  rh1566890-CVE_2018_3639-speculative_store_bypass.patch
Added dependent patch,
  rh1566890-CVE_2018_3639-speculative_store_bypass_toggle.patch
2019-05-13 04:59:45 +01:00
Andrew Hughes
1d1b2c06b6 Update to aarch64-shenandoah-jdk8u212-b04. 2019-04-19 17:23:03 +01:00
Andrew Hughes
ce1fed4229 Update to aarch64-shenandoah-jdk8u212-b03. 2019-04-18 06:06:18 +01:00
Andrew Hughes
c7048023e9 Update to aarch64-shenandoah-jdk8u212-b02.
Remove patches included upstream
- JDK-8197429/PR3546/RH153662{2,3}
- JDK-8184309/PR3596
- JDK-8210647/RH1632174
- JDK-8029661/PR3642/RH1477159
- JDK-8145096/PR3693
Re-generate patches
- JDK-8203030
Add casts to resolve s390 ambiguity in calls to log2_intptr
Move JDK-8219772 to correct section as not yet upstreamed
Add new clhsdb and hsdb binaries.

Resolves: rhbz#1680640
2019-04-17 02:39:14 +01:00
Andrew Hughes
2f0cb2fea7 Update to aarch64-shenandoah-jdk8u202-b08.
Remove patches included upstream
- JDK-8211387/PR3559
- JDK-8207057/PR3613
- JDK-8165852/PR3468
- JDK-8073139/PR1758/RH1191652
- JDK-8044235
- JDK-8172850/RH1640127
- JDK-8209639/RH1640127
- JDK-8131048/PR3574/RH1498936
- JDK-8164920/PR3574/RH1498936
Re-generate patches
- JDK-8210647/RH1632174
2019-04-11 18:03:40 +01:00
Andrew Hughes
6acda86f24 Update to aarch64-shenandoah-jdk8u201-b13.
Drop JDK-8160748 & JDK-8189170 AArch64 patches now applied upstream.
2019-04-11 03:27:52 +01:00
Andrew Hughes
37a4ca2b33 Sync SystemTap & desktop files with upstream IcedTea release using new script 2019-04-10 17:46:00 +01:00
Peter Robinson
748cdfdfc6 Drop chkconfig dep, 1.7 shipped in f24, actual dep is done by the alternatives binary, and is now a separate sub package. 2019-03-20 23:44:14 +00:00
Severin Gehwolf
a24b0170a9 Add -Wa,--generate-missing-build-notes=yes C flags.
Add patch so that assembling from assembler source files
also get extra C flags set properly (JDK-8219772).

Resolves: rhbz#1624123
2019-03-11 16:31:04 +01:00
Severin Gehwolf
a28cd425c1 Merge #61 Add test verifying crypto policy can be disabled 2019-02-28 16:09:36 +00:00
Jiri Vanek
be06dc1c00 Fixed jre-slowdebug provides 2019-02-27 12:40:02 +01:00
Severin Gehwolf
d15d026ae5 Add a test verifying system crypto policies can be disabled 2019-02-19 14:31:04 +01:00
Andrew Hughes
df67399225 Add PR3655 to allow the system crypto policy to be turned off. 2019-02-19 05:03:27 +00:00
Jiri Vanek
b227556dea Fixed date 2019-02-12 14:47:30 +01:00
Jiri
1f48fa9349 config files moved to etc and symlinked back to JDK.
Backward comaptibility is to consider. Downgrade will be dead anyway.
2019-02-11 16:56:24 +01:00
Andrew John Hughes
c144d43531 Add backport of JDK-8145096 (PR3693) to fix undefined behaviour issues on newer GCCs 2019-02-06 06:21:21 +00:00
Andrew Hughes
6c221689cd Update to aarch64-shenandoah-jdk8u201-b09. 2019-02-05 21:27:25 +00:00
Nicolas De Amicis
f7dc79c90d Update java-1.8.0-openjdk.spec
Added FX link of libglassgtk3.so
2019-02-05 15:04:24 +00:00
Andrew John Hughes
e0121aeccf Update to aarch64-shenandoah-jdk8u192-b12.
Remove patches included upstream
 - JDK-8031668/PR2842
 - JDK-8148351/PR2842
 - JDK-6260348/PR3066
 - JDK-8061305/PR3335/RH1423421
 - JDK-8188030/PR3459/RH1484079
 - JDK-8205104/PR3539/RH1548475
 - JDK-8185723/PR3553
 - JDK-8186461/PR3557
 - JDK-8201509/PR3579
 - JDK-8075942/PR3602
 - JDK-8203182/PR3603
 - JDK-8206406/PR3610/RH1597825
 - JDK-8206425
 - JDK-8036003
 - JDK-8201495/PR2415
 - JDK-8150954/PR2866/RH1176206
Re-generate patches (mostly due to upstream build changes)
 - JDK-8073139/PR1758/RH1191652
 - JDK-8143245/PR3548 (due to JDK-8202600)
 - JDK-8197429/PR3546/RH1536622 (due to JDK-8189170)
 - JDK-8199936/PR3533
 - JDK-8199936/PR3591
 - JDK-8207057/PR3613
 - JDK-8210761/RH1632174 (due to JDK-8207402)
 - PR3559 (due to JDK-8185723/JDK-8186461/JDK-8201509)
 - PR3593 (due to JDK-8081202)
 - RH1566890/CVE-2018-3639 (due to JDK-8189170)
 - RH1649664 (due to JDK-8196516)
2019-01-30 14:56:30 +00:00
Andrew John Hughes
77e1240af4 Add 8131048 & 8164920 (PR3574/RH1498936) to provide a CRC32 intrinsic for PPC64. 2019-01-29 11:36:44 +00:00
Igor Gnatenko
b3223f3a61 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:08 +01:00
Andrew Hughes
4feeea8628 Introduce sa_arches for architectures with sa-jdi.jar and include aarch64 2019-01-28 00:08:24 -05:00
Andrew Hughes
9ece52d7d3 Update to aarch64-shenandoah-jdk8u191-b14.
Adjust JDK-8073139/PR1758/RH1191652 to apply following 8155627 backport.
2019-01-17 01:09:06 -05:00
Andrew Hughes
c0ce8bcaab Update to aarch64-shenandoah-jdk8u191-b13.
Update tarball generation script in preparation for PR3667/RH1656676 SunEC changes.
Use remove-intree-libraries.sh to remove the remaining SunEC code for now.
2019-01-10 00:50:56 -05:00
Andrew John Hughes
f5121c69ba Fix jdk8073139-pr1758-rh1191652-ppc64_le_says_its_arch_is_ppc64_not_ppc64le_jdk.patch paths to pass git apply 2018-12-19 04:11:48 +00:00
Jiri Vanek
0bd5dd84cd adde fx link of libglassgtk2.so (rhbz1657485) 2018-12-10 13:28:43 +01:00
Jiri Vanek
e615266abc added description to jdk8029661-pr3642-rh1477159.patch - jdk8029661-pr3642-rh1477159-add_tlsv1_2_support_to_pkcs11_provider.patch 2018-11-30 18:14:12 +01:00
Severin Gehwolf
a7cd6c94c9 Refactor _find_debuginfo_opts -g
- Used '%global over '%define'
- Added a comment explaining what this does.
2018-11-29 11:28:48 +01:00
Andrew John Hughes
4dd0d67c96 Add backport of JDK-8029661 which adds TLSv1.2 support to the PKCS11 provider. 2018-11-28 13:48:49 -05:00
Jiri Vanek
626887d706 fixing typo of jkd in system_installed_libpng and removing file for removed patch for pr3573
jkd8035341-allow_using_system_installed_libpng.patch -> jdk8035341-allow_using_system_installed_libpng.patch
rm pr3573-fix_TCK_crash_with_shenandoah_in_shenandoahsupport_cpp_in_case_of_dead_brnach_in_is_independent.patch
2018-11-23 18:43:10 +01:00
Jiri Vanek
195d8173c7 renamed all patches to new convention
bug1-bug2-..-bugN-XY-lowercase_comment_suffix_or_jdkpart.patch
 XY is number 01-99 for patches which are order sensitive or simply counts together
 where bugs are jdkIJK or prLMN or rhOPQ and if more bugs (which is desired) then in jdk->pr->rh order.
 I..Q are numbers corresponding to:
 https://bugs.openjdk.java.net/browse/JDK-IJK
 https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=LMN
 https://bugzilla.redhat.com/show_bug.cgi?id=OPQ
2018-11-20 10:58:25 +01:00
Andrew John Hughes
66b29a9af5 Revise Shenandoah PR3634 patch following upstream discussion. 2018-11-19 16:54:37 +00:00
Andrew John Hughes
e68876bb37 Note why PR1834/RH1022017 is not suitable to go upstream in its current form. 2018-11-16 12:01:00 -05:00
Andrew John Hughes
5601c0a036 Document patch sections. 2018-11-16 11:58:10 -05:00
Andrew John Hughes
5d4b4004b5 Fix patch organisation in the spec file
* Move ECC patches back to upstreamable section
  * Move system cacerts & crypto policy patches to upstreamable section
  * Merge "Local fixes" and "RPM fixes" which amount to the same thing
  * Move system libpng & lcms patches back to 8u upstreamable section
2018-11-16 11:58:03 -05:00