pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: newer openjdk?
On Fri, 04 Sep 2026 21:05:32 -0600
William Brawner <me%wbrawner.com@localhost> wrote:
> El 4 de septiembre de 2026 7:00:51?p.m. MDT, Tobias Nygren <tnn%NetBSD.org@localhost> escribió:
> >I fixed this issue in wip. It was indeed a missing TAB character.
> >I have a mostly working JDK 25 running natively on NetBSD-current now.
> >Need to iterate a bit more tomorrow, then I will recompile for release
> >branches and upload some candidate bootstrap binaries.
>
> Oh awesome, thanks! I was curious about the bootstrap process actually. Is that documented anywhere?
There is an old but still mostly correct instruction in
lang/openjdk8/bootstrap.mk. This assumes you already have a working
native toolchain though so that you can regenerate binaries with the
help of pkgsrc.
Bootstrapping for a new major version is a multi step process that
requires first building a JDK targeted to Linux w/ BSD patches so that
the Linux tools recognize BSD as a valid target. Then using that as
--with-build-jdk, cross compile to NetBSD with a build.sh toolchain
and prepared sysroot. The cross setup should be mostly per upstream's
documentation. Finally, copy jdk-image over to NetBSD host and follow
the instructions from bootstrap.mk to rebuild through pkgsrc.
Home |
Main Index |
Thread Index |
Old Index