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

ccall: avoid some problematic symbol mangling #34754

Merged
merged 2 commits into from
Feb 17, 2020
Merged

ccall: avoid some problematic symbol mangling #34754

merged 2 commits into from
Feb 17, 2020

Conversation

vtjnash
Copy link
Member

@vtjnash vtjnash commented Feb 13, 2020

These fix some build issues on some platforms.

The ffs function is not always available under that name, use instead the compiler name for it which may always be used.
Other bad cases are probably less common, but still exist. The code to fix those is included in #25984.

Fixes #34680
@vtjnash vtjnash added the building Build system, or building Julia or its dependencies label Feb 13, 2020
@staticfloat
Copy link
Member

This should fix #34680

@KristofferC
Copy link
Member

I've added a test for this in JuliaLang/PackageCompiler.jl#341 and can confirm that it fails without this and passes with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
building Build system, or building Julia or its dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants