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_native.h.

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/a4fe1b9d9c82705ec060284f04f7f0d840f82399/cmake/defs.cmake#L31) 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/45125525#45125525 for possible values

If 386 is the same as i386, then it should be already supported. can you verify them as well?


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/issues/4333/3101969873@github.com>