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

AIX hprof should include its own copy of dladdr in porting_aix.c

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: infrastructure
    • Labels:
    • Subcomponent:
    • OS:
      aix

      Description

      src/aix/porting/porting_aix.* are moved to src/java.desktop/aix/native/libawt/porting_aix.*.

      Since AIX hprof also requires dladdr, currently porting_aix.* are copied to src/demo/aix/jvmti/hprof.

      However, jdk/make/CompileDemo.gmk will need adjustment to include this tiny function in libhprof.

      # On AIX, hprof requires 'dladdr' from src/aix/porting/porting_aix.cpp
      BUILD_LIBHPROF_AIX_EXTRA_SRC :=
      BUILD_LIBHPROF_AIX_EXTRA_CFLAGS :=
      ifeq ($(OPENJDK_TARGET_OS), aix)
        BUILD_LIBHPROF_AIX_EXTRA_SRC += $(JDK_TOPDIR)/src/aix/porting
        BUILD_LIBHPROF_AIX_EXTRA_CFLAGS += -I$(JDK_TOPDIR)/src/aix/porting
      endif

        Attachments

          Activity

            People

            • Assignee:
              erikj Erik Joelsson
              Reporter:
              mchung Mandy Chung
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: