Details
-
Bug
-
Resolution: Duplicate
-
Major - P3
-
None
-
None
-
None
-
None
-
Server Development Platform
-
ALL
-
Dev Platform 2021-12-13
Description
The assembly code for the pause statement is not supported by clang on s390x.
src/mongo/util/concurrency/spin_lock.cpp:57:9: error: invalid operand for instruction
|
MONGO_YIELD_CORE_FOR_SMT();
|
^
|
src/mongo/platform/pause.h:64:53: note: expanded from macro 'MONGO_YIELD_CORE_FOR_SMT'
|
#define MONGO_YIELD_CORE_FOR_SMT() __asm__ volatile("lr 0,0" ::: "memory")
|
^
|
<inline asm>:1:5: note: instantiated into assembly here
|
lr 0,0
|
^
|
1 error generated.
|