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

Allow C++ library headers on Solaris Studio

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10
    • Component/s: infrastructure
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b21

      Description

      When we build the JDK on solaris studio, we use -library=%none for both CFLAGS and LDFLAGS to ensure there are no dependencies to the C++ standard libraries in the resulting binaries. However, it is enough to do it only for LDFLAGS. Instead, CFLAGS could provide a reasonable C++ library such as -library=stlport4 that is already used by the gtest launcher. That way, header files with useful constants and other useful things that do not require linking may be used during the compilation.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                eosterlund Erik Ă–sterlund
                Reporter:
                eosterlund Erik Ă–sterlund
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: