[Midnightbsd-cvs] [MidnightBSD/mports] 74dc9a: java/openjdk21: fix native build with Clang 19
Lucas Holt
noreply at github.com
Sat May 9 15:48:34 EDT 2026
Branch: refs/heads/master
Home: https://github.com/MidnightBSD/mports
Commit: 74dc9af8afdcf946f90e3678aaef345ec6eaa3e2
https://github.com/MidnightBSD/mports/commit/74dc9af8afdcf946f90e3678aaef345ec6eaa3e2
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-05-09 (Sat, 09 May 2026)
Changed paths:
M java/openjdk21/Makefile
A java/openjdk21/files/patch-make_Images.gmk
A java/openjdk21/files/patch-make_InterimImage.gmk
M java/openjdk21/files/patch-make_autoconf_libraries.m4
A java/openjdk21/files/patch-make_autoconf_platform.m4
Log Message:
-----------
java/openjdk21: 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.
- Patch platform.m4 to properly identify MidnightBSD, enabling alsa-lib detection.
- Patch libraries.m4 to ensure alsa-lib is recognized as required on all BSDs.
- Use global _JAVA_OPTIONS (Tier 1 JIT only) as a safeguard.
- 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