Skip to content

Instantly share code, notes, and snippets.

@croessner
Created November 28, 2016 18:20
Show Gist options
  • Save croessner/22f8feab8b15cded682997fb55f690cd to your computer and use it in GitHub Desktop.
Save croessner/22f8feab8b15cded682997fb55f690cd to your computer and use it in GitHub Desktop.
Performing C SOURCE FILE Test SUPPORT_WNULL_DEREFERENCE failed with the following output:
Change Dir: /var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/gmake" "cmTC_f460b/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_f460b.dir/build.make CMakeFiles/cmTC_f460b.dir/build
gmake[1]: Entering directory '/var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_f460b.dir/src.c.o
/usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -ggdb -ggdb -ggdb -ggdb -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -pthread -pthread -DSUPPORT_WNULL_DEREFERENCE -Wnull-dereference -o CMakeFiles/cmTC_f460b.dir/src.c.o -c /var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp/src.c
x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-Wnull-dereference'
CMakeFiles/cmTC_f460b.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_f460b.dir/src.c.o' failed
gmake[1]: *** [CMakeFiles/cmTC_f460b.dir/src.c.o] Error 1
gmake[1]: Leaving directory '/var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_f460b/fast' failed
gmake: *** [cmTC_f460b/fast] Error 2
Source file was:
int main(void) { return 0; }
Performing C SOURCE FILE Test SUPPORT_WDUPLICATED_COND failed with the following output:
Change Dir: /var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/gmake" "cmTC_666b5/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_666b5.dir/build.make CMakeFiles/cmTC_666b5.dir/build
gmake[1]: Entering directory '/var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_666b5.dir/src.c.o
/usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -ggdb -ggdb -ggdb -ggdb -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -pthread -pthread -DSUPPORT_WDUPLICATED_COND -Wduplicated-cond -o CMakeFiles/cmTC_666b5.dir/src.c.o -c /var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp/src.c
x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-Wduplicated-cond'
CMakeFiles/cmTC_666b5.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_666b5.dir/src.c.o' failed
gmake[1]: *** [CMakeFiles/cmTC_666b5.dir/src.c.o] Error 1
gmake[1]: Leaving directory '/var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_666b5/fast' failed
gmake: *** [cmTC_666b5/fast] Error 2
Source file was:
int main(void) { return 0; }
Determining if files sys/endian.h exist failed with the following output:
Change Dir: /var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/gmake" "cmTC_432a5/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_432a5.dir/build.make CMakeFiles/cmTC_432a5.dir/build
gmake[1]: Entering directory '/var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_432a5.dir/CheckIncludeFiles.c.o
/usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -g -O2 -fstrict-aliasing -O2 -pipe -ggdb -ggdb -ggdb -ggdb -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -pthread -pthread -fPIC -W -Wall -Wpointer-arith -Wno-unused-parameter -Wno-unused-function -Wunused-variable -Wno-pointer-sign -Wstrict-prototypes -Wno-unused-const-variable -Wno-sign-compare -std=c11 -o CMakeFiles/cmTC_432a5.dir/CheckIncludeFiles.c.o -c /var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp/CheckIncludeFiles.c
/var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp/CheckIncludeFiles.c:2:24: fatal error: sys/endian.h: No such file or directory
#include <sys/endian.h>
^
compilation terminated.
CMakeFiles/cmTC_432a5.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_432a5.dir/CheckIncludeFiles.c.o' failed
gmake[1]: *** [CMakeFiles/cmTC_432a5.dir/CheckIncludeFiles.c.o] Error 1
gmake[1]: Leaving directory '/var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_432a5/fast' failed
gmake: *** [cmTC_432a5/fast] Error 2
Source:
/* */
#include <sys/endian.h>
int main(void){return 0;}
Determining if files machine/endian.h exist failed with the following output:
Change Dir: /var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/gmake" "cmTC_4258e/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_4258e.dir/build.make CMakeFiles/cmTC_4258e.dir/build
gmake[1]: Entering directory '/var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_4258e.dir/CheckIncludeFiles.c.o
/usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -g -O2 -fstrict-aliasing -O2 -pipe -ggdb -ggdb -ggdb -ggdb -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -pthread -pthread -fPIC -W -Wall -Wpointer-arith -Wno-unused-parameter -Wno-unused-function -Wunused-variable -Wno-pointer-sign -Wstrict-prototypes -Wno-unused-const-variable -Wno-sign-compare -std=c11 -o CMakeFiles/cmTC_4258e.dir/CheckIncludeFiles.c.o -c /var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp/CheckIncludeFiles.c
/var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp/CheckIncludeFiles.c:2:28: fatal error: machine/endian.h: No such file or directory
#include <machine/endian.h>
^
compilation terminated.
CMakeFiles/cmTC_4258e.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_4258e.dir/CheckIncludeFiles.c.o' failed
gmake[1]: *** [CMakeFiles/cmTC_4258e.dir/CheckIncludeFiles.c.o] Error 1
gmake[1]: Leaving directory '/var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_4258e/fast' failed
gmake: *** [cmTC_4258e/fast] Error 2
Source:
/* */
#include <machine/endian.h>
int main(void){return 0;}
Determining if files siginfo.h exist failed with the following output:
Change Dir: /var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/gmake" "cmTC_50b66/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_50b66.dir/build.make CMakeFiles/cmTC_50b66.dir/build
gmake[1]: Entering directory '/var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_50b66.dir/CheckIncludeFiles.c.o
/usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -g -O2 -fstrict-aliasing -O2 -pipe -ggdb -ggdb -ggdb -ggdb -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -pthread -pthread -fPIC -W -Wall -Wpointer-arith -Wno-unused-parameter -Wno-unused-function -Wunused-variable -Wno-pointer-sign -Wstrict-prototypes -Wno-unused-const-variable -Wno-sign-compare -std=c11 -o CMakeFiles/cmTC_50b66.dir/CheckIncludeFiles.c.o -c /var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp/CheckIncludeFiles.c
/var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp/CheckIncludeFiles.c:2:21: fatal error: siginfo.h: No such file or directory
#include <siginfo.h>
^
compilation terminated.
CMakeFiles/cmTC_50b66.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_50b66.dir/CheckIncludeFiles.c.o' failed
gmake[1]: *** [CMakeFiles/cmTC_50b66.dir/CheckIncludeFiles.c.o] Error 1
gmake[1]: Leaving directory '/var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_50b66/fast' failed
gmake: *** [cmTC_50b66/fast] Error 2
Source:
/* */
#include <siginfo.h>
int main(void){return 0;}
Determining if files readpassphrase.h exist failed with the following output:
Change Dir: /var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/gmake" "cmTC_45f70/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_45f70.dir/build.make CMakeFiles/cmTC_45f70.dir/build
gmake[1]: Entering directory '/var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_45f70.dir/CheckIncludeFiles.c.o
/usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -g -O2 -fstrict-aliasing -O2 -pipe -ggdb -ggdb -ggdb -ggdb -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -pthread -pthread -fPIC -W -Wall -Wpointer-arith -Wno-unused-parameter -Wno-unused-function -Wunused-variable -Wno-pointer-sign -Wstrict-prototypes -Wno-unused-const-variable -Wno-sign-compare -std=c11 -o CMakeFiles/cmTC_45f70.dir/CheckIncludeFiles.c.o -c /var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp/CheckIncludeFiles.c
/var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp/CheckIncludeFiles.c:2:28: fatal error: readpassphrase.h: No such file or directory
#include <readpassphrase.h>
^
compilation terminated.
CMakeFiles/cmTC_45f70.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_45f70.dir/CheckIncludeFiles.c.o' failed
gmake[1]: *** [CMakeFiles/cmTC_45f70.dir/CheckIncludeFiles.c.o] Error 1
gmake[1]: Leaving directory '/var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_45f70/fast' failed
gmake: *** [cmTC_45f70/fast] Error 2
Source:
/* */
#include <readpassphrase.h>
int main(void){return 0;}
Determining if the function setproctitle exists failed with the following output:
Change Dir: /var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/gmake" "cmTC_90734/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_90734.dir/build.make CMakeFiles/cmTC_90734.dir/build
gmake[1]: Entering directory '/var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_90734.dir/CheckFunctionExists.c.o
/usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -g -O2 -fstrict-aliasing -O2 -pipe -ggdb -ggdb -ggdb -ggdb -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -pthread -pthread -fPIC -W -Wall -Wpointer-arith -Wno-unused-parameter -Wno-unused-function -Wunused-variable -Wno-pointer-sign -Wstrict-prototypes -Wno-unused-const-variable -Wno-sign-compare -std=c11 -DCHECK_FUNCTION_EXISTS=setproctitle -o CMakeFiles/cmTC_90734.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c
/usr/share/cmake/Modules/CheckFunctionExists.c:6:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
char CHECK_FUNCTION_EXISTS();
^
cc1: warning: unrecognized command line option "-Wno-unused-const-variable"
Linking C executable cmTC_90734
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_90734.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-gcc -g -O2 -fstrict-aliasing -O2 -pipe -ggdb -ggdb -ggdb -ggdb -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -pthread -pthread -fPIC -W -Wall -Wpointer-arith -Wno-unused-parameter -Wno-unused-function -Wunused-variable -Wno-pointer-sign -Wstrict-prototypes -Wno-unused-const-variable -Wno-sign-compare -std=c11 -DCHECK_FUNCTION_EXISTS=setproctitle -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_90734.dir/CheckFunctionExists.c.o -o cmTC_90734 -rdynamic -lm -lrt -ldl -lresolv -lnsl
CMakeFiles/cmTC_90734.dir/CheckFunctionExists.c.o: In function `main':
/usr/share/cmake/Modules/CheckFunctionExists.c:14: undefined reference to `setproctitle'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_90734.dir/build.make:97: recipe for target 'cmTC_90734' failed
gmake[1]: *** [cmTC_90734] Error 1
gmake[1]: Leaving directory '/var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_90734/fast' failed
gmake: *** [cmTC_90734/fast] Error 2
Determining if the function memset_s exists failed with the following output:
Change Dir: /var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/gmake" "cmTC_cc96e/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_cc96e.dir/build.make CMakeFiles/cmTC_cc96e.dir/build
gmake[1]: Entering directory '/var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_cc96e.dir/CheckFunctionExists.c.o
/usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -g -O2 -fstrict-aliasing -O2 -pipe -ggdb -ggdb -ggdb -ggdb -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -pthread -pthread -fPIC -W -Wall -Wpointer-arith -Wno-unused-parameter -Wno-unused-function -Wunused-variable -Wno-pointer-sign -Wstrict-prototypes -Wno-unused-const-variable -Wno-sign-compare -std=c11 -DCHECK_FUNCTION_EXISTS=memset_s -o CMakeFiles/cmTC_cc96e.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c
/usr/share/cmake/Modules/CheckFunctionExists.c:6:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
char CHECK_FUNCTION_EXISTS();
^
cc1: warning: unrecognized command line option "-Wno-unused-const-variable"
Linking C executable cmTC_cc96e
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_cc96e.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-gcc -g -O2 -fstrict-aliasing -O2 -pipe -ggdb -ggdb -ggdb -ggdb -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -pthread -pthread -fPIC -W -Wall -Wpointer-arith -Wno-unused-parameter -Wno-unused-function -Wunused-variable -Wno-pointer-sign -Wstrict-prototypes -Wno-unused-const-variable -Wno-sign-compare -std=c11 -DCHECK_FUNCTION_EXISTS=memset_s -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_cc96e.dir/CheckFunctionExists.c.o -o cmTC_cc96e -rdynamic -lm -lrt -ldl -lresolv -lnsl
CMakeFiles/cmTC_cc96e.dir/CheckFunctionExists.c.o: In function `main':
/usr/share/cmake/Modules/CheckFunctionExists.c:14: undefined reference to `memset_s'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_cc96e.dir/build.make:97: recipe for target 'cmTC_cc96e' failed
gmake[1]: *** [cmTC_cc96e] Error 1
gmake[1]: Leaving directory '/var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_cc96e/fast' failed
gmake: *** [cmTC_cc96e/fast] Error 2
Determining if the function explicit_bzero exists failed with the following output:
Change Dir: /var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/gmake" "cmTC_a1e33/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_a1e33.dir/build.make CMakeFiles/cmTC_a1e33.dir/build
gmake[1]: Entering directory '/var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_a1e33.dir/CheckFunctionExists.c.o
/usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -g -O2 -fstrict-aliasing -O2 -pipe -ggdb -ggdb -ggdb -ggdb -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -pthread -pthread -fPIC -W -Wall -Wpointer-arith -Wno-unused-parameter -Wno-unused-function -Wunused-variable -Wno-pointer-sign -Wstrict-prototypes -Wno-unused-const-variable -Wno-sign-compare -std=c11 -DCHECK_FUNCTION_EXISTS=explicit_bzero -o CMakeFiles/cmTC_a1e33.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c
/usr/share/cmake/Modules/CheckFunctionExists.c:6:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
char CHECK_FUNCTION_EXISTS();
^
cc1: warning: unrecognized command line option "-Wno-unused-const-variable"
Linking C executable cmTC_a1e33
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a1e33.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-gcc -g -O2 -fstrict-aliasing -O2 -pipe -ggdb -ggdb -ggdb -ggdb -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -pthread -pthread -fPIC -W -Wall -Wpointer-arith -Wno-unused-parameter -Wno-unused-function -Wunused-variable -Wno-pointer-sign -Wstrict-prototypes -Wno-unused-const-variable -Wno-sign-compare -std=c11 -DCHECK_FUNCTION_EXISTS=explicit_bzero -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_a1e33.dir/CheckFunctionExists.c.o -o cmTC_a1e33 -rdynamic -lm -lrt -ldl -lresolv -lnsl
CMakeFiles/cmTC_a1e33.dir/CheckFunctionExists.c.o: In function `main':
/usr/share/cmake/Modules/CheckFunctionExists.c:14: undefined reference to `explicit_bzero'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_a1e33.dir/build.make:97: recipe for target 'cmTC_a1e33' failed
gmake[1]: *** [cmTC_a1e33] Error 1
gmake[1]: Leaving directory '/var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_a1e33/fast' failed
gmake: *** [cmTC_a1e33/fast] Error 2
Determining if the MAP_NOCORE exist failed with the following output:
Change Dir: /var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/gmake" "cmTC_d9929/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_d9929.dir/build.make CMakeFiles/cmTC_d9929.dir/build
gmake[1]: Entering directory '/var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_d9929.dir/CheckSymbolExists.c.o
/usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -g -O2 -fstrict-aliasing -O2 -pipe -ggdb -ggdb -ggdb -ggdb -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -pthread -pthread -fPIC -W -Wall -Wpointer-arith -Wno-unused-parameter -Wno-unused-function -Wunused-variable -Wno-pointer-sign -Wstrict-prototypes -Wno-unused-const-variable -Wno-sign-compare -std=c11 -o CMakeFiles/cmTC_d9929.dir/CheckSymbolExists.c.o -c /var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
/var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function ‘main’:
/var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: ‘MAP_NOCORE’ undeclared (first use in this function)
return ((int*)(&MAP_NOCORE))[argc];
^
/var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in
/var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:4:14: warning: parameter ‘argc’ set but not used [-Wunused-but-set-parameter]
int main(int argc, char** argv)
^
/var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: At top level:
cc1: warning: unrecognized command line option "-Wno-unused-const-variable"
CMakeFiles/cmTC_d9929.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_d9929.dir/CheckSymbolExists.c.o' failed
gmake[1]: *** [CMakeFiles/cmTC_d9929.dir/CheckSymbolExists.c.o] Error 1
gmake[1]: Leaving directory '/var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_d9929/fast' failed
gmake: *** [cmTC_d9929/fast] Error 2
File /var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <sys/mman.h>
int main(int argc, char** argv)
{
(void)argv;
#ifndef MAP_NOCORE
return ((int*)(&MAP_NOCORE))[argc];
#else
(void)argc;
return 0;
#endif
}
Determining if the I_SETSIG exist failed with the following output:
Change Dir: /var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/gmake" "cmTC_eb10d/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_eb10d.dir/build.make CMakeFiles/cmTC_eb10d.dir/build
gmake[1]: Entering directory '/var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_eb10d.dir/CheckSymbolExists.c.o
/usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -g -O2 -fstrict-aliasing -O2 -pipe -ggdb -ggdb -ggdb -ggdb -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -pthread -pthread -fPIC -W -Wall -Wpointer-arith -Wno-unused-parameter -Wno-unused-function -Wunused-variable -Wno-pointer-sign -Wstrict-prototypes -Wno-unused-const-variable -Wno-sign-compare -std=c11 -o CMakeFiles/cmTC_eb10d.dir/CheckSymbolExists.c.o -c /var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
/var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function ‘main’:
/var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:9:19: error: ‘I_SETSIG’ undeclared (first use in this function)
return ((int*)(&I_SETSIG))[argc];
^
/var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:9:19: note: each undeclared identifier is reported only once for each function it appears in
/var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:5:14: warning: parameter ‘argc’ set but not used [-Wunused-but-set-parameter]
int main(int argc, char** argv)
^
/var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: At top level:
cc1: warning: unrecognized command line option "-Wno-unused-const-variable"
CMakeFiles/cmTC_eb10d.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_eb10d.dir/CheckSymbolExists.c.o' failed
gmake[1]: *** [CMakeFiles/cmTC_eb10d.dir/CheckSymbolExists.c.o] Error 1
gmake[1]: Leaving directory '/var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_eb10d/fast' failed
gmake: *** [cmTC_eb10d/fast] Error 2
File /var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <sys/types.h>
#include <sys/ioctl.h>
int main(int argc, char** argv)
{
(void)argv;
#ifndef I_SETSIG
return ((int*)(&I_SETSIG))[argc];
#else
(void)argc;
return 0;
#endif
}
Determining if the CLOCK_VIRTUAL exist failed with the following output:
Change Dir: /var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/gmake" "cmTC_06b57/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_06b57.dir/build.make CMakeFiles/cmTC_06b57.dir/build
gmake[1]: Entering directory '/var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_06b57.dir/CheckSymbolExists.c.o
/usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -g -O2 -fstrict-aliasing -O2 -pipe -ggdb -ggdb -ggdb -ggdb -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -pthread -pthread -fPIC -W -Wall -Wpointer-arith -Wno-unused-parameter -Wno-unused-function -Wunused-variable -Wno-pointer-sign -Wstrict-prototypes -Wno-unused-const-variable -Wno-sign-compare -std=c11 -o CMakeFiles/cmTC_06b57.dir/CheckSymbolExists.c.o -c /var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
/var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function ‘main’:
/var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: ‘CLOCK_VIRTUAL’ undeclared (first use in this function)
return ((int*)(&CLOCK_VIRTUAL))[argc];
^
/var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in
/var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:4:14: warning: parameter ‘argc’ set but not used [-Wunused-but-set-parameter]
int main(int argc, char** argv)
^
/var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: At top level:
cc1: warning: unrecognized command line option "-Wno-unused-const-variable"
CMakeFiles/cmTC_06b57.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_06b57.dir/CheckSymbolExists.c.o' failed
gmake[1]: *** [CMakeFiles/cmTC_06b57.dir/CheckSymbolExists.c.o] Error 1
gmake[1]: Leaving directory '/var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_06b57/fast' failed
gmake: *** [cmTC_06b57/fast] Error 2
File /var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <time.h>
int main(int argc, char** argv)
{
(void)argv;
#ifndef CLOCK_VIRTUAL
return ((int*)(&CLOCK_VIRTUAL))[argc];
#else
(void)argc;
return 0;
#endif
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment