we have crc32(const void *, size_t) in libsa. Unfortunately zlib has crc32(long, const unigned char *, unsigned) and we have conflict.
Since we do build libsa with zlib, we can use zlib version instead.
Differential D24068
loader: remove libsa/crc32.c and use version from zlib tsoome on Mar 14 2020, 3:48 PM. Authored by Tags None Referenced Files
Details
we have crc32(const void *, size_t) in libsa. Unfortunately zlib has crc32(long, const unigned char *, unsigned) and we have conflict. Since we do build libsa with zlib, we can use zlib version instead.
Diff Detail
Event TimelineComment Actions I’d suggest using the zlib one unless it takes excessive space (bigger precomputed tables, for ex.). Comment Actions I did that in illumos:) I was not sure about the preferred way with freebsd; it is larger, but it is present anyhow because we do link zlib and it is referred. |