﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	field_blocks	field_dependson	field_seealso
741	Clang build broken in RCU with stdatomic	Jiri Svoboda	Jiří Zárevúcky	"Building amd64 profile with compiler changed to clang (clang-6.0) I get the following build error in kernel RCU:

{{{
generic/src/synch/rcu.c:665:6: error: address argument to atomic operation must
      be a pointer to _Atomic type ('rcu_item_t ***' (aka 'struct rcu_item ***')
      invalid)
            local_atomic_exchange(&r->parriving_cbs_tail, &rcu_item->next);
            ^                     ~~~~~~~~~~~~~~~~~~~~~~
generic/include/atomic.h:70:2: note: expanded from macro 'local_atomic_exchange'
        atomic_exchange_explicit(var_addr, new_val, memory_order_relaxed)
        ^                        ~~~~~~~~
/usr/lib64/clang/6.0.1/include/stdatomic.h:138:34: note: expanded from macro
      'atomic_exchange_explicit'
#define atomic_exchange_explicit __c11_atomic_exchange
                                 ^
}}}"	defect	closed	major	0.8.0	helenos/unspecified	mainline	fixed					
