--- a/src/s2/util/endian/endian.h.orig 2023-05-14 04:29:12.000000000 +0800 +++ b/src/s2/util/endian/endian.h 2023-05-18 14:18:31.000000000 +0800 @@ -768,6 +768,7 @@ // Load/Store for bool. Sanitizes bool on the way in for safety. +#if !(defined(__MACH__) && defined(__ppc__)) template<> inline bool LittleEndian::Load(const char* p) { static_assert(sizeof(bool) == 1, "Unexpected sizeof(bool)"); @@ -791,6 +792,7 @@ static_assert(sizeof(bool) == 1, "Unexpected sizeof(bool)"); *p = value ? 1 : 0; } +#endif // Load/Store for float.