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

Generate debug symbols with CFLAGS=-g3 #1203

Open
samrose opened this issue Sep 13, 2024 · 0 comments
Open

Generate debug symbols with CFLAGS=-g3 #1203

samrose opened this issue Sep 13, 2024 · 0 comments
Assignees

Comments

@samrose
Copy link
Contributor

samrose commented Sep 13, 2024

Chore

Over here #1195 (comment) @pashkinelfe suggested the following

I'd drop --enable-debug and use CFLAGS=-g3 instead like in fdaee4b

As per
https://wiki.postgresql.org/wiki/Developer_FAQ --enable-debug will also set less speed-optimal optimization i.e. -Og CFLAGS (and also -fno-omit-frame-pointer) that could decrease performance compared to default -02. I think for production system -g3 is better

So this is an issue to create PR that tries to do this + making sure that the new approach is compatible with separateDebugInfo = true; in our postgresql package

@samrose samrose self-assigned this Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant