Re: [lttng-dev] Userspace RCU data alignment

2020-06-05 Thread Mathieu Desnoyers via lttng-dev
- On Jun 3, 2020, at 8:36 AM, lttng-dev lttng-dev@lists.lttng.org wrote: > I've compiled userspace-rcu with: > > CC=gcc CFLAGS='-O0 -g3 -fsanitize=undefined' LIBS='-lubsan' ./configure [xxx] > > and see a lot of 'misaligned address' runtime errors like: > > ./doc/examples/urcu-flavors/bp =

[lttng-dev] Userspace RCU data alignment

2020-06-03 Thread Dmitry Antipov via lttng-dev
I've compiled userspace-rcu with: CC=gcc CFLAGS='-O0 -g3 -fsanitize=undefined' LIBS='-lubsan' ./configure [xxx] and see a lot of 'misaligned address' runtime errors like: ./doc/examples/urcu-flavors/bp ==> ../include/urcu/static/urcu-bp.h:185:6: runtime error: member access within misaligned