Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jan 2020 10:53:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        emulation@FreeBSD.org
Subject:   [Bug 243265] emulators/qemu-user-static: qemu-aarch64-static SIGILL with openjdk11-bootstrap
Message-ID:  <bug-243265-4077-opUfLLciB9@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-243265-4077@https.bugs.freebsd.org/bugzilla/>
References:  <bug-243265-4077@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=3D243265

--- Comment #6 from mikael.urankar@gmail.com ---
Created attachment 210756
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D210756&action=
=3Dedit
patch

Can you try the attached patch (it's for
/usr/ports/emulators/qemu-user-static-devel).
It seems to work here, I tried with this program but I haven't checked if t=
he
returned value are sane:

#include <stdlib.h>
#include <stdio.h>
#include <sys/types.h>
#include <machine/armreg.h>
#include <machine/_stdint.h>

int
main(int argc, char **argv)
{
        uint64_t id_aa64isar0, id_aa64pfr0;
        id_aa64isar0 =3D READ_SPECIALREG(id_aa64isar0_EL1);
        id_aa64pfr0 =3D READ_SPECIALREG(id_aa64pfr0_EL1);

        printf("id_aa64isar0: 0x%lx, id_aa64pfr0: 0x%lx\n", id_aa64isar0,
id_aa64pfr0);
        return (0);
}

./identcpu
id_aa64isar0: 0x111110012120, id_aa64pfr0: 0x110000

I haven't tried qemu-user-static.

--=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-243265-4077-opUfLLciB9>