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

statically link libunwind #119

Merged
merged 1 commit into from Jun 23, 2019
Merged

statically link libunwind #119

merged 1 commit into from Jun 23, 2019

Conversation

benfred
Copy link
Owner

@benfred benfred commented Jun 23, 2019

Calling dlopen on libunwind doesn't work with the musl libc that we're using
to distribute wheels on linux. Instead statically link in libunwind for musl,
and directly dynamically link against it for gnu libc.

Also add a cfg flag to easily set if we have unwind support, and disable
compiling code if it is set. This should hopefully also fix the ARM build,
and make it easier to port towards freebsd.

Calling dlopen on libunwind doesn't work with the musl libc that we're using
to distribute wheels on linux. Instead statically link in libunwind for musl,
and directly dynamically link against it for gnu libc.

Also add a cfg flag to easily set if we have unwind support, and disable
compiling code if it is set. This should hopefully also fix the ARM build,
and make it easier to port towards freebsd.
@benfred benfred merged commit d275adf into master Jun 23, 2019
@benfred benfred deleted the unwind_tweaks branch June 23, 2019 00:39
This was referenced Jul 7, 2019
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.

None yet

1 participant