FreeBSD/KnotDNS/make/gccについて、ここに記述してください。
6.53 Built-in Functions for Memory Model Aware Atomic Operations
https://gcc.gnu.org/onlinedocs/gcc/_005f_005fatomic-Builtins.html
Built-in Function: type __atomic_add_fetch (type *ptr, type val, int memorder) Built-in Function: type __atomic_sub_fetch (type *ptr, type val, int memorder) Built-in Function: type __atomic_and_fetch (type *ptr, type val, int memorder) Built-in Function: type __atomic_xor_fetch (type *ptr, type val, int memorder) Built-in Function: type __atomic_or_fetch (type *ptr, type val, int memorder) Built-in Function: type __atomic_nand_fetch (type *ptr, type val, int memorder)
Built-in Function: type __atomic_fetch_add (type *ptr, type val, int memorder) Built-in Function: type __atomic_fetch_sub (type *ptr, type val, int memorder) Built-in Function: type __atomic_fetch_and (type *ptr, type val, int memorder) Built-in Function: type __atomic_fetch_xor (type *ptr, type val, int memorder) Built-in Function: type __atomic_fetch_or (type *ptr, type val, int memorder) Built-in Function: type __atomic_fetch_nand (type *ptr, type val, int memorder)
BSD側は man atomic で調べよ。
対応はこれから。
-- ToshinoriMaeno 2017-05-12 04:58:34