Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8151406

--with-native-debug-symbols=none no longer works on mac after JDK-8145596

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 9
    • 9
    • infrastructure
    • None
    • x86
    • os_x

    Description

      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)"))

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              never Tom Rodriguez
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: