Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-12686

Build the toolchain with basic debug information (-g1)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Impala 4.4.0
    • None
    • Infrastructure
    • None
    • ghx-label-8

    Description

      Currently, we build most of the toolchain without debug information and without "-fno-omit-frame-pointers". This makes it difficult to get reliable stack traces that go through some of those libraries. We should build the toolchain with basic debug information (-g1) to get reliable stack traces.

      For some libraries, we want to compile with full debug information (-g) to allow the ability to step through the code with a debugger. Currently, ORC and Kudu (and others) are built with -g and should stay that way. We should add -g for Thrift.

      To save space, we should also enable compressed debug information (-gz) to keep the sizes from growing too much (and reduce the size of existing debug information).

      Attachments

        Activity

          People

            Unassigned Unassigned
            joemcdonnell Joe McDonnell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: