Commit Graph

517 Commits

Author SHA1 Message Date
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
Jiri Vanek
7f870cd2f4 headfull suggests of cups, replaced by Requires of cups-libs in headless 2018-11-08 15:43:40 +01:00
Jiri Vanek
d6cbe382c9 added Patch584 jdk8209639-rh1640127_coalesce_attempted_spill_non_spillable_02.patch
and prerequisite  Patch583 jdk8172850-rh1640127_register_allocator_crash_01.patch
2018-10-30 11:11:44 +01:00
Jiri Vanek
09a59447d8 cups moved to headful package 2018-10-24 18:13:54 +02:00
Jiri Vanek
50fd6be269 Added missing %{majorver} into descriptions 2018-10-24 17:15:32 +02:00
Jiri Vanek
1f2a7e0117 Removed and adapted patches to u191.
Added changelog for u 191
2018-10-23 18:16:34 +02:00
Jiri Vanek
6985b32d3c updated to new sources - u191 2018-10-23 14:23:04 +02:00
Jiri Vanek
3f7d119a88 Used top-level macro consistently 2018-10-23 12:14:54 +02:00
Severin Gehwolf
68ef862ac2 Add another optimization gap fix for Zero.
Add patch 8210425-03-rh1630426-hotspot-opt-fix-zero.patch which
performs the same opt steps for Zero arches when they are being
built. This issue showed up on arm (32 bit) and s390x
only as those are Zero arches for JDK 8.
2018-10-12 16:18:07 +02:00
Severin Gehwolf
ba397c7d37 Add changelog entry for previous changes.
Bump release.
2018-10-08 15:46:26 +02:00
Severin Gehwolf
b0ff02ded7 Refresh JDK-8044235 from upstream 8u.
Move patch definition to 8u202 section.
2018-10-08 15:38:27 +02:00
Severin Gehwolf
0335c0c175 Refresh JDK-8073139 from upstream.
- Move JDK-8073139 patch series to
  8u202 updates section.
- Refactor upstream 8u patches so that
  it applies to the current aarch64/shenandoah tree.
2018-10-05 14:29:04 +02:00
Severin Gehwolf
54b188efb0 Add missing BRs/Rs.
- libXcomposite is now required since we use upstream
  JDK-8150954 patch.
- Add unzip as BR since OpenJDK build requires it.
2018-10-01 16:48:55 +02:00
jiri vanek
993e704e08 Merge #24 Remove obsolete comment wrt debug info. 2018-10-01 14:11:00 +00:00
Severin Gehwolf
823e8f5c66 Remove obsolete comment wrt debug info.
After 1cd817d --with-native-debug-symbols=internal is
being used, which does the desired thing without needing to change
make variables on the command line.
2018-09-28 16:29:39 +02:00
Severin Gehwolf
0c4d834e94 Fix annocheck optimization issues.
Resolves: RHBZ#1630426
2018-09-28 15:59:36 +02:00
Severin Gehwolf
f275f6232f Add JDK bug number to some more patch-names. 2018-09-26 15:30:29 +02:00
Severin Gehwolf
1cd817df23 Update patches with latest upstream status.
- Update(s) from upstreamed patches:
  - 8036003-dont-add-unnecessary-debug-links.patch =>
    8036003-add-with-native-debug-symbols-configure-flag.patch
  - rh1176206-jdk.patch =>
    8150954-pr2866-rh1176206-screenshot-xcomposite-jdk.patch =>
    Deleted rh1176206-root.patch as thats no longer needed with
    upstream 8150954.
  - Refreshed 8165852-pr3468.patch from upstream.
  - Refreshed 8201495-s390-java-opts.patch from upstream.
  - 8207057-pr3613-hotspot-assembler-debuginfo.patch =>
    8207057-pr3613-assembler-debuginfo-hotspot.patch and
    8207057-pr3613-assembler-debuginfo-root.patch. From JDK 8u
    backport.
- Renamed spec-only patch:
  pr3183.patch => pr3183-rh1340845-system-crypto-policy.patch
- Renamed java-1.8.0-openjdk-size_t.patch =>
  8201495-s390-java-opts.patch
- Moved SunEC provider via system NSS to RPM specific patches section.
- Moved upstream 8u patches to appropriate sections (8u192/8u202).
- Removed rh1214835.patch since it's invalid. See:
  https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2304#c3
- Use --with-native-debug-symbols=internal which JDK-8036003 adds.
2018-09-20 15:24:22 +02:00
Jiri Vanek
95d132a01b fixed unexpanded arch in policy tool desktop file, fixed versions (8->1.8.0) of images used in desktop files 2018-09-11 11:25:49 +02:00
Jiri Vanek
87b90595cd Merge branch 'master' of ssh://pkgs.fedoraproject.org/rpms/java-1.8.0-openjdk 2018-09-04 19:46:23 +02:00
Jiri Vanek
017a1252e2 Updated to u181-b15; moved to single repo tarball. 2018-09-04 19:37:25 +02:00
Jiri Vanek
ca2a20d6f9 Changed handling of systemtap sources 2018-09-04 19:15:31 +02:00
Severin Gehwolf
0d062022bb Adjust system jpeg patch for -Wl,--as-needed.
redhat-rpm-config enabled -Wl,--as-needed flag by default on
August 15. This causes issues when compiling the JDK against
system libjpeg. Filter -Wl,--as-needed when libjavajpeg.so is
being compiled.

Resolves: RHBZ#1622186
2018-08-27 16:56:34 +02:00
Severin Gehwolf
5ea1728a3d Adjust system NSS patch for -Wl,--as-needed.
redhat-rpm-config enabled '-Wl,--as-needed' linker flag by
default on August 15. Filter out --Wl,--as-needed flag until
a better fix becomes available.
2018-08-27 15:17:38 +02:00
Jiri Vanek
a2e48182e1 build number moved from release to version 2018-08-01 10:18:45 +02:00