Build failure on s390x architecture (static assertion failed std::endian::native == std::endian::little)

Get help for specific problems
Posts: 44
Joined: 14 Aug 2022

daviank

Hello Zenju & all,

I'm having this error when building freefilesync on s390x architecture:
base/db_file.cpp:51:39: error: static assertion failed
   51 |     static_assert(std::endian::native == std::endian::little);
      |                   ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
compilation terminated due to -Wfatal-errors.
make[1]: *** [Makefile:139: /tmp/FreeFileSync_Make/ffs/src/base/db_file.cpp.o] Error 1
Could you please help? How can I fix this?
Posts: 7
Joined: 28 Jan 2023

TallBob

IBM Mainframes are big-endian machines.