xkaraman left a comment (kamailio/kamailio#4333)
Hey @sergey-safarov,
You can see the available archs for atomics in https://github.com/kamailio/kamailio/blob/master/src/core/atomic/atomic_nati....
Therefore, for `s390x` and `riscv64`, there is nothing on cmake side that can fix that. It needs to be implement in kamailio source.
Now, for `ppc` there is support, but i imagine that your platform OS is define as `ppc64le`. Can you confirm this by looking at `cmake` config stage and the ouput of `Target Processor: xxxx` line? I have a fix already (https://github.com/xkaraman/kamailio/blob/a4fe1b9d9c82705ec060284f04f7f0d840...) by aliasing it to `ppc64` where it's an acceptable value. If you can confirm it as well it would be great.
`arm` is also supported. the source requires though `Target Processor` to be `arm`,`arm6` or `arm7`. If it's anything else we might need to alias is to one of them. There is a long list of what `CMAKE_SYSTEM_PROCESSOR` values can be, look at https://stackoverflow.com/questions/45125516/possible-values-for-uname-m/451... for possible values
If `386` is the same as `i386`, then it should be already supported. can you verify them as well?