-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Jumped to invalid address in trampoline" #3
Comments
Oh - it should be noted perhaps that I installed openjdk-8-jdk rather than openjdk-7-jdk, because that's what was available. Would that cause this, do you think? |
@Erhannis Initially I got the same errors, but reading the Makefile pointed me into the correct command line for using nestedvm. Here is how I got my Hello World ( Compile C source
Link to a MIPS binary
Compile to a Java class
Running the resulting Java application
|
Holy COW. You'd think something like that would be in the README. It works, though! Good find. I'll update the README and make a pull request, in case @bgould ever sees it, I guess, haha. |
Pull request: #4 |
I've finally gotten nestedvm to compile (I'd add
MAKEINFO=true
to themake dist ...
arguments, in the README), but I have yet to successfully run a translated class. For instance, I have a testcc.c
in/tmp/
:And in
upstream/install/bin/
I runand get
but it seeeems to work. So I run either
or
and in either case I get similar errors
or
Any idea what's up?
(I'd also gotten similar results with an effectively-empty main method, but this was the code I'd most recently tested, anyway.)
The text was updated successfully, but these errors were encountered: