Bug#886111: kamailio: should use standard c atomic routines

James Cowgill jcowgill at debian.org
Tue Jan 2 12:11:50 UTC 2018


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20180102/c105cd0a/attachment.sig>


More information about the Pkg-voip-maintainers mailing list