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

Solaris libraries need to be stripped

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.0
    • 1.3.1
    • infrastructure
    • None
    • beta
    • generic
    • solaris_8


      The current (Merlin and Ladybird) shared libraries (on Solaris, at least)
      are much larger than they need to be. The command "strip -x" should be
      run on the non-debug versions of these libraries during the build process
      to remove debugging and line number information.

      Demonstration case - a recent merlin build, lib/sparc/motif21/libmawt.so.

      unstripped: 1,036,756 bytes
      strip -x : 791,088 bytes

      Savings: ~23%

      I don't believe that there is any loss of functionality associated
      with doing this.

      Checked b18 in ladybird, the first build with these changes, and
      only the executables were affected by the fix, none of the .so
      files were stripped.

      david.katleman@Eng 2001-03-01

            dmcduffisunw Dale Mcduffie (Inactive)
            foliversunw Fred Oliver (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: