[ 
https://issues.apache.org/jira/browse/IMPALA-12541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17812035#comment-17812035
 ] 

Joe McDonnell commented on IMPALA-12541:
----------------------------------------

I built an experimental toolchain with this change, and I was able to build an 
Ubuntu package with separate debug info. I expect something similar would be 
possible with Redhat.

With the Build ID set, minidump resolution continued to work.

> Compile toolchain GCC with --enable-linker-build-id to add Build ID to 
> binaries
> -------------------------------------------------------------------------------
>
>                 Key: IMPALA-12541
>                 URL: https://issues.apache.org/jira/browse/IMPALA-12541
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Infrastructure
>    Affects Versions: Impala 4.4.0
>            Reporter: Joe McDonnell
>            Assignee: Joe McDonnell
>            Priority: Major
>
> A "Build ID" is a unique identifier for binaries (which is a hash of the 
> contents). Producing OS packages with separate debug symbols requires each 
> binary to have a Build ID. This is particularly important for libstdc++, 
> because it is produced during the native-toolchain build rather than the 
> regular Impala build. To turn on Build IDs, one can configure that at GCC 
> build time by specifying "--enable-linker-build-id". This causes GCC to tell 
> the linker to compute the Build ID.
> Breakpad will also use the Build ID when resolving symbols.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to