[squid-users] squid 3.5.3: squid -z => FATAL: memory_cache_shared is on, but no support for atomic operations detected

Amos Jeffries squid3 at treenet.co.nz
Tue Apr 28 14:37:23 UTC 2015


On 29/04/2015 2:21 a.m., Paul Martin wrote:
> Thank you Amos,
> but I got the same problem  with squid 3.5.3-20150456-r13812
> 
> Any other suggestions ?

Unless you are cross-building, no.

It means your libc does not supply the specific GNU atomics __sync_*()
API Squid makes use of. Note that is different from pthreads, general
"atomic support" or even C++11 atomics.


For cross-building it is:
  ./configure squid_cv_gnu_atomics=yes ...

but only use that if you are certain the target machine libc has the
right API available *and working*. Otherwise all you are doing is
building a Squid binary that will corrupt the shared memory it uses.

Amos




More information about the squid-users mailing list