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

enable debug info in linux shared libraries

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: javafx
    • Labels:
    • Subcomponent:
    • OS:
      linux

      Description

      Missing a flag when creating the libraries

      ddhill@ddhlinux:~/sb/9/openjfx$ hg diff
      diff -r 27c61d1a45f4 buildSrc/linux.gradle
      --- a/buildSrc/linux.gradle Thu Feb 25 09:01:36 2016 -0800
      +++ b/buildSrc/linux.gradle Thu Feb 25 15:26:24 2016 -0500
      @@ -56,6 +56,10 @@
       //ccFlags.addAll(["-Wnon-virtual-dtor", "-Woverloaded-virtual", "-std=c++0x"])
       def linkFlags = ["-shared", commonFlags].flatten()
       
      +if (IS_DEBUG_NATIVE) {
      + linkFlags += "-g"
      +}
      +
       // Create $buildDir/linux_tools.properties file and load props from it
       setupTools("linux_tools",
           { propFile ->

        Attachments

          Activity

            People

            • Assignee:
              ddhill David Hill (Inactive)
              Reporter:
              ddhill David Hill (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: