jdk9/hs/hotspot make native libs for test build failure both on x86 and aarch64
Yang Zhang
yang.zhang at linaro.org
Fri Nov 4 07:07:53 UTC 2016
Hi,
jdk9/hs/hotspot native libs for jtreg build failed after the push of
http://hg.openjdk.java.net/jdk9/hs/hotspot/rev/308a53dd5aee
Build command: make test-image-hotspot-jtreg-native
Could someone please help to fix it?
The reason is that dl library isn't found. I think the following
change could fix that:
------
diff --git a/make/test/JtregNative.gmk b/make/test/JtregNative.gmk
index 78e78d7..95b5747 100644
--- a/make/test/JtregNative.gmk
+++ b/make/test/JtregNative.gmk
@@ -91,7 +91,7 @@ ifeq ($(OPENJDK_TARGET_OS), linux)
BUILD_HOTSPOT_JTREG_LIBRARIES_LDFLAGS_libtest-rwx := -z execstack
BUILD_HOTSPOT_JTREG_EXECUTABLES_LIBS_exeinvoke := -ljvm -lpthread
BUILD_TEST_invoke_exeinvoke.c_OPTIMIZATION := NONE
- BUILD_HOTSPOT_JTREG_EXECUTABLES_LDFLAGS_exeFPRegs := -ldl
+ BUILD_HOTSPOT_JTREG_EXECUTABLES_LDFLAGS_exeFPRegs :=
-Wl,--no-as-needed -ldl
endif
ifeq ($(OPENJDK_TARGET_OS), windows)
------
Regards
Yang
More information about the hotspot-dev
mailing list