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

Native tests should always be linked with -lc on solaris

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 11
    • 11
    • infrastructure
    • None

      David Holmes came up with the accurate report:

      In make/test/JtregNativeHotspot.gmk we have this ever expanding list:

      ifeq ($(TOOLCHAIN_TYPE), solstudio)
          BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_liboverflow := -lc BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libSimpleClassFileLoadHook := -lc BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libGetOwnedMonitorInfoTest := -lc
      ...
          

      Why do we need to do this instead of always linking in the basic libraries?

            Unassigned Unassigned
            ihse Magnus Ihse Bursie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: