maintainer-feedback requested: [Bug 291872] java/openjdk17: Fails to build on Apple silicon (affects all JDKs)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 22 Dec 2025 11:30:20 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-java (Nobody) <java@FreeBSD.org> for maintainer-feedback: Bug 291872: java/openjdk17: Fails to build on Apple silicon (affects all JDKs) https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291872 --- Description --- The problem in JDK on aarch64 was generally patched, but the bootstrap JDKs do not contain these patches, therefore building Java crashes. See also bug #265284 The workaround is to boot FreeBSD in qemu without Hypervisor support before building java, but this is very slow and tedious. The built package then run without issues on aarch64 with Hypervisor though. Not sure if there a way to get patches into bootstrap JDKs or if there other workarounds available.