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

debuginfo files should not have executable bit set

XMLWordPrintable

    • b11

      When we create our debuginfo files on linux, we use objcopy to create a copy of the corresponding lib*.so or executable. In the latter case, objcopy will keep the executable bit. While this is a reasonable assumption for objcopy, we really treat the debuginfo files as data, not as executables in their own right, so we should strip the executable bit.

      This was found when working with JDK-8325342, and I there attempted to properly locate all executables and only executables.

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

              Created:
              Updated:
              Resolved: