Skip to content

Link librt when compiling with --staticbin on Linux #2746

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

Merged
merged 1 commit into from
Nov 27, 2019

Conversation

fpoli
Copy link
Contributor

@fpoli fpoli commented Nov 27, 2019

Fix for issue #2457. The workaround is described here: https://stackoverflow.com/questions/58848694/gcc-whole-archive-recipe-for-static-linking-to-pthread-stopped-working-in-rec.

On Ubuntu 19.04 this is enough to avoid a SIGSEGV when running z3 -v.

@NikolajBjorner NikolajBjorner merged commit 8ebbc09 into Z3Prover:master Nov 27, 2019
@NikolajBjorner
Copy link
Contributor

Thank you!

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