[Bug 260187] java/bootstrap-openjdk17: broken on aarch64

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 16 May 2022 07:49:26 UTC

--- Comment #7 from Ronald Klop <ronald-lists@klop.ws> ---
See this thread for more info about the issue.

It is pretty easy to workaround the failure of bootstrap-openjdk17 by using
"ELF_FEATURES=  +noaslr:bin/*" in the port. See the linked mail for a more
elaborate patch which only enables this on aarch64.
But using this to build the java/openjdk17 build still fails in all kinds of
internal executables with that same error during the openjdk17 build.
I don't know how to workaround this in the ports framework.

Plus -more important- why does this only happen on aarch64 and not amd64?

I can reproduce this on an rpi4/8GB running:
# uname -a
FreeBSD rpi4 14.0-CURRENT FreeBSD 14.0-CURRENT #7 main-31e076d70b: Wed Mar 23
08:55:39 CET 2022    

Although my build jail is newer than the host.
[00:00:01] Host OSVERSION: 1400053
[00:00:01] Jail OSVERSION: 1400055

I have no idea if something is broken in Java or in FreeBSD.

You are receiving this mail because:
You are the assignee for the bug.