– Running cmake version 3.15.5
– The C compiler identification is Clang 8.0.1
– The CXX compiler identification is Clang 8.0.1
– Check for working C compiler: /usr/bin/cc
– Check for working C compiler: /usr/bin/cc – works
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Detecting C compile features
– Detecting C compile features - done
– Check for working CXX compiler: /usr/bin/c++
– Check for working CXX compiler: /usr/bin/c++ – works
$ /usr/bin/cc --version
FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1)
Target: i386-unknown-freebsd12.1
Thread model: posix
InstalledDir: /usr/bin
$ /usr/bin/c++ --version
FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1)
Target: i386-unknown-freebsd12.1
Thread model: posix
InstalledDir: /usr/bin
This change broke build on FreeBSD i386 (12.0 and 12.1):
In file included from /usr/obj/usr/ports/databases/mariadb104-client/work/mariadb-10.4.7/mysys/my_new.cc:25:
In file included from /usr/obj/usr/ports/databases/mariadb104-client/work/mariadb-10.4.7/mysys/mysys_priv.h:20:
In file included from /usr/obj/usr/ports/databases/mariadb104-client/work/mariadb-10.4.7/include/my_sys.h:34:
/usr/obj/usr/ports/databases/mariadb104-client/work/mariadb-10.4.7/include/my_pthread.h:822:10: error: use of undeclared
identifier 'my_atomic_add32'
(void) my_atomic_add32_explicit(value, 1, MY_MEMORY_ORDER_RELAXED);
^
/usr/obj/usr/ports/databases/mariadb104-client/work/mariadb-10.4.7/include/my_atomic.h:153:43: note: expanded from macro
'my_atomic_add32_explicit'
#define my_atomic_add32_explicit(P, A, O) my_atomic_add32((P), (A))
Details are here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239981#c2