Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 May 2022 07:49:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        java@FreeBSD.org
Subject:   [Bug 260187] java/bootstrap-openjdk17: broken on aarch64
Message-ID:  <bug-260187-8522-EGMcB5LHAL@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-260187-8522@https.bugs.freebsd.org/bugzilla/>
References:  <bug-260187-8522@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260187

--- Comment #7 from Ronald Klop <ronald-lists@klop.ws> ---
See this thread for more info about the issue.
https://lists.freebsd.org/archives/freebsd-arm/2022-May/001340.html

It is pretty easy to workaround the failure of bootstrap-openjdk17 by using
"ELF_FEATURES=3D  +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=20=20=20=20
ronald@rpi4:/home/ronald/dev/obj/home/ronald/dev/freebsd/arm64.aarch64/sys/=
GENERIC-NODEBUG
arm64

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.

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



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