-
Bug
-
Resolution: Fixed
-
P4
-
11
-
None
-
b17
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8204707 | 11.0.1 | Erik Joelsson | P4 | Resolved | Fixed | team |
From Ao Qi on build-dev (http://mail.openjdk.java.net/pipermail/build-dev/2018-May/022156.html):
---
Hi all,
I tried to configure jdk/jdk on MIPS, but I failed. The output of configure:
...
checking for pandoc... no
checking build system type...
/home/loongson/aoqi/jdk/make/autoconf/build-aux/config.guess: unable
to guess system type
---
And:
---
Hi Erik,
Thanks for your comments. I made a new patch:
$ hg diff
diff -r 31361382634b make/autoconf/build-aux/config.guess
--- a/make/autoconf/build-aux/config.guess Tue May 22 10:08:04 2018 -0700
+++ b/make/autoconf/build-aux/config.guess Thu May 24 09:07:17 2018 +0800
@@ -86,6 +86,17 @@
fi
fi
+# Test and fix little endian MIPS.
+if [ "x$OUT" = x ]; then
+ if [ `uname -s` = Linux ]; then
+ if [ `uname -m` = mipsel ]; then
+ OUT=mipsel-unknown-linux-gnu
+ elif [ `uname -m` = mips64el ]; then
+ OUT=mips64el-unknown-linux-gnu
+ fi
+ fi
+fi
+
# Test and fix cpu on Macosx when C preprocessor is not on the path
echo $OUT | grep i386-apple-darwin > /dev/null 2> /dev/null
if test $? = 0; then
---
---
Hi all,
I tried to configure jdk/jdk on MIPS, but I failed. The output of configure:
...
checking for pandoc... no
checking build system type...
/home/loongson/aoqi/jdk/make/autoconf/build-aux/config.guess: unable
to guess system type
---
And:
---
Hi Erik,
Thanks for your comments. I made a new patch:
$ hg diff
diff -r 31361382634b make/autoconf/build-aux/config.guess
--- a/make/autoconf/build-aux/config.guess Tue May 22 10:08:04 2018 -0700
+++ b/make/autoconf/build-aux/config.guess Thu May 24 09:07:17 2018 +0800
@@ -86,6 +86,17 @@
fi
fi
+# Test and fix little endian MIPS.
+if [ "x$OUT" = x ]; then
+ if [ `uname -s` = Linux ]; then
+ if [ `uname -m` = mipsel ]; then
+ OUT=mipsel-unknown-linux-gnu
+ elif [ `uname -m` = mips64el ]; then
+ OUT=mips64el-unknown-linux-gnu
+ fi
+ fi
+fi
+
# Test and fix cpu on Macosx when C preprocessor is not on the path
echo $OUT | grep i386-apple-darwin > /dev/null 2> /dev/null
if test $? = 0; then
---
- backported by
-
JDK-8204707 Configure broken on MIPS when uname returns mipsel or mips64el
-
- Resolved
-