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

enable debug info in linux shared libraries

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • None
    • javafx
    • linux

      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 ->

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

              Created:
              Updated:
              Resolved: