mariadb/include/atomic
Sergei Golubchik 66fd45afce MDEV-7398 mysqld segfaults on FreeBSD 10.1 i386 when built with clang 3.4
in cmake tests let's treat clang like gcc (same options,
same builtins) in many cases.

* don't check the compiler when
  * testing for -fvisibility=hidden support
  * testing for HAVE_ABI_CXA_DEMANGLE
  * testing for HAVE_GCC_ATOMIC_BUILTINS
  * when removing options with string(replace)
  * when running ${CC} --version (ignore the error instead)
* run ABI checks for clang
* use "canonical" gcc flags for clang
* fix groonga too

Also:

* add cmake detection for gcc __atomic_* builtins. they might be
  supported (__ATOMIC_SEQ_CST is defined), but not for all operand
  sizes. In particular, 64-bit atomic load is problematic on i386
* cache check results for Windows
* remove the test for HAVE_CXXABI_H (HAVE_ABI_CXA_DEMANGLE is
  suffifient)
2015-06-16 23:58:21 +02:00
..
gcc_builtins.h MDEV-7398 mysqld segfaults on FreeBSD 10.1 i386 when built with clang 3.4 2015-06-16 23:58:21 +02:00
generic-msvc.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
nolock.h MDEV-417 - fix typo that prevented use of atomic instructions on Windows 2012-07-30 20:13:23 +02:00
rwlock.h compilation fixes for WITH_ATOMIC_OPS=rwlocks 2014-09-08 12:59:57 +02:00
solaris.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
x86-gcc.h centos5 gcc 4.1 asm bug 2013-05-07 18:28:36 +02:00