Hotspot broken on linux-sparc, most likely after JDK-8199712 (Flight Recorder)

Aleksey Shipilev shade at redhat.com
Wed May 16 13:39:28 UTC 2018


On 05/16/2018 03:32 PM, John Paul Adrian Glaubitz wrote:
> Hello!
> 
> JDK-8199712 (Flight Recorder) most likely broke the build on linux-sparc
> and it seems we're just missing a source file, either through a header
> or a Makefile (see below).
> 
> I assume we need to build hotspot/cpu/sparc/vm_version_ext_sparc.cpp to
> get this issue fixed.

It is there already:
 ./src/hotspot/cpu/sparc/vm_version_ext_sparc.cpp

...but you probably need:

diff -r 781f36c0831e src/hotspot/os/linux/os_perf_linux.cpp
--- a/src/hotspot/os/linux/os_perf_linux.cpp	Wed May 16 13:14:58 2018 +0200
+++ b/src/hotspot/os/linux/os_perf_linux.cpp	Wed May 16 15:39:14 2018 +0200
@@ -40,6 +40,9 @@
 #include "vm_version_ext_aarch64.hpp"
 #endif
 #endif
+#ifdef SPARC
+#include "vm_version_ext_sparc.hpp"
+#endif

 #include <stdio.h>
 #include <stdarg.h>

-Aleksey



More information about the hotspot-dev mailing list