Native tests should always be linked with -lc on solaris

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 11
    • Affects Version/s: 11
    • Component/s: 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?

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

              Created:
              Updated:
              Resolved: