8171310: Gtest libjvm.so is always stripped
authorerikj
Mon, 19 Dec 2016 16:26:22 +0100
changeset 42885 d85e387adbb6
parent 42884 05815125c157
child 42886 9d8028808e78
child 42887 f811d42ba85b
child 42889 0b0ae99d8639
child 42892 085c0b161faf
8171310: Gtest libjvm.so is always stripped Reviewed-by: tbell, dholmes, stuefe
hotspot/make/lib/CompileDtracePostJvm.gmk
hotspot/make/lib/CompileGtest.gmk
hotspot/make/lib/Lib-jdk.hotspot.agent.gmk
--- a/hotspot/make/lib/CompileDtracePostJvm.gmk	Thu Dec 15 14:24:04 2016 +0100
+++ b/hotspot/make/lib/CompileDtracePostJvm.gmk	Mon Dec 19 16:26:22 2016 +0100
@@ -188,7 +188,6 @@
         LIBS := $(LIBDL) -lc -lthread -ldoor, \
         MAPFILE := $(HOTSPOT_TOPDIR)/make/mapfiles/libjvm_dtrace/mapfile-vers, \
         OBJECT_DIR := $(LIBJVM_DTRACE_OUTPUTDIR)/objs, \
-        STRIP_SYMBOLS := true, \
     ))
 
     LIBJVM_DB_OUTPUTDIR := $(JVM_VARIANT_OUTPUTDIR)/libjvm_db
@@ -206,7 +205,6 @@
         LIBS := -lc, \
         MAPFILE := $(HOTSPOT_TOPDIR)/make/mapfiles/libjvm_db/mapfile-vers, \
         OBJECT_DIR := $(LIBJVM_DB_OUTPUTDIR)/objs, \
-        STRIP_SYMBOLS := true, \
     ))
 
     # We need the generated JvmOffsets.h before we can compile the libjvm_db source code.
--- a/hotspot/make/lib/CompileGtest.gmk	Thu Dec 15 14:24:04 2016 +0100
+++ b/hotspot/make/lib/CompileGtest.gmk	Mon Dec 19 16:26:22 2016 +0100
@@ -86,6 +86,7 @@
     USE_MAPFILE_FOR_SYMBOLS := true, \
     COPY_DEBUG_SYMBOLS := $(GTEST_COPY_DEBUG_SYMBOLS), \
     ZIP_EXTERNAL_DEBUG_SYMBOLS := false, \
+    STRIP_SYMBOLS := false, \
     PRECOMPILED_HEADER := $(JVM_PRECOMPILED_HEADER), \
     PRECOMPILED_HEADER_EXCLUDE := gtest-all.cc gtestMain.cpp, \
 ))
--- a/hotspot/make/lib/Lib-jdk.hotspot.agent.gmk	Thu Dec 15 14:24:04 2016 +0100
+++ b/hotspot/make/lib/Lib-jdk.hotspot.agent.gmk	Mon Dec 19 16:26:22 2016 +0100
@@ -113,7 +113,6 @@
     LIBS := $(SA_LIBS), \
     MAPFILE := $(SA_MAPFILE), \
     OBJECT_DIR := $(SUPPORT_OUTPUTDIR)/native/$(MODULE)/libsa, \
-    STRIP_SYMBOLS := true, \
 ))
 
 TARGETS += $(BUILD_LIBSA)