[Midnightbsd-cvs] [MidnightBSD/mports] 406b45: java/openjdk17: fix native build with Clang 19

Lucas Holt noreply at github.com
Fri May 8 19:20:04 EDT 2026


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/mports
  Commit: 406b45f8d2fcdf8b680a1de5bab2c3569badca65
      https://github.com/MidnightBSD/mports/commit/406b45f8d2fcdf8b680a1de5bab2c3569badca65
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-05-08 (Fri, 08 May 2026)

  Changed paths:
    M java/openjdk17/Makefile
    A java/openjdk17/files/patch-make_Images.gmk
    A java/openjdk17/files/patch-make_InterimImage.gmk

  Log Message:
  -----------
  java/openjdk17: fix native build with Clang 19

- Remove hardcoded COMPILER_TYPE=gcc and switch to system compiler.
- Add -fno-delete-null-pointer-checks and -Wno-register for newer Clang.
- Add -Wl,--undefined-version to manage discrepancies in linker mapfiles.
- Patch InterimImage.gmk and Images.gmk to use SerialGC and Tier 1 JIT for build tools,
  avoiding SIGSEGV/SIGBUS crashes in JIT-compiled code during image generation.
- Use global _JAVA_OPTIONS as a safeguard for all build-time JVM invocations.
- Fix PLIST path leakage and add library/binary stripping.
- Bump PORTREVISION.

AI-Assisted-by: Gemini 2.0 Flash <noreply at google.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>



To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications


More information about the Midnightbsd-cvs mailing list