Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Dec 2025 11:30:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        java@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 291872] java/openjdk17: Fails to build on Apple silicon (affects all JDKs)
Message-ID:  <bug-291872-8522-ebil23duaK@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-291872-8522@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-291872-8522-ebil23duaK>