OpenJDK 10 zero For Mips32el java -version IncompatilveClassChangeError

William Larson wlarsong at gmail.com
Fri Jun 5 22:30:10 UTC 2020


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mips-sigset.diff
Type: text/x-patch
Size: 4037 bytes
Desc: not available
URL: <https://mail.openjdk.org/pipermail/build-dev/attachments/20200605/0fd4b3e0/mips-sigset.diff>


More information about the build-dev mailing list