pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: OpenJDK on aarch64 -current
Hi,
Just to follow-up myself; the same happens with openjdk11; openjdk8
builds without any problem.
Any ideas?
Chavdar
On Tue, 2 May 2023 at 21:34, Chavdar Ivanov <ci4ic4%gmail.com@localhost> wrote:
>
> Hi,
>
> Is lang/openjdk{8,11,17} supposed/expected to work under aarch64? My
> system in question is
>
> ...
> NetBSD narvi 10.99.4 NetBSD 10.99.4 (GENERIC64) #2: Sun Apr 30
> 16:53:29 BST 2023
> sysbuild%ymir.lorien.lan@localhost:/dumps/sysbuild/evbarm64/obj/home/sysbuild/src/sys/arch/evbarm/compile/GENERIC64
> evbarm
> ...
>
> I was actually trying to figure out how to bootstrap lang/sbcl there,
> the usual first candidate for the bootstrap is clisp, but it fails
> completely and seems to not be ported. The other viable option (which
> I have already used under Ubuntu aarch64 pkgsrc and it worked) was
> abcl, which is jvm based, so tries to install openjdk11. This leads to
> the creation of a few hundred error message files in the package
> directory, any attempt to execute a program from the bootstrap tree
> fails like this:
>
> ./work/bootstrap/bin/java --version
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> # SIGSEGV (0xb) at pc=0x0000f1c1cf031350, pid=5934, tid=265814722428928
> #
> # JRE version: (17.0.3) (build )
> # Java VM: OpenJDK 64-Bit Server VM
> (17.0.3-internal+0-adhoc.pkgsrc.jdk17u-jdk-17.0.3-7-1, mixed mode,
> tiered, compressed oops, compressed class ptrs, g1 gc, bsd-aarch64)
> # Problematic frame:
> # V [libjvm.so+0x951350] JVM_RaiseSignal+0x1b61a8
> #
> # No core dump will be written. Core dumps have been disabled. To
> enable core dumping, try "ulimit -c unlimited" before starting Java
> again
> #
> # An error report file with more information is saved as:
> # /usr/pkgsrc/lang/openjdk17/hs_err_pid5934.log
> #
> #
>
> The error log mentioned is rather large. As
>
> file ./work/bootstrap/bin/java
> ./work/bootstrap/bin/java: ELF 64-bit LSB pie executable, ARM aarch64,
> version 1 (SYSV), dynamically linked, interpreter
> /usr/libexec/ld.elf_so, for NetBSD 9.2, PaX: -mprotect, not stripped
>
> I thought I must install compat90, which I did, but it did not change anything.
>
> Chavdar
>
> --
> ----
--
----
Home |
Main Index |
Thread Index |
Old Index