You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cant build due to issue related to crc32 implementation in Apple Silicon
In file included from /home/scherepanov/.cache/Homebrew/cargo_cache/registry/src/index.crates.io-6f17d22bba15001f/libz-ng-sys-1.1.9/src/zlib-ng/arch/arm/crc32_acle.c:10:
/usr/lib/gcc/aarch64-redhat-linux/14/include/arm_acle.h: In function ‘crc32_acle’:
/usr/lib/gcc/aarch64-redhat-linux/14/include/arm_acle.h:199:1: error: inlining failed in call to ‘always_inline’ ‘__crc32b’: target specific option mismatch
199 | __crc32b (uint32_t __a, uint8_t __b)
| ^~~~~~~~
/home/scherepanov/.cache/Homebrew/cargo_cache/registry/src/index.crates.io-6f17d22bba15001f/libz-ng-sys-1.1.9/src/zlib-ng/arch/arm/crc32_acle.c:21:13: note: called from here
21 | c = __crc32b(c, *buf++);
| ^~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/aarch64-redhat-linux/14/include/arm_acle.h:234:1: error: inlining failed in call to ‘always_inline’ ‘__crc32h’: target specific option mismatch
234 | __crc32h (uint32_t __a, uint16_t __b)
| ^~~~~~~~
Duplicates
Current behavior 😯
Cant build due to issue related to crc32 implementation in Apple Silicon
Expected behavior 🤔
The binary should compile
Steps to reproduce 🕹
Install brew for arm linux by following guide https://github.com/huyz/brew-for-linux-arm on asahi remix
run:
Additional context/Screenshots 🔦
No response
Possible Solution 💡
I fixed the similar issue in the Postgress just by forcing to use software implementation of CRC32:
ENV.append "USE_SLICING_BY_8_CRC32C", "1"
The text was updated successfully, but these errors were encountered: