Page MenuHomeFreeBSD

devel/crc32c: fix build on big-endian architectures
ClosedPublic

Authored by pkubaj on Jul 24 2019, 1:38 PM.
Tags
None
Referenced Files
F137638226: D21054.diff
Mon, Nov 24, 5:47 PM
Unknown Object (File)
Mon, Nov 17, 11:11 PM
Unknown Object (File)
Sun, Nov 2, 1:09 AM
Unknown Object (File)
Wed, Oct 29, 6:24 PM
Unknown Object (File)
Oct 20 2025, 5:13 AM
Unknown Object (File)
Oct 7 2025, 6:06 AM
Unknown Object (File)
Oct 1 2025, 8:58 PM
Unknown Object (File)
Sep 29 2025, 12:54 AM
Subscribers
None

Details

Summary

C++11 compiler is needed:

Target "crc32c" requires the language dialect "CXX11" , but CMake does not
know the compile flags to use to enable it.

Additionally, big-endian code in src/crc32c_read_le.h needs fixing - the value is 64 bits wide, not 32 bits.

PR: 239420

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable