You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
asalkeld edited this page May 11, 2012
·
1 revision
libqb build fine but test fail on i686 VM
Build libqb with default rpm settings (mtune=i686), it builds, but ipc and rb tests fail/timeout/segfault which apparently is because gcc "overoptimizes" and some atomic synchronization primitive just does not work.
as a workaround simply
export CFLAGS=-O2 -g -march=i586
it seems to be __sync_bool_compare_and_swap() that breaks with the unsuitable gcc flags.