qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with signals and illegal instructions in user mode


From: Peter Maydell
Subject: Re: Problems with signals and illegal instructions in user mode
Date: Tue, 21 Apr 2020 20:14:10 +0100

On Fri, 17 Apr 2020 at 12:42, Gabe Black <address@hidden> wrote:
> Hi Peter, have you had a chance to take a look at this test case? Please let 
> me know if you need any other info, precompiled binaries, etc.

I had a look, but it doesn't build:

SHCC build/arm/jni_gem5Op.os
In file included from build/arm/jni_gem5Op.c:41:0:
build/arm/jni_gem5Op.h:2:10: fatal error: jni.h: No such file or directory
 #include <jni.h>
          ^~~~~~~
compilation terminated.

I'm running Ubuntu; I had to install the openjdk-11-jdk-headless
package to get a 'javac' binary, and this does seem to have
installed a jni.h (in /usr/lib/jvm/java-11-openjdk-amd64/include)
but your build system presumably hasn't found it.

Is there a more straightforward "just build this code
and run this binary: I expected behaviour X but got
behaviour Y" testcase you can provide? Preferably
one that doesn't involve Java, because trying to debug
JIT code inside QEMU is vastly more painful than working
with simple compiled code...

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]