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

Introduce debug symbols flag for static build #397

Merged
merged 2 commits into from
Dec 17, 2023

Conversation

goossda
Copy link
Contributor

@goossda goossda commented Dec 17, 2023

I had some isolated issue where PHP throwed a segmentation error when using pdo_pgsql on a few servers.
pgtls_close was the culprit, and i temporariliy fixed the issue by adding a sslmode=disable.

Before knowing this, i needed to have a build with debug symbols enabled to investigate the situation.

I think it's a nice feature to enable a "debug-build" with an environment variable like 'DEBUG_SYMBOLS'.

Copy link
Owner

@dunglas dunglas left a comment

Choose a reason for hiding this comment

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

Could you also add the new env var to the docs (static.md) please?

@goossda
Copy link
Contributor Author

goossda commented Dec 17, 2023

@dunglas done!

@dunglas dunglas merged commit b6e2277 into dunglas:main Dec 17, 2023
6 checks passed
@goossda goossda deleted the feature/enable-debug-symbols branch September 16, 2024 08:13
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

Successfully merging this pull request may close these issues.

2 participants