Skip to content

Conversation

@carbolymer
Copy link
Contributor

@carbolymer carbolymer commented Oct 29, 2025

Both digest and crc32c are importing crc32c_extend symbol from a crc32c C library which results in GHC linker fatal error when cross-compiling on Windows (see TeofilC/digest#24) and when both dependencies are in the dependency tree. There is a PR open in digest which goes in the direction of removing crc32c C library dependency: TeofilC/digest#24 in favour of using crc32c haskell library directly, thus removing Data.Digest.CRC32C export (used in snappy-c) from digest.

Both digest and crc32c are importing crc32c_extend symbol which results
in GHC linker fatal error when both dependencies are in the dependency
tree. There is a PR open in digest which goes in the direction of
removing crc32c C library: TeofilC/digest#24
in favour of using crc32c haskell library directly.
@carbolymer
Copy link
Contributor Author

@edsko is this something you'd consider merging?

@edsko
Copy link
Collaborator

edsko commented Nov 12, 2025

Yes, I think so. Let me just double-check with the client, but if they're fine with it, I'll merge and release. Thanks for the PR!

@edsko edsko merged commit b374239 into well-typed:main Nov 15, 2025
0 of 7 checks passed
@edsko
Copy link
Collaborator

edsko commented Nov 15, 2025

Released as snappy-c-0.1.2.

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