https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117725
--- Comment #7 from Stefan Schulze Frielinghaus <stefansf at gcc dot gnu.org> --- (In reply to Matthias Klose from comment #5) > even with the changes from comment 3, it still fails with: > > In file included from > ../../../../../src/libsanitizer/interception/interception.h:18, > from > ../../../../../src/libsanitizer/interception/interception_type_test.cpp:14: > ../../../../../src/libsanitizer/interception/interception_type_test.cpp:30: > 61: error: static assertion failed > 30 | COMPILER_CHECK((__sanitizer::is_same<::SSIZE_T, ::ssize_t>::value)); > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ > ../../../../../src/libsanitizer/sanitizer_common/sanitizer_internal_defs.h: > 363:44: note: in definition of macro 'COMPILER_CHECK' > 363 | #define COMPILER_CHECK(pred) static_assert(pred, "") > | ^~~~ > make[10]: *** [Makefile:469: interception_type_test.lo] Error 1 > make[10]: Leaving directory > '/<<PKGBUILDDIR>>/build/s390x-linux-gnu/32/libsanitizer/interception' > make[9]: *** [Makefile:533: all-recursive] Error 1 Hmm strange. Cherry picking those 3 commits plus the pull request from comment 3 works for me. Can you share your setup?