[sr-dev] [kamailio/kamailio] core: use standard c atomic code from stdatomic.h instead of providing assembly routines (#1430)

Victor Seva notifications at github.com
Wed Feb 7 13:23:03 CET 2018


>From https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=886111

```
Source: kamailio
Version: 5.1.0-1
Severity: wishlist

Hi,

I noticed from the build log on mips64el a lot of warnings like this:
> In file included from ../../core/parser/../mem/../atomic/atomic_native.h:50:0,
>                  from ../../core/parser/../mem/../futexlock.h:42,
>                  from ../../core/parser/../mem/../lock_ops.h:75,
>                  from ../../core/parser/../mem/shm.h:39,
>                  from ../../core/parser/../mem/shm_mem.h:34,
>                  from ../../core/parser/../ut.h:45,
>                  from ../../core/parser/../ip_addr.h:39,
>                  from ../../core/parser/msg_parser.h:37,
>                  from app_sqlang_api.h:28,
>                  from app_sqlang_kemi_export.c:32:
> ../../core/parser/../mem/../atomic/atomic_mips2.h:41:2: warning: #warning mips64 atomic code was not tested, please report problems to serdev at iptel.org or andrei at iptel.org [-Wcpp]
>  #warning mips64 atomic code was not tested, please report problems to \
>   ^~~~~~~

If possible, kamailio should use the standard c atomic code from
stdatomic.h instead of providing assembly routines. This will improve
maintainability and architecture support.

Thanks,
James
```


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1430
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20180207/26f07cf4/attachment-0001.html>


More information about the sr-dev mailing list