Uploaded image for project: 'Percona Monitoring and Management'
  1. Percona Monitoring and Management
  2. PMM-4483

Do not strip Go debug symbols

    XMLWordPrintable

    Details

    • Type: Admin & Maintenance Task
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-beta7
    • Component/s: Packaging
    • Labels:
      None

      Description

      To make Go tooling work, we should not strip debug symbols or move them to separate files.
      Yes, that is not a best practice for RPM/DEB packaging, but:

      • ability to debug come first;
      • we don't publish RPMs/DEBs to distro repositories.

      In addition to RPM/DEB-specific things, we should remove Go-specific linker flags (ldflags) -w and -s if we have them somewhere.

        Smart Checklist

          Attachments

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              alexey.palazhchenko Alexey Palazhchenko
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 6 hours
                  6h