-
Bug
-
Resolution: Fixed
-
P4
-
9
-
None
-
x86
-
os_x
I believe the fix for JDK-8145596 broke the mac build with --with-native-debug-symbols=none. It will fail with the message below because libjsig.dylib.dSYM ends up in the export lists but doesn't exist.
make[3]: *** No rule to make target `/Users/tkrodrig/ws/hs-comp/build/macosx-x86_64-normal-server-fastdebug/support/modules_libs/java.base/server/libjsig.dylib.dSYM', needed by `all'. Stop.
I believe the problem is that the hotspot make files will ignore the setting of FULL_DEBUG_SYMBOLS. From hotspot/make/bsd/makefiles/defs.make.
ifneq ($(BUILD_FLAVOR),)
# FULL_DEBUG_SYMBOLS not created for individual static libraries
ifeq ($(STATIC_BUILD),false)
ifeq ($(BUILD_FLAVOR), product)
FULL_DEBUG_SYMBOLS ?= 1
ENABLE_FULL_DEBUG_SYMBOLS = $(FULL_DEBUG_SYMBOLS)
else
# debug variants always get Full Debug Symbols (if available)
ENABLE_FULL_DEBUG_SYMBOLS = 1
endif
endif
$(eval $(call print_info, "ENABLE_FULL_DEBUG_SYMBOLS=$(ENABLE_FULL_DEBUG_SYMBOLS)"))
make[3]: *** No rule to make target `/Users/tkrodrig/ws/hs-comp/build/macosx-x86_64-normal-server-fastdebug/support/modules_libs/java.base/server/libjsig.dylib.dSYM', needed by `all'. Stop.
I believe the problem is that the hotspot make files will ignore the setting of FULL_DEBUG_SYMBOLS. From hotspot/make/bsd/makefiles/defs.make.
ifneq ($(BUILD_FLAVOR),)
# FULL_DEBUG_SYMBOLS not created for individual static libraries
ifeq ($(STATIC_BUILD),false)
ifeq ($(BUILD_FLAVOR), product)
FULL_DEBUG_SYMBOLS ?= 1
ENABLE_FULL_DEBUG_SYMBOLS = $(FULL_DEBUG_SYMBOLS)
else
# debug variants always get Full Debug Symbols (if available)
ENABLE_FULL_DEBUG_SYMBOLS = 1
endif
endif
$(eval $(call print_info, "ENABLE_FULL_DEBUG_SYMBOLS=$(ENABLE_FULL_DEBUG_SYMBOLS)"))
- relates to
-
JDK-8145596 Enable debug symbols for all libraries
-
- Resolved
-