Skip to content

Cherry-pick appropriate spec file changes from Fedora

  • 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
  • Turn off bootstrapping for slow debug builds, which are particularly slow on ppc64le.
  • Handle Fedora in distro conditionals that currently only pertain to RHEL.
  • Replace tabs by sets of spaces to make rpmlint happy
    • Run OpenJDK normalizer script on the spec file to fix further rogue whitespace
  • javadoc-zip gets its own provides next to plain javadoc ones
  • Sync gdb test with java-1.8.0-openjdk and improve architecture restrictions.
  • Introduce stapinstall variable to set SystemTap arch directory correctly (e.g. arm64 on aarch64)
    • Need to support noarch for creating source RPMs for non-scratch builds.
  • Support a HotSpot-only build so a freshly built libjvm.so can then be used in the bootstrap JDK.
    • Replace -mstackrealign with -mincoming-stack-boundary=2 -mpreferred-stack-boundary=4 on x86_32 for stack alignment
    • Explicitly list JIT architectures rather than relying on those with slowdebug builds
    • Disable the serviceability agent on Zero architectures even when the architecture itself is supported

Resolves: rhbz#2022826

Merge request reports

Loading