[Midnightbsd-cvs] [MidnightBSD/mports] a23571: java/openjdk18: fix native build with Clang 19
Lucas Holt
noreply at github.com
Fri May 8 23:49:07 EDT 2026
Branch: refs/heads/master
Home: https://github.com/MidnightBSD/mports
Commit: a235718053a0ef081ffd2d69e023e790acaa8556
https://github.com/MidnightBSD/mports/commit/a235718053a0ef081ffd2d69e023e790acaa8556
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-05-08 (Fri, 08 May 2026)
Changed paths:
M java/openjdk18/Makefile
A java/openjdk18/files/patch-make_Images.gmk
A java/openjdk18/files/patch-make_InterimImage.gmk
Log Message:
-----------
java/openjdk18: fix native build with Clang 19
- 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.
- Disable precompiled headers for improved stability.
- 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