You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Joe McDonnell (Jira)" <ji...@apache.org> on 2024/01/06 04:33:00 UTC

[jira] [Created] (IMPALA-12686) Build the toolchain with basic debug information (-g1)

Joe McDonnell created IMPALA-12686:
--------------------------------------

             Summary: Build the toolchain with basic debug information (-g1)
                 Key: IMPALA-12686
                 URL: https://issues.apache.org/jira/browse/IMPALA-12686
             Project: IMPALA
          Issue Type: Improvement
          Components: Infrastructure
    Affects Versions: Impala 4.4.0
            Reporter: Joe McDonnell


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



--
This message was sent by Atlassian Jira
(v8.20.10#820010)