Tried to compile the server in debug mode on s390x but I ran into a compile error in srw_lock.cc (https://github.com/MariaDB/server/blob/10.11/storage/innobase/sync/srw_lock.cc#L121).
[ 65%] Building CXX object storage/innobase/CMakeFiles/innobase.dir/sync/srw_lock.cc.o
|
/home/tester/server/storage/innobase/sync/srw_lock.cc: In function ?bool xtest()?:
|
/home/tester/server/storage/innobase/sync/srw_lock.cc:121:17: error: ?__builtin_ttest? was not declared in this scope; did you mean ?__builtin_tend??
|
121 | _HTM_STATE (__builtin_ttest ()) == _HTM_TRANSACTIONAL;
|
| ^~~~~~~~~~~~~~~
|
| __builtin_tend
|
/home/tester/server/storage/innobase/sync/srw_lock.cc:121:5: error: ?_HTM_STATE? was not declared in this scope
|
121 | _HTM_STATE (__builtin_ttest ()) == _HTM_TRANSACTIONAL;
|
| ^~~~~~~~~~
|
/home/tester/server/storage/innobase/sync/srw_lock.cc:121:40: error: ?_HTM_TRANSACTIONAL? was not declared in this scope
|
121 | _HTM_STATE (__builtin_ttest ()) == _HTM_TRANSACTIONAL;
|
| ^~~~~~~~~~~~~~~~~~
|
make[2]: *** [storage/innobase/CMakeFiles/innobase.dir/build.make:1406: storage/innobase/CMakeFiles/innobase.dir/sync/srw_lock.cc.o] Error 1
|
make[1]: *** [CMakeFiles/Makefile2:5108: storage/innobase/CMakeFiles/innobase.dir/all] Error 2
|
make: *** [Makefile:166: all] Error 2
|