Hi Alex,
Alex Potapenko wrote,
Hi,
I'm trying to get BubbleUPnPServer to work with compiled OpenJDK-8
(with Zero VM). It crashes "outside the Java Virtual Machine" with
error "in native code" (see error log attached). This happens on armv7
and mipsel O32 with uclibc-ng-1.0.6 and uclibc-ng-1.0.9. I haven't
tried uclibc-ng-1.0.10 yet, but I will as soon as I can. Just to note,
armv7 variant with GNU libc works OK without such crashes, so I assume
that this issue is libc-specific. I'm writing here in hope that these
errors can mean something to you (it's all Greek to me), since I got
no response at all from OpenJDK Zero VM mailing list for several
months.
There're some uclibc-specific patches I had to apply to build OpenJDK-8:
https://github.com/alllexx88/Optware-ng/blob/master/sources/openjdk8/openjd…
https://github.com/alllexx88/Optware-ng/blob/master/sources/openjdk8/openjd…
https://github.com/alllexx88/Optware-ng/blob/master/sources/openjdk8/openjd…
In general, patches I apply to OpenJDK-8 can be found here:
https://github.com/alllexx88/Optware-ng/tree/master/sources/openjdk8/openjdk
(ignore zero-architectures.diff.bak).
I would love to have good support for Java8. Can you explain in very
short steps how you cross-compile it?
I have experience cross-compiling OpenJDK7. Where I find the
BubbleUPnPServer binary you use? I could try with OpenJDK7 first.
best regards
Waldemar