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
Linking error on OpenBSD: __builtin_bswap32 not available #1
Comments
@maximpichler which compiler/version is used on OpenBSD? |
|
@maximpichler sorry, I meant the c compiler. This is about the |
|
Yeah, so GCC 4.3 was when |
That's strange... when searching for
That being said, we can just tighten the version-check to check for |
The manuals suggest otherwise: https://gcc.gnu.org/onlinedocs/gcc-4.2.4/gcc/Keyword-Index.html mentions __builtin_bswap32, wheras https://gcc.gnu.org/onlinedocs/gcc-4.3.0/gcc/Keyword-Index.html doesn't. |
Thanks for the swift fix and release! |
When linking against cryptohash-sha256-0.11.100.0 (e.g. when building cabal-install) on OpenBSD, the following error occurs:
Looks like __builtin_bswap32 doesn't exist on OpenBSD (but l32toh might be an alternative): http://man.openbsd.org/OpenBSD-5.9/man3/be16toh.3
The text was updated successfully, but these errors were encountered: