The bug caused by http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51332 in GCC 4.1. Bitmap code use log_get_tracked_lsn which on 32bit CentOS with i686 falls to buggy __sync_add_and_fetch.
Workaround is to compile PS using gcc 4.4 on CentOS 5 or not define HAVE_ATOMIC_BUILTINS_64 for gcc 4.1 and fall back to using mutex.
The bug caused by http:// gcc.gnu. org/bugzilla/ show_bug. cgi?id= 51332 in GCC 4.1. Bitmap code use log_get_tracked_lsn which on 32bit CentOS with i686 falls to buggy __sync_ add_and_ fetch.
Workaround is to compile PS using gcc 4.4 on CentOS 5 or not define HAVE_ATOMIC_ BUILTINS_ 64 for gcc 4.1 and fall back to using mutex.