Skip to content
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

Can't compile on Raspberry 4 with jdk 8u181 #88

Open
tinspin opened this issue Nov 11, 2020 · 0 comments
Open

Can't compile on Raspberry 4 with jdk 8u181 #88

tinspin opened this issue Nov 11, 2020 · 0 comments

Comments

@tinspin
Copy link

tinspin commented Nov 11, 2020

pi@raspberrypi:~/perf-map-agent $ make
[ 50%] Built target perfmap
[ 66%] Building Java objects for attach-main.jar
error: error reading /home/pi/jdk1.8.0_181/lib/ct.sym; cannot read zip file
Fatal Error: Unable to find package java.lang in classpath or bootclasspath
make[2]: *** [CMakeFiles/attach-main.dir/build.make:70: CMakeFiles/attach-main.dir/java_compiled_attach-main] Error 3
make[1]: *** [CMakeFiles/Makefile2:110: CMakeFiles/attach-main.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

The ct.sym file is there.
Edit: The libperfmap.so is correctly compiled, it's the generation of the http://fem.rupy.se/attach-main.jar that fails, luckily I had it from a previous compile all it does is to attach libperfmap.so to the JVM.
So I manage to get most things working but when I run sudo perf script > out.perf I get:
Failed to open /home/pi/jdk1.8.0_181/jre/lib/rt.jar, continuing without symbols
So the Java SE methods do not get replaced properly but you can guess what they are, the dumped ones however do: http://move.rupy.se/file/graph.svg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant