Skip to content

Commit

Permalink
Update patches, packages & paths for JDK10
Browse files Browse the repository at this point in the history
  • Loading branch information
JakubVanek committed Mar 25, 2018
1 parent 5b82756 commit aabc7f8
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 10 deletions.
1 change: 1 addition & 0 deletions build/Dockerfile.system
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ RUN dpkg --add-architecture armel && \
xz-utils \
libcups2-dev:armel \
libfreetype6-dev:armel \
libfontconfig1-dev:armel \
libasound2-dev:armel \
libx11-dev:armel \
libxext-dev:armel \
Expand Down
3 changes: 2 additions & 1 deletion build/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ source config.sh
cd "$JDKDIR"

# refresh patched build system
bash ./common/autoconf/autogen.sh
bash ./make/autoconf/autogen.sh

## Description ##
# Use the downloaded JDK: --with-boot-jdk=/opt/jdkcross/jdk-9.0.1
Expand Down Expand Up @@ -35,6 +35,7 @@ bash ./configure --with-boot-jdk="$SCRIPTDIR/jdk-10" \
--with-freetype-include=/usr/include \
--with-jvm-variants=client \
--with-extra-cflags="-w -Wno-error -D__SOFTFP__" \
--with-extra-cxxflags="-w -Wno-error -D__SOFTFP__" \
--with-version-string="$JAVA_VERSION" \
AR="arm-linux-gnueabi-gcc-ar" \
NM="arm-linux-gnueabi-gcc-nm" \
Expand Down
6 changes: 3 additions & 3 deletions build/ev3.patch
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
diff -r a08cbfc0e4ec common/autoconf/flags.m4
--- a/common/autoconf/flags.m4 Thu Aug 03 18:56:56 2017 +0000
+++ b/common/autoconf/flags.m4 Wed Dec 27 00:52:44 2017 +0100
diff -r a08cbfc0e4ec make/autoconf/flags.m4
--- a/make/autoconf/flags.m4 Thu Aug 03 18:56:56 2017 +0000
+++ b/make/autoconf/flags.m4 Wed Dec 27 00:52:44 2017 +0100
@@ -30,7 +30,7 @@
AC_DEFUN([FLAGS_SETUP_ABI_PROFILE],
[
Expand Down
5 changes: 2 additions & 3 deletions build/fetch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@ hg clone "$JAVA_REPO" "$JDKDIR"

# clone the rest of the tree
cd "$JDKDIR"
bash ./get_source.sh

# apply the EV3-specific patches
# - build flags for arm926ej-s
patch -p1 < "$SCRIPTDIR/ev3.patch"
patch -p1 < "$SCRIPTDIR/ev3.patch"
# - use the system-provided floating point implementation
patch -p1 -d hotspot < "$SCRIPTDIR/float.patch"
patch -p1 < "$SCRIPTDIR/float.patch"

6 changes: 3 additions & 3 deletions build/float.patch
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
diff -r b756e7a2ec33 src/cpu/arm/vm/assembler_arm_32.hpp
--- a/src/cpu/arm/vm/assembler_arm_32.hpp Thu Aug 03 18:56:57 2017 +0000
+++ b/src/cpu/arm/vm/assembler_arm_32.hpp Wed Dec 27 01:08:37 2017 +0100
diff -r b756e7a2ec33 src/hotspot/cpu/arm/assembler_arm_32.hpp
--- a/src/hotspot/cpu/arm/assembler_arm_32.hpp Thu Aug 03 18:56:57 2017 +0000
+++ b/src/hotspot/cpu/arm/assembler_arm_32.hpp Wed Dec 27 01:08:37 2017 +0100
@@ -1234,10 +1234,17 @@

// Imported code from glibc soft-fp bundle for
Expand Down

0 comments on commit aabc7f8

Please sign in to comment.