changeset 12479:f44226771aac

8171310: Gtest libjvm.so is always stripped Reviewed-by: tbell, dholmes, stuefe
author erikj
date Mon, 19 Dec 2016 16:26:22 +0100
parents 9d5a9f0570e6
children fcef8579ef44 9802f36e363f e5e4011e9c30 0e09840aa554
files make/lib/CompileDtracePostJvm.gmk make/lib/CompileGtest.gmk make/lib/Lib-jdk.hotspot.agent.gmk
diffstat 3 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/make/lib/CompileDtracePostJvm.gmk	Thu Dec 15 14:24:04 2016 +0100
+++ b/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/make/lib/CompileGtest.gmk	Thu Dec 15 14:24:04 2016 +0100
+++ b/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/make/lib/Lib-jdk.hotspot.agent.gmk	Thu Dec 15 14:24:04 2016 +0100
+++ b/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)