Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ORC-1021: Add -fno-omit-frame-pointer in DEBUG and RELWITHDEBINFO builds #932

Merged
merged 1 commit into from
Oct 9, 2021

Conversation

stiga-huang
Copy link
Contributor

What changes were proposed in this pull request?

This PR adds -fno-omit-frame-pointer gcc option in DEBUG and RELWITHDEBINFO builds, which helps to generate stacktrace in debugging and profiling. Refs:
https://www.brendangregg.com/perf.html#StackTraces
https://issues.apache.org/jira/browse/IMPALA-4132

Why are the changes needed?

Described as above.

How was this patch tested?

Built in ubuntu16.04 with gcc 8.4.0.

@github-actions github-actions bot added the BUILD label Oct 8, 2021
@guiyanakuang
Copy link
Member

+1 LGTM

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, LGTM. Thank you so much, @stiga-huang and @guiyanakuang .
Merged to main for Apache ORC 1.8.

@dongjoon-hyun dongjoon-hyun merged commit 4b9c45c into apache:main Oct 9, 2021
@dongjoon-hyun dongjoon-hyun added this to the 1.8.0 milestone Nov 2, 2021
@dongjoon-hyun
Copy link
Member

I backported this to branch-1.7.

dongjoon-hyun pushed a commit that referenced this pull request Dec 16, 2021
…lds (#932)

### What changes were proposed in this pull request?

This PR adds -fno-omit-frame-pointer gcc option in DEBUG and RELWITHDEBINFO builds, which helps to generate stacktrace in debugging and profiling. Refs:
https://www.brendangregg.com/perf.html#StackTraces
https://issues.apache.org/jira/browse/IMPALA-4132

### Why are the changes needed?

Described as above.

### How was this patch tested?

Built in ubuntu16.04 with gcc 8.4.0.

(cherry picked from commit 4b9c45c)
Signed-off-by: Dongjoon Hyun <[email protected]>
@dongjoon-hyun dongjoon-hyun modified the milestones: 1.8.0, 1.7.2 Dec 16, 2021
stiga-huang added a commit to stiga-huang/orc that referenced this pull request Jan 19, 2022
…lds (apache#932)

### What changes were proposed in this pull request?

This PR adds -fno-omit-frame-pointer gcc option in DEBUG and RELWITHDEBINFO builds, which helps to generate stacktrace in debugging and profiling. Refs:
https://www.brendangregg.com/perf.html#StackTraces
https://issues.apache.org/jira/browse/IMPALA-4132

### Why are the changes needed?

Described as above.

### How was this patch tested?

Built in ubuntu16.04 with gcc 8.4.0.
stiga-huang added a commit to stiga-huang/orc that referenced this pull request May 4, 2022
…lds (apache#932)

### What changes were proposed in this pull request?

This PR adds -fno-omit-frame-pointer gcc option in DEBUG and RELWITHDEBINFO builds, which helps to generate stacktrace in debugging and profiling. Refs:
https://www.brendangregg.com/perf.html#StackTraces
https://issues.apache.org/jira/browse/IMPALA-4132

### Why are the changes needed?

Described as above.

### How was this patch tested?

Built in ubuntu16.04 with gcc 8.4.0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants