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

Link gtestLauncher statically if libjvm is configured for static linking

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • infrastructure
    • None
    • b150
    • linux

      In the build, we have a global setting for linking libstdc++ static or dynamic on Linux. All libraries and executables that go in the product honor this setting. The gtestLauncher currently doesn't. This causes trouble in testing where some machines might not have the 32bit libstdc++.so installed. Since installing that library is not needed for just running the product, it's awkward to have to install it to run certain tests.

      I have tried linking gtestLauncher static. The file actually comes out a little bit smaller, so there is no footprint overhead. The tests still pass.

            erikj Erik Joelsson
            erikj Erik Joelsson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: