OpenJDK 10 zero For Mips32el java -version IncompatilveClassChangeError
William Larson
wlarsong at gmail.com
Fri Jun 5 22:47:04 UTC 2020
Hello Mikael,
I need at least OpenJDK 8 for TLS 1.2 support out of the box. I am also
working with an embedded system that has proprietary code for biometrics
compiled against a glibc version 2.18. I didn't want to stray too far from
glibc 2.18 ( which is 2013-2014 time range) as other things in compiling
start to break down with newer projects.
Changing the glibc on the system can cause other problems and since I
cannot recompile the library I need to use in this system I picked a JDK
close to the compilers I had. I might go to a higher JDK but this is a RAM
constrained embedded system for which I am already using a zero jvm for. I
would like to get the Max performance I can get so if another JVM above
this works and has better performance ( or an earlier version) I would
consider those.
I have a qemu for this system and rootfs. Another question I had was can
you cross compile a zeroshark release or can that only be done natively?
LLVM does support mips and I would love a JIT compiler
Thoughts?
Will
On Fri, Jun 5, 2020 at 6:35 PM Mikael Vidstedt <mikael.vidstedt at oracle.com>
wrote:
>
> Glad you got it working!
>
> Still curious though: any particular reason for building jdk10
> specifically? :)
>
> Cheers,
> Mikael
>
> On Jun 5, 2020, at 3:30 PM, William Larson <wlarsong at gmail.com> wrote:
>
> Hello Mikael,
> This is how I get the sources
>
> hg clone http://hg.openjdk.java.net/jdk10/jdk10
> cd jdk10
> bash get_source.sh
>
> I checked my current build and this is what I see (note the 9
>
> AC_DEFUN([BOOTJDK_CHECK_BUILD_JDK],
> [
> ....
> # Extra M4 quote needed to protect [] in grep expression.
> [FOUND_CORRECT_VERSION=`echo $BUILD_JDK_VERSION | $EGREP
> '\"9([\.+-].*)?\"'`]
> if test "x$FOUND_CORRECT_VERSION" = x; then
> AC_MSG_NOTICE([Potential Build JDK found at $BUILD_JDK is
> incorrect JDK version ($BUILD_JDK_VERSION); ignoring])
> AC_MSG_NOTICE([(Your Build JDK must be version 9)])
> BUILD_JDK_FOUND=no
> ....
> ])
>
> To be sure I wasn't going insane I ran the above (hg clone
> http://hg.openjdk.java.net/jdk10/jdk10) in a new directory
>
> Then I noticed something your URL is
> http://hg.openjdk.java.net/jdk/jdk10
> Mine is (note the extra 10 after .net/jdk)
> http://hg.openjdk.java.net/jdk10/jdk10
>
> Maybe I misread something but this is highly confusing as this is what is
> in the build docs
>
> I just figured it out as well. I build it from your tree ( note .net/jdk
> not ./net/jdk10 http://hg.openjdk.java.net/jdk/jdk10)
> <http://hg.openjdk.java.net/jdk/jdk10)and>it works perfectly thanks
> again.
> For Mips You must apply patch ( I did it by hand)
> Here is the link for that as well:
> https://groups.google.com/forum/#!topic/linux.debian.bugs.dist/Tmgse0HIzDc
>
>
> Make images works and runs on the qemu.
>
> Thanks for this project and the support I truly appreciate it.
> <mips-sigset.diff>
>
>
>
--
-William Larson
More information about the build-dev
mailing list