Skip to content

Obfuscate ghc heap symbols #212

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 3 commits into from
May 24, 2020
Merged

Conversation

shayne-fletcher
Copy link
Contributor

@shayne-fletcher shayne-fletcher commented May 23, 2020

Duplicate symbol errors arise on Windows when linking with ghc-lib-parser with ghc-heap. Syntactically obfuscate ghc-lib's aToWordzh and reallyUnsafePtrEqualityUpToTag to avoid this. Fixes #210.

@shayne-fletcher shayne-fletcher force-pushed the obfuscate-ghc-heap-symbols branch 5 times, most recently from 9984344 to 7549db6 Compare May 23, 2020 23:31
@shayne-fletcher shayne-fletcher force-pushed the obfuscate-ghc-heap-symbols branch from 7549db6 to 33cc074 Compare May 23, 2020 23:43
@shayne-fletcher
Copy link
Contributor Author

shayne-fletcher commented May 23, 2020

This observation is likely a knock-on effect of PR #188.

Copy link
Contributor

@cocreature cocreature left a comment

Choose a reason for hiding this comment

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

Thanks!

@shayne-fletcher shayne-fletcher merged commit 5707d5d into master May 24, 2020
@shayne-fletcher shayne-fletcher deleted the obfuscate-ghc-heap-symbols branch May 24, 2020 05:55
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.

Fail to build with stack + ghc-8.6.5 + windows
2 participants