Performing C SOURCE FILE Test HAVE_FUNC_ATTRIBUTE_IFUNC failed with the following output: Change Dir: /tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_8040e/fast && gmake[1]: Entering directory '/tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_8040e.dir/build.make CMakeFiles/cmTC_8040e.dir/build gmake[2]: Entering directory '/tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_8040e.dir/src.c.o /tmp/instance-23/output-1/host/bin/m68k-buildroot-linux-uclibc-gcc --sysroot=/tmp/instance-23/output-1/host/m68k-buildroot-linux-uclibc/sysroot -DHAVE_FUNC_ATTRIBUTE_IFUNC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wformat=2 -Wcast-function-type -Wformat-nonliteral -Wdate-time -Wnested-externs -Wshadow -Werror -std=gnu11 -o CMakeFiles/cmTC_8040e.dir/src.c.o -c /tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp/src.c /tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp/src.c:7:7: error: 'ifunc' is not supported on this target 7 | void entry(void) __attribute__((ifunc("resolve_entry"))); | ^~~~~ gmake[2]: *** [CMakeFiles/cmTC_8040e.dir/build.make:78: CMakeFiles/cmTC_8040e.dir/src.c.o] Error 1 gmake[2]: Leaving directory '/tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_8040e/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp' Source file was: #include void entry(void); static void do_entry(void) {} void entry(void) __attribute__((ifunc("resolve_entry"))); typedef void (*fn_t)(void); static fn_t resolve_entry(void) {return &do_entry;} int main(int argc,const char *argv[]) { entry(); } Performing C SOURCE FILE Test HAVE_COHERENT_DMA failed with the following output: Change Dir: /tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_36e4e/fast && gmake[1]: Entering directory '/tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_36e4e.dir/build.make CMakeFiles/cmTC_36e4e.dir/build gmake[2]: Entering directory '/tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_36e4e.dir/src.c.o /tmp/instance-23/output-1/host/bin/m68k-buildroot-linux-uclibc-gcc --sysroot=/tmp/instance-23/output-1/host/m68k-buildroot-linux-uclibc/sysroot -DHAVE_COHERENT_DMA -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wformat=2 -Wcast-function-type -Wformat-nonliteral -Wdate-time -Wnested-externs -Wshadow -std=gnu11 -o CMakeFiles/cmTC_36e4e.dir/src.c.o -c /tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp/src.c In file included from /tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp/src.c:3: /tmp/instance-23/output-1/build/rdma-core-44.0/util/udma_barrier.h:106:2: error: #error No architecture specific memory barrier defines found! 106 | #error No architecture specific memory barrier defines found! | ^~~~~ /tmp/instance-23/output-1/build/rdma-core-44.0/util/udma_barrier.h:144:2: error: #error No architecture specific memory barrier defines found! 144 | #error No architecture specific memory barrier defines found! | ^~~~~ /tmp/instance-23/output-1/build/rdma-core-44.0/util/udma_barrier.h:217:2: error: #error No architecture specific memory barrier defines found! 217 | #error No architecture specific memory barrier defines found! | ^~~~~ /tmp/instance-23/output-1/build/rdma-core-44.0/util/udma_barrier.h: In function 'mmio_wc_spinlock': /tmp/instance-23/output-1/build/rdma-core-44.0/util/udma_barrier.h:265:9: warning: implicit declaration of function 'pthread_spin_lock'; did you mean 'pthread_mutex_lock'? [-Wimplicit-function-declaration] 265 | pthread_spin_lock(lock); | ^~~~~~~~~~~~~~~~~ | pthread_mutex_lock /tmp/instance-23/output-1/build/rdma-core-44.0/util/udma_barrier.h:265:9: warning: nested extern declaration of 'pthread_spin_lock' [-Wnested-externs] /tmp/instance-23/output-1/build/rdma-core-44.0/util/udma_barrier.h:235:25: warning: implicit declaration of function 'mmio_flush_writes' [-Wimplicit-function-declaration] 235 | #define mmio_wc_start() mmio_flush_writes() | ^~~~~~~~~~~~~~~~~ /tmp/instance-23/output-1/build/rdma-core-44.0/util/udma_barrier.h:269:9: note: in expansion of macro 'mmio_wc_start' 269 | mmio_wc_start(); | ^~~~~~~~~~~~~ /tmp/instance-23/output-1/build/rdma-core-44.0/util/udma_barrier.h:235:25: warning: nested extern declaration of 'mmio_flush_writes' [-Wnested-externs] 235 | #define mmio_wc_start() mmio_flush_writes() | ^~~~~~~~~~~~~~~~~ /tmp/instance-23/output-1/build/rdma-core-44.0/util/udma_barrier.h:269:9: note: in expansion of macro 'mmio_wc_start' 269 | mmio_wc_start(); | ^~~~~~~~~~~~~ /tmp/instance-23/output-1/build/rdma-core-44.0/util/udma_barrier.h: In function 'mmio_wc_spinunlock': /tmp/instance-23/output-1/build/rdma-core-44.0/util/udma_barrier.h:279:9: warning: implicit declaration of function 'pthread_spin_unlock'; did you mean 'pthread_mutex_unlock'? [-Wimplicit-function-declaration] 279 | pthread_spin_unlock(lock); | ^~~~~~~~~~~~~~~~~~~ | pthread_mutex_unlock /tmp/instance-23/output-1/build/rdma-core-44.0/util/udma_barrier.h:279:9: warning: nested extern declaration of 'pthread_spin_unlock' [-Wnested-externs] gmake[2]: *** [CMakeFiles/cmTC_36e4e.dir/build.make:78: CMakeFiles/cmTC_36e4e.dir/src.c.o] Error 1 gmake[2]: Leaving directory '/tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_36e4e/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp' Source file was: #if !defined(__s390x__) #include "/tmp/instance-23/output-1/build/rdma-core-44.0/util/udma_barrier.h" #endif int main(int argc,const char *argv[]) {return 0;} Determining if the include file valgrind/memcheck.h exists failed with the following output: Change Dir: /tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_1ed58/fast && gmake[1]: Entering directory '/tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_1ed58.dir/build.make CMakeFiles/cmTC_1ed58.dir/build gmake[2]: Entering directory '/tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_1ed58.dir/CheckIncludeFile.c.o /tmp/instance-23/output-1/host/bin/m68k-buildroot-linux-uclibc-gcc --sysroot=/tmp/instance-23/output-1/host/m68k-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wformat=2 -Wcast-function-type -Wformat-nonliteral -Wdate-time -Wnested-externs -Wshadow -std=gnu11 -o CMakeFiles/cmTC_1ed58.dir/CheckIncludeFile.c.o -c /tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp/CheckIncludeFile.c /tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: valgrind/memcheck.h: No such file or directory 1 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. gmake[2]: *** [CMakeFiles/cmTC_1ed58.dir/build.make:78: CMakeFiles/cmTC_1ed58.dir/CheckIncludeFile.c.o] Error 1 gmake[2]: Leaving directory '/tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_1ed58/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp' Determining if the include file valgrind/drd.h exists failed with the following output: Change Dir: /tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_131c6/fast && gmake[1]: Entering directory '/tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_131c6.dir/build.make CMakeFiles/cmTC_131c6.dir/build gmake[2]: Entering directory '/tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_131c6.dir/CheckIncludeFile.c.o /tmp/instance-23/output-1/host/bin/m68k-buildroot-linux-uclibc-gcc --sysroot=/tmp/instance-23/output-1/host/m68k-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wformat=2 -Wcast-function-type -Wformat-nonliteral -Wdate-time -Wnested-externs -Wshadow -std=gnu11 -o CMakeFiles/cmTC_131c6.dir/CheckIncludeFile.c.o -c /tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp/CheckIncludeFile.c /tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: valgrind/drd.h: No such file or directory 1 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. gmake[2]: *** [CMakeFiles/cmTC_131c6.dir/build.make:78: CMakeFiles/cmTC_131c6.dir/CheckIncludeFile.c.o] Error 1 gmake[2]: Leaving directory '/tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_131c6/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp' Performing C SOURCE FILE Test HAVE_GLIBC_GETRANDOM failed with the following output: Change Dir: /tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_cd273/fast && gmake[1]: Entering directory '/tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_cd273.dir/build.make CMakeFiles/cmTC_cd273.dir/build gmake[2]: Entering directory '/tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_cd273.dir/src.c.o /tmp/instance-23/output-1/host/bin/m68k-buildroot-linux-uclibc-gcc --sysroot=/tmp/instance-23/output-1/host/m68k-buildroot-linux-uclibc/sysroot -DHAVE_GLIBC_GETRANDOM -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wformat=2 -Wcast-function-type -Wformat-nonliteral -Wdate-time -Wnested-externs -Wshadow -Wstrict-prototypes -Wold-style-definition -Wredundant-decls -std=gnu11 -o CMakeFiles/cmTC_cd273.dir/src.c.o -c /tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp/src.c /tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp/src.c: In function 'main': /tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp/src.c:3:62: warning: implicit declaration of function 'getrandom' [-Wimplicit-function-declaration] 3 | int main(int argc,const char *argv[]) {char buf[64]; return getrandom(buf, 64, GRND_NONBLOCK);} | ^~~~~~~~~ /tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp/src.c:3:62: warning: nested extern declaration of 'getrandom' [-Wnested-externs] /tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp/src.c:3:81: error: 'GRND_NONBLOCK' undeclared (first use in this function) 3 | int main(int argc,const char *argv[]) {char buf[64]; return getrandom(buf, 64, GRND_NONBLOCK);} | ^~~~~~~~~~~~~ /tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp/src.c:3:81: note: each undeclared identifier is reported only once for each function it appears in gmake[2]: *** [CMakeFiles/cmTC_cd273.dir/build.make:78: CMakeFiles/cmTC_cd273.dir/src.c.o] Error 1 gmake[2]: Leaving directory '/tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_cd273/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp' Source file was: #include int main(int argc,const char *argv[]) {char buf[64]; return getrandom(buf, 64, GRND_NONBLOCK);} Performing C SOURCE FILE Test HAVE_GLIBC_FXSTAT failed with the following output: Change Dir: /tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_4ebb9/fast && gmake[1]: Entering directory '/tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_4ebb9.dir/build.make CMakeFiles/cmTC_4ebb9.dir/build gmake[2]: Entering directory '/tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_4ebb9.dir/src.c.o /tmp/instance-23/output-1/host/bin/m68k-buildroot-linux-uclibc-gcc --sysroot=/tmp/instance-23/output-1/host/m68k-buildroot-linux-uclibc/sysroot -DHAVE_GLIBC_FXSTAT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wformat=2 -Wcast-function-type -Wformat-nonliteral -Wdate-time -Wnested-externs -Wshadow -Wstrict-prototypes -Wold-style-definition -Wredundant-decls -Werror -std=gnu11 -o CMakeFiles/cmTC_4ebb9.dir/src.c.o -c /tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp/src.c /tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp/src.c: In function 'main': /tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp/src.c:4:26: error: implicit declaration of function '__fxstat'; did you mean 'fstat'? [-Werror=implicit-function-declaration] 4 | struct stat stat = {}; __fxstat(0, 0, &stat); return 0;} | ^~~~~~~~ | fstat /tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp/src.c:4:26: error: nested extern declaration of '__fxstat' [-Werror=nested-externs] cc1: all warnings being treated as errors gmake[2]: *** [CMakeFiles/cmTC_4ebb9.dir/build.make:78: CMakeFiles/cmTC_4ebb9.dir/src.c.o] Error 1 gmake[2]: Leaving directory '/tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_4ebb9/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-23/output-1/build/rdma-core-44.0/CMakeFiles/CMakeTmp' Source file was: #include int main(int argc,const char *argv[]) { struct stat stat = {}; __fxstat(0, 0, &stat); return 0;}