My os version:
root@221121ba4f56:/mnt/percona-xtrabackup# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
gcc version:
root@221121ba4f56:/mnt/percona-xtrabackup# gcc --version
gcc (GCC) 12.2.0
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
xtrabackup version:
$ git clone -b release-8.0.32-25 https://github.com/percona/percona-xtrabackup.git
error log :
Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output:
Change Dir: /mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_3bba5/fast && /usr/bin/gmake -f CMakeFiles/cmTC_3bba5.dir/build.make CMakeFiles/cmTC_3bba5.dir/build
gmake[1]: Entering directory '/mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_3bba5.dir/src.c.o
/usr/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD -fno-omit-frame-pointer -ffp-contract=off -ftls-model=initial-exec -g -O2 -ffile-prefix-map=/mnt/percona-xtrabackup=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -moutline-atomics -fPIE -o CMakeFiles/cmTC_3bba5.dir/src.c.o -c /mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp/src.c
Linking C executable cmTC_3bba5
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3bba5.dir/link.txt --verbose=1
/usr/bin/cc -fno-omit-frame-pointer -ffp-contract=off -ftls-model=initial-exec -g -O2 -ffile-prefix-map=/mnt/percona-xtrabackup=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -moutline-atomics -Wl,-z,relro -fuse-ld=lld CMakeFiles/cmTC_3bba5.dir/src.c.o -o cmTC_3bba5
ld.lld: error: undefined symbol: pthread_create
>>> referenced by src.c:11 (./build/CMakeFiles/CMakeTmp/src.c:11)
>>> CMakeFiles/cmTC_3bba5.dir/src.c.o:(main)
ld.lld: error: undefined symbol: pthread_detach
>>> referenced by src.c:12 (./build/CMakeFiles/CMakeTmp/src.c:12)
>>> CMakeFiles/cmTC_3bba5.dir/src.c.o:(main)
ld.lld: error: undefined symbol: pthread_cancel
>>> referenced by src.c:13 (./build/CMakeFiles/CMakeTmp/src.c:13)
>>> CMakeFiles/cmTC_3bba5.dir/src.c.o:(main)
ld.lld: error: undefined symbol: pthread_join
>>> referenced by src.c:14 (./build/CMakeFiles/CMakeTmp/src.c:14)
>>> CMakeFiles/cmTC_3bba5.dir/src.c.o:(main)
collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_3bba5.dir/build.make:99: cmTC_3bba5] Error 1
gmake[1]: Leaving directory '/mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:127: cmTC_3bba5/fast] Error 2
Source file was:
#include <pthread.h>
static void* test_func(void* data)
{
return data;
}
int main(void)
{
pthread_t thread;
pthread_create(&thread, NULL, test_func, NULL);
pthread_detach(thread);
pthread_cancel(thread);
pthread_join(thread, NULL);
pthread_atfork(NULL, NULL, NULL);
pthread_exit(NULL);
return 0;
}
Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_2cfae/fast && /usr/bin/gmake -f CMakeFiles/cmTC_2cfae.dir/build.make CMakeFiles/cmTC_2cfae.dir/build
gmake[1]: Entering directory '/mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_2cfae.dir/CheckFunctionExists.c.o
/usr/bin/cc -fno-omit-frame-pointer -ffp-contract=off -ftls-model=initial-exec -g -O2 -ffile-prefix-map=/mnt/percona-xtrabackup=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -moutline-atomics -DCHECK_FUNCTION_EXISTS=pthread_create -fPIE -o CMakeFiles/cmTC_2cfae.dir/CheckFunctionExists.c.o -c /usr/local/share/cmake-3.24/Modules/CheckFunctionExists.c
Linking C executable cmTC_2cfae
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2cfae.dir/link.txt --verbose=1
/usr/bin/cc -fno-omit-frame-pointer -ffp-contract=off -ftls-model=initial-exec -g -O2 -ffile-prefix-map=/mnt/percona-xtrabackup=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -moutline-atomics -DCHECK_FUNCTION_EXISTS=pthread_create -Wl,-z,relro -fuse-ld=lld CMakeFiles/cmTC_2cfae.dir/CheckFunctionExists.c.o -o cmTC_2cfae -lpthreads
ld.lld: error: unable to find library -lpthreads
collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_2cfae.dir/build.make:99: cmTC_2cfae] Error 1
gmake[1]: Leaving directory '/mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:127: cmTC_2cfae/fast] Error 2
Determining if the function floor exists failed with the following output:
Change Dir: /mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_9ac47/fast && /usr/bin/gmake -f CMakeFiles/cmTC_9ac47.dir/build.make CMakeFiles/cmTC_9ac47.dir/build
gmake[1]: Entering directory '/mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_9ac47.dir/CheckFunctionExists.c.o
/usr/bin/cc -fno-omit-frame-pointer -ffp-contract=off -ftls-model=initial-exec -g -O2 -ffile-prefix-map=/mnt/percona-xtrabackup=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -moutline-atomics -DCHECK_FUNCTION_EXISTS=floor -fPIE -o CMakeFiles/cmTC_9ac47.dir/CheckFunctionExists.c.o -c /usr/local/share/cmake-3.24/Modules/CheckFunctionExists.c
<command-line>: warning: conflicting types for built-in function 'floor'; expected 'double(double)' [-Wbuiltin-declaration-mismatch]
/usr/local/share/cmake-3.24/Modules/CheckFunctionExists.c:7:3: note: in expansion of macro 'CHECK_FUNCTION_EXISTS'
7 | CHECK_FUNCTION_EXISTS(void);
| ^~~~~~~~~~~~~~~~~~~~~
/usr/local/share/cmake-3.24/Modules/CheckFunctionExists.c:1:1: note: 'floor' is declared in header '<math.h>'
+++ |+#include <math.h>
1 | #ifdef CHECK_FUNCTION_EXISTS
Linking C executable cmTC_9ac47
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9ac47.dir/link.txt --verbose=1
/usr/bin/cc -fno-omit-frame-pointer -ffp-contract=off -ftls-model=initial-exec -g -O2 -ffile-prefix-map=/mnt/percona-xtrabackup=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -moutline-atomics -DCHECK_FUNCTION_EXISTS=floor -Wl,-z,relro -fuse-ld=lld CMakeFiles/cmTC_9ac47.dir/CheckFunctionExists.c.o -o cmTC_9ac47
ld.lld: error: undefined symbol: floor
>>> referenced by CheckFunctionExists.c:17 (/usr/local/share/cmake-3.24/Modules/CheckFunctionExists.c:17)
>>> CMakeFiles/cmTC_9ac47.dir/CheckFunctionExists.c.o:(main)
collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_9ac47.dir/build.make:99: cmTC_9ac47] Error 1
gmake[1]: Leaving directory '/mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:127: cmTC_9ac47/fast] Error 2
Determining if the function dlopen exists failed with the following output:
Change Dir: /mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_d5169/fast && /usr/bin/gmake -f CMakeFiles/cmTC_d5169.dir/build.make CMakeFiles/cmTC_d5169.dir/build
gmake[1]: Entering directory '/mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_d5169.dir/CheckFunctionExists.c.o
/usr/bin/cc -fno-omit-frame-pointer -ffp-contract=off -ftls-model=initial-exec -g -O2 -ffile-prefix-map=/mnt/percona-xtrabackup=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -moutline-atomics -DCHECK_FUNCTION_EXISTS=dlopen -fPIE -o CMakeFiles/cmTC_d5169.dir/CheckFunctionExists.c.o -c /usr/local/share/cmake-3.24/Modules/CheckFunctionExists.c
Linking C executable cmTC_d5169
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d5169.dir/link.txt --verbose=1
/usr/bin/cc -fno-omit-frame-pointer -ffp-contract=off -ftls-model=initial-exec -g -O2 -ffile-prefix-map=/mnt/percona-xtrabackup=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -moutline-atomics -DCHECK_FUNCTION_EXISTS=dlopen -Wl,-z,relro -fuse-ld=lld CMakeFiles/cmTC_d5169.dir/CheckFunctionExists.c.o -o cmTC_d5169
ld.lld: error: undefined symbol: dlopen
>>> referenced by CheckFunctionExists.c:17 (/usr/local/share/cmake-3.24/Modules/CheckFunctionExists.c:17)
>>> CMakeFiles/cmTC_d5169.dir/CheckFunctionExists.c.o:(main)
collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_d5169.dir/build.make:99: cmTC_d5169] Error 1
gmake[1]: Leaving directory '/mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:127: cmTC_d5169/fast] Error 2
Determining if the function timer_create exists failed with the following output:
Change Dir: /mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_0f3dc/fast && /usr/bin/gmake -f CMakeFiles/cmTC_0f3dc.dir/build.make CMakeFiles/cmTC_0f3dc.dir/build
gmake[1]: Entering directory '/mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_0f3dc.dir/CheckFunctionExists.c.o
/usr/bin/cc -fno-omit-frame-pointer -ffp-contract=off -ftls-model=initial-exec -g -O2 -ffile-prefix-map=/mnt/percona-xtrabackup=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -moutline-atomics -DCHECK_FUNCTION_EXISTS=timer_create -fPIE -o CMakeFiles/cmTC_0f3dc.dir/CheckFunctionExists.c.o -c /usr/local/share/cmake-3.24/Modules/CheckFunctionExists.c
Linking C executable cmTC_0f3dc
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0f3dc.dir/link.txt --verbose=1
/usr/bin/cc -fno-omit-frame-pointer -ffp-contract=off -ftls-model=initial-exec -g -O2 -ffile-prefix-map=/mnt/percona-xtrabackup=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -moutline-atomics -DCHECK_FUNCTION_EXISTS=timer_create -Wl,-z,relro -fuse-ld=lld CMakeFiles/cmTC_0f3dc.dir/CheckFunctionExists.c.o -o cmTC_0f3dc
ld.lld: error: undefined symbol: timer_create
>>> referenced by CheckFunctionExists.c:17 (/usr/local/share/cmake-3.24/Modules/CheckFunctionExists.c:17)
>>> CMakeFiles/cmTC_0f3dc.dir/CheckFunctionExists.c.o:(main)
collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_0f3dc.dir/build.make:99: cmTC_0f3dc] Error 1
gmake[1]: Leaving directory '/mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:127: cmTC_0f3dc/fast] Error 2
Determining if files sys/types.h;sasl/sasl.h exist failed with the following output:
Change Dir: /mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_f1672/fast && /usr/bin/gmake -f CMakeFiles/cmTC_f1672.dir/build.make CMakeFiles/cmTC_f1672.dir/build
gmake[1]: Entering directory '/mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_f1672.dir/HAVE_SASL_SASL_H.c.o
/usr/bin/cc -fno-omit-frame-pointer -ffp-contract=off -ftls-model=initial-exec -g -O2 -ffile-prefix-map=/mnt/percona-xtrabackup=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -moutline-atomics -fPIE -o CMakeFiles/cmTC_f1672.dir/HAVE_SASL_SASL_H.c.o -c /mnt/percona-xtrabackup/build/CMakeFiles/CheckIncludeFiles/HAVE_SASL_SASL_H.c
/mnt/percona-xtrabackup/build/CMakeFiles/CheckIncludeFiles/HAVE_SASL_SASL_H.c:3:10: fatal error: sasl/sasl.h: No such file or directory
3 | #include <sasl/sasl.h>
| ^~~~~~~~~~~~~
compilation terminated.
gmake[1]: *** [CMakeFiles/cmTC_f1672.dir/build.make:78: CMakeFiles/cmTC_f1672.dir/HAVE_SASL_SASL_H.c.o] Error 1
gmake[1]: Leaving directory '/mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:127: cmTC_f1672/fast] Error 2
Source:
/* */
#include <sys/types.h>
#include <sasl/sasl.h>
int main(void){return 0;}
Determining if the function _aligned_malloc exists failed with the following output:
Change Dir: /mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_4b061/fast && /usr/bin/gmake -f CMakeFiles/cmTC_4b061.dir/build.make CMakeFiles/cmTC_4b061.dir/build
gmake[1]: Entering directory '/mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_4b061.dir/CheckFunctionExists.c.o
/usr/bin/cc -fno-omit-frame-pointer -ffp-contract=off -ftls-model=initial-exec -g -O2 -ffile-prefix-map=/mnt/percona-xtrabackup=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -moutline-atomics -DCHECK_FUNCTION_EXISTS=_aligned_malloc -fPIE -o CMakeFiles/cmTC_4b061.dir/CheckFunctionExists.c.o -c /usr/local/share/cmake-3.24/Modules/CheckFunctionExists.c
Linking C executable cmTC_4b061
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4b061.dir/link.txt --verbose=1
/usr/bin/cc -fno-omit-frame-pointer -ffp-contract=off -ftls-model=initial-exec -g -O2 -ffile-prefix-map=/mnt/percona-xtrabackup=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -moutline-atomics -DCHECK_FUNCTION_EXISTS=_aligned_malloc -Wl,-z,relro -fuse-ld=lld CMakeFiles/cmTC_4b061.dir/CheckFunctionExists.c.o -o cmTC_4b061 -lm -ldl -lpthread -lrt
ld.lld: error: undefined symbol: _aligned_malloc
>>> referenced by CheckFunctionExists.c:17 (/usr/local/share/cmake-3.24/Modules/CheckFunctionExists.c:17)
>>> CMakeFiles/cmTC_4b061.dir/CheckFunctionExists.c.o:(main)
collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_4b061.dir/build.make:99: cmTC_4b061] Error 1
gmake[1]: Leaving directory '/mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:127: cmTC_4b061/fast] Error 2
Determining if the function directio exists failed with the following output:
Change Dir: /mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_1881e/fast && /usr/bin/gmake -f CMakeFiles/cmTC_1881e.dir/build.make CMakeFiles/cmTC_1881e.dir/build
gmake[1]: Entering directory '/mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_1881e.dir/CheckFunctionExists.c.o
/usr/bin/cc -fno-omit-frame-pointer -ffp-contract=off -ftls-model=initial-exec -g -O2 -ffile-prefix-map=/mnt/percona-xtrabackup=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -moutline-atomics -DCHECK_FUNCTION_EXISTS=directio -fPIE -o CMakeFiles/cmTC_1881e.dir/CheckFunctionExists.c.o -c /usr/local/share/cmake-3.24/Modules/CheckFunctionExists.c
Linking C executable cmTC_1881e
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1881e.dir/link.txt --verbose=1
/usr/bin/cc -fno-omit-frame-pointer -ffp-contract=off -ftls-model=initial-exec -g -O2 -ffile-prefix-map=/mnt/percona-xtrabackup=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -moutline-atomics -DCHECK_FUNCTION_EXISTS=directio -Wl,-z,relro -fuse-ld=lld CMakeFiles/cmTC_1881e.dir/CheckFunctionExists.c.o -o cmTC_1881e -lm -ldl -lpthread -lrt
ld.lld: error: undefined symbol: directio
>>> referenced by CheckFunctionExists.c:17 (/usr/local/share/cmake-3.24/Modules/CheckFunctionExists.c:17)
>>> CMakeFiles/cmTC_1881e.dir/CheckFunctionExists.c.o:(main)
collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_1881e.dir/build.make:99: cmTC_1881e] Error 1
gmake[1]: Leaving directory '/mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:127: cmTC_1881e/fast] Error 2
Determining if the function gethrtime exists failed with the following output:
Change Dir: /mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_ba5be/fast && /usr/bin/gmake -f CMakeFiles/cmTC_ba5be.dir/build.make CMakeFiles/cmTC_ba5be.dir/build
gmake[1]: Entering directory '/mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_ba5be.dir/CheckFunctionExists.c.o
/usr/bin/cc -fno-omit-frame-pointer -ffp-contract=off -ftls-model=initial-exec -g -O2 -ffile-prefix-map=/mnt/percona-xtrabackup=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -moutline-atomics -DCHECK_FUNCTION_EXISTS=gethrtime -fPIE -o CMakeFiles/cmTC_ba5be.dir/CheckFunctionExists.c.o -c /usr/local/share/cmake-3.24/Modules/CheckFunctionExists.c
Linking C executable cmTC_ba5be
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ba5be.dir/link.txt --verbose=1
/usr/bin/cc -fno-omit-frame-pointer -ffp-contract=off -ftls-model=initial-exec -g -O2 -ffile-prefix-map=/mnt/percona-xtrabackup=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -moutline-atomics -DCHECK_FUNCTION_EXISTS=gethrtime -Wl,-z,relro -fuse-ld=lld CMakeFiles/cmTC_ba5be.dir/CheckFunctionExists.c.o -o cmTC_ba5be -lm -ldl -lpthread -lrt
ld.lld: error: undefined symbol: gethrtime
>>> referenced by CheckFunctionExists.c:17 (/usr/local/share/cmake-3.24/Modules/CheckFunctionExists.c:17)
>>> CMakeFiles/cmTC_ba5be.dir/CheckFunctionExists.c.o:(main)
collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_ba5be.dir/build.make:99: cmTC_ba5be] Error 1
gmake[1]: Leaving directory '/mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:127: cmTC_ba5be/fast] Error 2
Determining if the function getpassphrase exists failed with the following output:
Change Dir: /mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_8219d/fast && /usr/bin/gmake -f CMakeFiles/cmTC_8219d.dir/build.make CMakeFiles/cmTC_8219d.dir/build
gmake[1]: Entering directory '/mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_8219d.dir/CheckFunctionExists.c.o
/usr/bin/cc -fno-omit-frame-pointer -ffp-contract=off -ftls-model=initial-exec -g -O2 -ffile-prefix-map=/mnt/percona-xtrabackup=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -moutline-atomics -DCHECK_FUNCTION_EXISTS=getpassphrase -fPIE -o CMakeFiles/cmTC_8219d.dir/CheckFunctionExists.c.o -c /usr/local/share/cmake-3.24/Modules/CheckFunctionExists.c
Linking C executable cmTC_8219d
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8219d.dir/link.txt --verbose=1
/usr/bin/cc -fno-omit-frame-pointer -ffp-contract=off -ftls-model=initial-exec -g -O2 -ffile-prefix-map=/mnt/percona-xtrabackup=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -moutline-atomics -DCHECK_FUNCTION_EXISTS=getpassphrase -Wl,-z,relro -fuse-ld=lld CMakeFiles/cmTC_8219d.dir/CheckFunctionExists.c.o -o cmTC_8219d -lm -ldl -lpthread -lrt
ld.lld: error: undefined symbol: getpassphrase
>>> referenced by CheckFunctionExists.c:17 (/usr/local/share/cmake-3.24/Modules/CheckFunctionExists.c:17)
>>> CMakeFiles/cmTC_8219d.dir/CheckFunctionExists.c.o:(main)
collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_8219d.dir/build.make:99: cmTC_8219d] Error 1
gmake[1]: Leaving directory '/mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:127: cmTC_8219d/fast] Error 2
Determining if the function issetugid exists failed with the following output:
Change Dir: /mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_45501/fast && /usr/bin/gmake -f CMakeFiles/cmTC_45501.dir/build.make CMakeFiles/cmTC_45501.dir/build
gmake[1]: Entering directory '/mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_45501.dir/CheckFunctionExists.c.o
/usr/bin/cc -fno-omit-frame-pointer -ffp-contract=off -ftls-model=initial-exec -g -O2 -ffile-prefix-map=/mnt/percona-xtrabackup=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -moutline-atomics -DCHECK_FUNCTION_EXISTS=issetugid -fPIE -o CMakeFiles/cmTC_45501.dir/CheckFunctionExists.c.o -c /usr/local/share/cmake-3.24/Modules/CheckFunctionExists.c
Linking C executable cmTC_45501
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_45501.dir/link.txt --verbose=1
/usr/bin/cc -fno-omit-frame-pointer -ffp-contract=off -ftls-model=initial-exec -g -O2 -ffile-prefix-map=/mnt/percona-xtrabackup=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -moutline-atomics -DCHECK_FUNCTION_EXISTS=issetugid -Wl,-z,relro -fuse-ld=lld CMakeFiles/cmTC_45501.dir/CheckFunctionExists.c.o -o cmTC_45501 -lm -ldl -lpthread -lrt
ld.lld: error: undefined symbol: issetugid
>>> referenced by CheckFunctionExists.c:17 (/usr/local/share/cmake-3.24/Modules/CheckFunctionExists.c:17)
>>> CMakeFiles/cmTC_45501.dir/CheckFunctionExists.c.o:(main)
collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_45501.dir/build.make:99: cmTC_45501] Error 1
gmake[1]: Leaving directory '/mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:127: cmTC_45501/fast] Error 2
Determining if the function strlcpy exists failed with the following output:
Change Dir: /mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_7703c/fast && /usr/bin/gmake -f CMakeFiles/cmTC_7703c.dir/build.make CMakeFiles/cmTC_7703c.dir/build
gmake[1]: Entering directory '/mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_7703c.dir/CheckFunctionExists.c.o
/usr/bin/cc -fno-omit-frame-pointer -ffp-contract=off -ftls-model=initial-exec -g -O2 -ffile-prefix-map=/mnt/percona-xtrabackup=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -moutline-atomics -DCHECK_FUNCTION_EXISTS=strlcpy -fPIE -o CMakeFiles/cmTC_7703c.dir/CheckFunctionExists.c.o -c /usr/local/share/cmake-3.24/Modules/CheckFunctionExists.c
Linking C executable cmTC_7703c
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7703c.dir/link.txt --verbose=1
/usr/bin/cc -fno-omit-frame-pointer -ffp-contract=off -ftls-model=initial-exec -g -O2 -ffile-prefix-map=/mnt/percona-xtrabackup=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -moutline-atomics -DCHECK_FUNCTION_EXISTS=strlcpy -Wl,-z,relro -fuse-ld=lld CMakeFiles/cmTC_7703c.dir/CheckFunctionExists.c.o -o cmTC_7703c -lm -ldl -lpthread -lrt
ld.lld: error: undefined symbol: strlcpy
>>> referenced by CheckFunctionExists.c:17 (/usr/local/share/cmake-3.24/Modules/CheckFunctionExists.c:17)
>>> CMakeFiles/cmTC_7703c.dir/CheckFunctionExists.c.o:(main)
>>> did you mean: strncpy
>>> defined in: /lib/aarch64-linux-gnu/libc.so.6
collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_7703c.dir/build.make:99: cmTC_7703c] Error 1
gmake[1]: Leaving directory '/mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:127: cmTC_7703c/fast] Error 2
Determining if the function strlcat exists failed with the following output:
Change Dir: /mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_2c92f/fast && /usr/bin/gmake -f CMakeFiles/cmTC_2c92f.dir/build.make CMakeFiles/cmTC_2c92f.dir/build
gmake[1]: Entering directory '/mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_2c92f.dir/CheckFunctionExists.c.o
/usr/bin/cc -fno-omit-frame-pointer -ffp-contract=off -ftls-model=initial-exec -g -O2 -ffile-prefix-map=/mnt/percona-xtrabackup=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -moutline-atomics -DCHECK_FUNCTION_EXISTS=strlcat -fPIE -o CMakeFiles/cmTC_2c92f.dir/CheckFunctionExists.c.o -c /usr/local/share/cmake-3.24/Modules/CheckFunctionExists.c
Linking C executable cmTC_2c92f
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2c92f.dir/link.txt --verbose=1
/usr/bin/cc -fno-omit-frame-pointer -ffp-contract=off -ftls-model=initial-exec -g -O2 -ffile-prefix-map=/mnt/percona-xtrabackup=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -moutline-atomics -DCHECK_FUNCTION_EXISTS=strlcat -Wl,-z,relro -fuse-ld=lld CMakeFiles/cmTC_2c92f.dir/CheckFunctionExists.c.o -o cmTC_2c92f -lm -ldl -lpthread -lrt
ld.lld: error: undefined symbol: strlcat
>>> referenced by CheckFunctionExists.c:17 (/usr/local/share/cmake-3.24/Modules/CheckFunctionExists.c:17)
>>> CMakeFiles/cmTC_2c92f.dir/CheckFunctionExists.c.o:(main)
>>> did you mean: strncat
>>> defined in: /lib/aarch64-linux-gnu/libc.so.6
collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_2c92f.dir/build.make:99: cmTC_2c92f] Error 1
gmake[1]: Leaving directory '/mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:127: cmTC_2c92f/fast] Error 2
...
Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_6114b/fast && /usr/bin/gmake -f CMakeFiles/cmTC_6114b.dir/build.make CMakeFiles/cmTC_6114b.dir/build
gmake[1]: Entering directory '/mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_6114b.dir/src.c.o
/usr/bin/cc -DHAVE_SOLARIS_AFFINITY -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fno-omit-frame-pointer -ffp-contract=off -ftls-model=initial-exec -g -O2 -ffile-prefix-map=/mnt/percona-xtrabackup=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -moutline-atomics -Wall -Wextra -Wformat-security -Wvla -Wundef -Wmissing-format-attribute -Wwrite-strings -Wjump-misses-init -Wstringop-truncation -Wmissing-include-dirs -fno-strict-aliasing -fPIE -o CMakeFiles/cmTC_6114b.dir/src.c.o -c /mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp/src.c
/mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp/src.c:3:10: fatal error: sys/lwp.h: No such file or directory
3 | #include <sys/lwp.h>
| ^~~~~~~~~~~
compilation terminated.
gmake[1]: *** [CMakeFiles/cmTC_6114b.dir/build.make:78: CMakeFiles/cmTC_6114b.dir/src.c.o] Error 1
gmake[1]: Leaving directory '/mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:127: cmTC_6114b/fast] Error 2
Source file was:
#include <sys/types.h>
#include <sys/lwp.h>
#include <sys/processor.h>
#include <sys/procset.h>
int main()
{
processorid_t cpu_id = (processorid_t)0;
id_t tid = _lwp_self();
processor_bind(P_LWPID, tid, cpu_id, 0);
}
Performing C++ SOURCE FILE Test HAVE_CXX_W_shadow_field failed with the following output:
Change Dir: /mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_cab08/fast && /usr/bin/gmake -f CMakeFiles/cmTC_cab08.dir/build.make CMakeFiles/cmTC_cab08.dir/build
gmake[1]: Entering directory '/mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_cab08.dir/src.cxx.o
/usr/local/bin/c++ -DHAVE_CXX_W_shadow_field -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=c++17 -fno-omit-frame-pointer -ffp-contract=off -ftls-model=initial-exec -g -O2 -ffile-prefix-map=/mnt/percona-xtrabackup=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -moutline-atomics -march=armv8-a+crc -Wall -Wextra -Wformat-security -Wvla -Wundef -Wmissing-format-attribute -Woverloaded-virtual -Wcast-qual -Wimplicit-fallthrough=5 -Wstringop-truncation -Wsuggest-override -Wmissing-include-dirs -Wextra-semi -Wlogical-op -Wshadow-field -fPIE -o CMakeFiles/cmTC_cab08.dir/src.cxx.o -c /mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp/src.cxx
c++: error: unrecognized command-line option '-Wshadow-field'; did you mean '-Wshadow-ivar'?
gmake[1]: *** [CMakeFiles/cmTC_cab08.dir/build.make:78: CMakeFiles/cmTC_cab08.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory '/mnt/percona-xtrabackup/build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:127: cmTC_cab08/fast] Error 2
Source file was:
int main(void) { return 0; }