[Bug 260187] java/bootstrap-openjdk17: broken on aarch64
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 260187] java/bootstrap-openjdk17: broken on aarch64"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 16 May 2022 07:49:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260187 --- 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= +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 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. -- You are receiving this mail because: You are the assignee for the bug.