-
Notifications
You must be signed in to change notification settings - Fork 97
FAQ
asalkeld edited this page May 11, 2012
·
1 revision
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.