Comment 1 for bug 1244573

Revision history for this message
Sergei Glushchenko (sergei.glushchenko) wrote : Re: Bitmap tests crash the 5.5 server on Jenkins centos5-32 release

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.