Enable hotspot builds for 4.x Linux kernels.

Jeremy Whiting jwhiting at redhat.com
Mon Jul 11 08:10:40 UTC 2016


Hi,

  Last week I started the process to build jdk8 using a Fedora 23 
environment. Followed the detailed instructions but came across an 
issue. Looking at the bugs database identical issues have been raised 
for various components [1] and jdk versions. It appears the backport 
missed it into the hotspot repo for jdk8. Browsing the hotspot repo 
shows [2] the supported os version doesn't include a 4.x Linux kernel.

  Can this fix be backported to the jdk8 hotspot repo as well ?


$ hg diff
diff -r 87ee5ee27509 make/linux/Makefile
--- a/make/linux/Makefile    Tue Mar 04 11:51:03 2014 -0800
+++ b/make/linux/Makefile    Mon Jul 11 08:59:44 2016 +0100
@@ -225,7 +225,7 @@
  # Solaris 2.5.1, 2.6).
  # Disable this check by setting DISABLE_HOTSPOT_OS_VERSION_CHECK=ok.

-SUPPORTED_OS_VERSION = 2.4% 2.5% 2.6% 3%
+SUPPORTED_OS_VERSION = 2.4% 2.5% 2.6% 3% 4%
  OS_VERSION := $(shell uname -r)
  EMPTY_IF_NOT_SUPPORTED = $(filter $(SUPPORTED_OS_VERSION),$(OS_VERSION))

$


Regards,

Jeremy


$ uname -a
Linux burtha-f23 4.5.7-200.fc23.x86_64 #1 SMP Wed Jun 8 17:41:50 UTC 
2016 x86_64 x86_64 x86_64 GNU/Linux

[1] 
https://bugs.openjdk.java.net/browse/JDK-8087178?jql=text%20~%20%22Enable%20hotspot%20builds%20on%204.x%20Linux%20kernels%22

[2] 
http://hg.openjdk.java.net/jdk8/jdk8/hotspot/file/87ee5ee27509/make/linux/Makefile#l228



-- 
Jeremy Whiting
Senior Software Engineer, JBoss Performance Team
Red Hat

------------------------------------------------------------
Registered Address: RED HAT UK LIMITED, Peninsular House, 30-36 Monument Street, 4th floor, London. EC3R 8NB United Kingdom
Registered in UK and Wales under Company Registration No. 3798903  Directors: Michael Cunningham (US), Michael ("Mike") O'Neill (Ireland) and Eric Shander (US)




More information about the build-dev mailing list