Skip to content

Instantly share code, notes, and snippets.

@parkerlreed
Created January 31, 2021 10:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parkerlreed/50faced2c77c1832bc7a4343f420ae1e to your computer and use it in GitHub Desktop.
Save parkerlreed/50faced2c77c1832bc7a4343f420ae1e to your computer and use it in GitHub Desktop.
Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output:
Change Dir: /home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_9d178/fast && /usr/bin/make -f CMakeFiles/cmTC_9d178.dir/build.make CMakeFiles/cmTC_9d178.dir/build
make[1]: Entering directory '/home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_9d178.dir/src.c.o
/usr/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD -D_FORTIFY_SOURCE=2 -march=armv8-a -mtune=generic -O2 -pipe -fno-plt -ffp-contract=off -DHAVE_VULKAN -DHAVE_SOFTPOLY -fPIE -ffast-math -ffp-contract=fast -o CMakeFiles/cmTC_9d178.dir/src.c.o -c /home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CMakeTmp/src.c
Linking C executable cmTC_9d178
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9d178.dir/link.txt --verbose=1
/usr/bin/cc -D_FORTIFY_SOURCE=2 -march=armv8-a -mtune=generic -O2 -pipe -fno-plt -ffp-contract=off -DHAVE_VULKAN -DHAVE_SOFTPOLY -fPIE -ffast-math -ffp-contract=fast -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -rdynamic CMakeFiles/cmTC_9d178.dir/src.c.o -o cmTC_9d178
/usr/bin/ld: CMakeFiles/cmTC_9d178.dir/src.c.o: in function `main':
src.c:(.text.startup+0x2c): undefined reference to `pthread_create'
/usr/bin/ld: src.c:(.text.startup+0x34): undefined reference to `pthread_create'
/usr/bin/ld: src.c:(.text.startup+0x3c): undefined reference to `pthread_detach'
/usr/bin/ld: src.c:(.text.startup+0x44): undefined reference to `pthread_detach'
/usr/bin/ld: src.c:(.text.startup+0x4c): undefined reference to `pthread_cancel'
/usr/bin/ld: src.c:(.text.startup+0x54): undefined reference to `pthread_cancel'
/usr/bin/ld: src.c:(.text.startup+0x5c): undefined reference to `pthread_join'
/usr/bin/ld: src.c:(.text.startup+0x68): undefined reference to `pthread_join'
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_9d178.dir/build.make:106: cmTC_9d178] Error 1
make[1]: Leaving directory '/home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:140: cmTC_9d178/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 size of 0i8 failed with the following output:
Change Dir: /home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_fab78/fast && /usr/bin/make -f CMakeFiles/cmTC_fab78.dir/build.make CMakeFiles/cmTC_fab78.dir/build
make[1]: Entering directory '/home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_fab78.dir/SIZEOF_0I8.c.o
/usr/bin/cc -D_FORTIFY_SOURCE=2 -march=armv8-a -mtune=generic -O2 -pipe -fno-plt -ffp-contract=off -DHAVE_VULKAN -DHAVE_SOFTPOLY -fPIE -o CMakeFiles/cmTC_fab78.dir/SIZEOF_0I8.c.o -c /home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CheckTypeSize/SIZEOF_0I8.c
/home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CheckTypeSize/SIZEOF_0I8.c:27:22: error: invalid suffix "i8" on integer constant
27 | #define SIZE (sizeof(0i8))
| ^~~
/home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CheckTypeSize/SIZEOF_0I8.c:29:12: note: in expansion of macro ‘SIZE’
29 | ('0' + ((SIZE / 10000)%10)),
| ^~~~
/home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CheckTypeSize/SIZEOF_0I8.c:27:22: error: invalid suffix "i8" on integer constant
27 | #define SIZE (sizeof(0i8))
| ^~~
/home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CheckTypeSize/SIZEOF_0I8.c:30:12: note: in expansion of macro ‘SIZE’
30 | ('0' + ((SIZE / 1000)%10)),
| ^~~~
/home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CheckTypeSize/SIZEOF_0I8.c:27:22: error: invalid suffix "i8" on integer constant
27 | #define SIZE (sizeof(0i8))
| ^~~
/home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CheckTypeSize/SIZEOF_0I8.c:31:12: note: in expansion of macro ‘SIZE’
31 | ('0' + ((SIZE / 100)%10)),
| ^~~~
/home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CheckTypeSize/SIZEOF_0I8.c:27:22: error: invalid suffix "i8" on integer constant
27 | #define SIZE (sizeof(0i8))
| ^~~
/home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CheckTypeSize/SIZEOF_0I8.c:32:12: note: in expansion of macro ‘SIZE’
32 | ('0' + ((SIZE / 10)%10)),
| ^~~~
/home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CheckTypeSize/SIZEOF_0I8.c:27:22: error: invalid suffix "i8" on integer constant
27 | #define SIZE (sizeof(0i8))
| ^~~
/home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CheckTypeSize/SIZEOF_0I8.c:33:12: note: in expansion of macro ‘SIZE’
33 | ('0' + (SIZE % 10)),
| ^~~~
make[1]: *** [CMakeFiles/cmTC_fab78.dir/build.make:85: CMakeFiles/cmTC_fab78.dir/SIZEOF_0I8.c.o] Error 1
make[1]: Leaving directory '/home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:140: cmTC_fab78/fast] Error 2
/home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CheckTypeSize/SIZEOF_0I8.c:
#include <sys/types.h>
#include <stdint.h>
#include <stddef.h>
#undef KEY
#if defined(__i386)
# define KEY '_','_','i','3','8','6'
#elif defined(__x86_64)
# define KEY '_','_','x','8','6','_','6','4'
#elif defined(__PPC64__)
# define KEY '_','_','P','P','C','6','4','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#elif defined(__PPC__)
# define KEY '_','_','P','P','C','_','_'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#elif defined(__aarch64__)
# define KEY '_','_','a','a','r','c','h','6','4','_','_'
#elif defined(__ARM_ARCH_7A__)
# define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_'
#elif defined(__ARM_ARCH_7S__)
# define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_'
#endif
#define SIZE (sizeof(0i8))
static char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
('0' + ((SIZE / 10000)%10)),
('0' + ((SIZE / 1000)%10)),
('0' + ((SIZE / 100)%10)),
('0' + ((SIZE / 10)%10)),
('0' + (SIZE % 10)),
']',
#ifdef KEY
' ','k','e','y','[', KEY, ']',
#endif
'\0'};
#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
int require = 0;
require += info_size[argc];
(void)argv;
return require;
}
Determining size of __int64 failed with the following output:
Change Dir: /home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_225cd/fast && /usr/bin/make -f CMakeFiles/cmTC_225cd.dir/build.make CMakeFiles/cmTC_225cd.dir/build
make[1]: Entering directory '/home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_225cd.dir/SIZEOF___INT_64.c.o
/usr/bin/cc -D_FORTIFY_SOURCE=2 -march=armv8-a -mtune=generic -O2 -pipe -fno-plt -ffp-contract=off -DHAVE_VULKAN -DHAVE_SOFTPOLY -fPIE -o CMakeFiles/cmTC_225cd.dir/SIZEOF___INT_64.c.o -c /home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CheckTypeSize/SIZEOF___INT_64.c
/home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CheckTypeSize/SIZEOF___INT_64.c:27:22: error: ‘__int64’ undeclared here (not in a function); did you mean ‘__int64_t’?
27 | #define SIZE (sizeof(__int64))
| ^~~~~~~
/home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CheckTypeSize/SIZEOF___INT_64.c:29:12: note: in expansion of macro ‘SIZE’
29 | ('0' + ((SIZE / 10000)%10)),
| ^~~~
make[1]: *** [CMakeFiles/cmTC_225cd.dir/build.make:85: CMakeFiles/cmTC_225cd.dir/SIZEOF___INT_64.c.o] Error 1
make[1]: Leaving directory '/home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:140: cmTC_225cd/fast] Error 2
/home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CheckTypeSize/SIZEOF___INT_64.c:
#include <sys/types.h>
#include <stdint.h>
#include <stddef.h>
#undef KEY
#if defined(__i386)
# define KEY '_','_','i','3','8','6'
#elif defined(__x86_64)
# define KEY '_','_','x','8','6','_','6','4'
#elif defined(__PPC64__)
# define KEY '_','_','P','P','C','6','4','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#elif defined(__PPC__)
# define KEY '_','_','P','P','C','_','_'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#elif defined(__aarch64__)
# define KEY '_','_','a','a','r','c','h','6','4','_','_'
#elif defined(__ARM_ARCH_7A__)
# define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_'
#elif defined(__ARM_ARCH_7S__)
# define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_'
#endif
#define SIZE (sizeof(__int64))
static char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
('0' + ((SIZE / 10000)%10)),
('0' + ((SIZE / 1000)%10)),
('0' + ((SIZE / 100)%10)),
('0' + ((SIZE / 10)%10)),
('0' + (SIZE % 10)),
']',
#ifdef KEY
' ','k','e','y','[', KEY, ']',
#endif
'\0'};
#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
int require = 0;
require += info_size[argc];
(void)argv;
return require;
}
Performing C++ SOURCE FILE Test HAVE_MMX failed with the following output:
Change Dir: /home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_e3ef8/fast && /usr/bin/make -f CMakeFiles/cmTC_e3ef8.dir/build.make CMakeFiles/cmTC_e3ef8.dir/build
make[1]: Entering directory '/home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_e3ef8.dir/src.cxx.o
/usr/bin/c++ -DHAVE_MMX -march=armv8-a -mtune=generic -O2 -pipe -fno-plt -ffile-prefix-map="/home/parker/build/gzdoom-git/src/gzdoom"=. -DSHARE_DIR=\"/usr/share/gzdoom\" -std=c++17 -ffp-contract=off -DHAVE_VULKAN -DHAVE_SOFTPOLY -fPIE -mmmx -o CMakeFiles/cmTC_e3ef8.dir/src.cxx.o -c /home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CMakeTmp/src.cxx
c++: error: unrecognized command-line option ‘-mmmx’
make[1]: *** [CMakeFiles/cmTC_e3ef8.dir/build.make:85: CMakeFiles/cmTC_e3ef8.dir/src.cxx.o] Error 1
make[1]: Leaving directory '/home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:140: cmTC_e3ef8/fast] Error 2
Source file was:
#include <mmintrin.h>
int main(void) { __m64 v = _m_from_int(0); }
Performing C++ SOURCE FILE Test HAVE_PARALLEL_FOR failed with the following output:
Change Dir: /home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_478ab/fast && /usr/bin/make -f CMakeFiles/cmTC_478ab.dir/build.make CMakeFiles/cmTC_478ab.dir/build
make[1]: Entering directory '/home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_478ab.dir/src.cxx.o
/usr/bin/c++ -DHAVE_PARALLEL_FOR -march=armv8-a -mtune=generic -O2 -pipe -fno-plt -ffile-prefix-map="/home/parker/build/gzdoom-git/src/gzdoom"=. -DSHARE_DIR=\"/usr/share/gzdoom\" -std=c++17 -ffp-contract=off -DHAVE_VULKAN -DHAVE_SOFTPOLY -fPIE -o CMakeFiles/cmTC_478ab.dir/src.cxx.o -c /home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CMakeTmp/src.cxx
/home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CMakeTmp/src.cxx:1:10: fatal error: ppl.h: No such file or directory
1 | #include <ppl.h>
| ^~~~~~~
compilation terminated.
make[1]: *** [CMakeFiles/cmTC_478ab.dir/build.make:85: CMakeFiles/cmTC_478ab.dir/src.cxx.o] Error 1
make[1]: Leaving directory '/home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:140: cmTC_478ab/fast] Error 2
Source file was:
#include <ppl.h>
int main() { concurrency::parallel_for(0, 1, 1, [](int) { } ); }
Performing C++ SOURCE FILE Test HAVE_DISPATCH_APPLY failed with the following output:
Change Dir: /home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_87583/fast && /usr/bin/make -f CMakeFiles/cmTC_87583.dir/build.make CMakeFiles/cmTC_87583.dir/build
make[1]: Entering directory '/home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_87583.dir/src.cxx.o
/usr/bin/c++ -DHAVE_DISPATCH_APPLY -march=armv8-a -mtune=generic -O2 -pipe -fno-plt -ffile-prefix-map="/home/parker/build/gzdoom-git/src/gzdoom"=. -DSHARE_DIR=\"/usr/share/gzdoom\" -std=c++17 -ffp-contract=off -DHAVE_VULKAN -DHAVE_SOFTPOLY -fPIE -o CMakeFiles/cmTC_87583.dir/src.cxx.o -c /home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CMakeTmp/src.cxx
/home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CMakeTmp/src.cxx:1:10: fatal error: dispatch/dispatch.h: No such file or directory
1 | #include <dispatch/dispatch.h>
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [CMakeFiles/cmTC_87583.dir/build.make:85: CMakeFiles/cmTC_87583.dir/src.cxx.o] Error 1
make[1]: Leaving directory '/home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:140: cmTC_87583/fast] Error 2
Source file was:
#include <dispatch/dispatch.h>
int main() { dispatch_apply(1, dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^(size_t) { }); }
Performing C++ SOURCE FILE Test HAVE_THREAD_LOCAL failed with the following output:
Change Dir: /home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_1520e/fast && /usr/bin/make -f CMakeFiles/cmTC_1520e.dir/build.make CMakeFiles/cmTC_1520e.dir/build
make[1]: Entering directory '/home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_1520e.dir/src.cxx.o
/usr/bin/c++ -DHAVE_THREAD_LOCAL -DNO_SSE -mcpu=cortex-a7 -mfpu=neon-vfpv4 -mtune=cortex-a7 -mhard-float -DNO_SSE -Wall -Wextra -Wno-unused -Wno-unused-parameter -Wno-missing-field-initializers -ffp-contract=off -Wno-unused-result -march=armv8-a -mtune=generic -O2 -pipe -fno-plt -ffile-prefix-map="/home/parker/build/gzdoom-git/src/gzdoom"=. -DSHARE_DIR=\"/usr/share/gzdoom\" -std=c++17 -ffp-contract=off -DHAVE_VULKAN -DHAVE_SOFTPOLY -fPIE -o CMakeFiles/cmTC_1520e.dir/src.cxx.o -c /home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CMakeTmp/src.cxx
c++: error: unrecognized command-line option ‘-mfpu=neon-vfpv4’
c++: error: unrecognized command-line option ‘-mhard-float’
make[1]: *** [CMakeFiles/cmTC_1520e.dir/build.make:85: CMakeFiles/cmTC_1520e.dir/src.cxx.o] Error 1
make[1]: Leaving directory '/home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:140: cmTC_1520e/fast] Error 2
Source file was:
thread_local int i; int main() { i = 0; }
Determining if the function filelength exists failed with the following output:
Change Dir: /home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_f85c0/fast && /usr/bin/make -f CMakeFiles/cmTC_f85c0.dir/build.make CMakeFiles/cmTC_f85c0.dir/build
make[1]: Entering directory '/home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_f85c0.dir/CheckFunctionExists.c.o
/usr/bin/cc -DNO_SSE -Wall -Wextra -Wno-unused -Wno-unused-parameter -Wno-missing-field-initializers -ffp-contract=off -Wno-unused-result -D_FORTIFY_SOURCE=2 -march=armv8-a -mtune=generic -O2 -pipe -fno-plt -ffp-contract=off -DHAVE_VULKAN -DHAVE_SOFTPOLY -fPIE -DCHECK_FUNCTION_EXISTS=filelength -o CMakeFiles/cmTC_f85c0.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.19/Modules/CheckFunctionExists.c
Linking C executable cmTC_f85c0
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f85c0.dir/link.txt --verbose=1
/usr/bin/cc -DNO_SSE -Wall -Wextra -Wno-unused -Wno-unused-parameter -Wno-missing-field-initializers -ffp-contract=off -Wno-unused-result -D_FORTIFY_SOURCE=2 -march=armv8-a -mtune=generic -O2 -pipe -fno-plt -ffp-contract=off -DHAVE_VULKAN -DHAVE_SOFTPOLY -fPIE -DCHECK_FUNCTION_EXISTS=filelength -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -rdynamic CMakeFiles/cmTC_f85c0.dir/CheckFunctionExists.c.o -o cmTC_f85c0
/usr/bin/ld: CMakeFiles/cmTC_f85c0.dir/CheckFunctionExists.c.o: in function `main':
CheckFunctionExists.c:(.text.startup+0x10): undefined reference to `filelength'
/usr/bin/ld: CheckFunctionExists.c:(.text.startup+0x18): undefined reference to `filelength'
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_f85c0.dir/build.make:106: cmTC_f85c0] Error 1
make[1]: Leaving directory '/home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:140: cmTC_f85c0/fast] Error 2
Determining if the function strupr exists failed with the following output:
Change Dir: /home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_eadc5/fast && /usr/bin/make -f CMakeFiles/cmTC_eadc5.dir/build.make CMakeFiles/cmTC_eadc5.dir/build
make[1]: Entering directory '/home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_eadc5.dir/CheckFunctionExists.c.o
/usr/bin/cc -DNO_SSE -Wall -Wextra -Wno-unused -Wno-unused-parameter -Wno-missing-field-initializers -ffp-contract=off -Wno-unused-result -D_FORTIFY_SOURCE=2 -march=armv8-a -mtune=generic -O2 -pipe -fno-plt -ffp-contract=off -DHAVE_VULKAN -DHAVE_SOFTPOLY -fPIE -DCHECK_FUNCTION_EXISTS=strupr -o CMakeFiles/cmTC_eadc5.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.19/Modules/CheckFunctionExists.c
Linking C executable cmTC_eadc5
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_eadc5.dir/link.txt --verbose=1
/usr/bin/cc -DNO_SSE -Wall -Wextra -Wno-unused -Wno-unused-parameter -Wno-missing-field-initializers -ffp-contract=off -Wno-unused-result -D_FORTIFY_SOURCE=2 -march=armv8-a -mtune=generic -O2 -pipe -fno-plt -ffp-contract=off -DHAVE_VULKAN -DHAVE_SOFTPOLY -fPIE -DCHECK_FUNCTION_EXISTS=strupr -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -rdynamic CMakeFiles/cmTC_eadc5.dir/CheckFunctionExists.c.o -o cmTC_eadc5
/usr/bin/ld: CMakeFiles/cmTC_eadc5.dir/CheckFunctionExists.c.o: in function `main':
CheckFunctionExists.c:(.text.startup+0x10): undefined reference to `strupr'
/usr/bin/ld: CheckFunctionExists.c:(.text.startup+0x18): undefined reference to `strupr'
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_eadc5.dir/build.make:106: cmTC_eadc5] Error 1
make[1]: Leaving directory '/home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:140: cmTC_eadc5/fast] Error 2
Determining if the function stricmp exists failed with the following output:
Change Dir: /home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_4324e/fast && /usr/bin/make -f CMakeFiles/cmTC_4324e.dir/build.make CMakeFiles/cmTC_4324e.dir/build
make[1]: Entering directory '/home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_4324e.dir/CheckFunctionExists.c.o
/usr/bin/cc -DNO_SSE -Wall -Wextra -Wno-unused -Wno-unused-parameter -Wno-missing-field-initializers -ffp-contract=off -Wno-unused-result -D_FORTIFY_SOURCE=2 -march=armv8-a -mtune=generic -O2 -pipe -fno-plt -ffp-contract=off -DHAVE_VULKAN -DHAVE_SOFTPOLY -fPIE -DCHECK_FUNCTION_EXISTS=stricmp -o CMakeFiles/cmTC_4324e.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.19/Modules/CheckFunctionExists.c
Linking C executable cmTC_4324e
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4324e.dir/link.txt --verbose=1
/usr/bin/cc -DNO_SSE -Wall -Wextra -Wno-unused -Wno-unused-parameter -Wno-missing-field-initializers -ffp-contract=off -Wno-unused-result -D_FORTIFY_SOURCE=2 -march=armv8-a -mtune=generic -O2 -pipe -fno-plt -ffp-contract=off -DHAVE_VULKAN -DHAVE_SOFTPOLY -fPIE -DCHECK_FUNCTION_EXISTS=stricmp -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -rdynamic CMakeFiles/cmTC_4324e.dir/CheckFunctionExists.c.o -o cmTC_4324e
/usr/bin/ld: CMakeFiles/cmTC_4324e.dir/CheckFunctionExists.c.o: in function `main':
CheckFunctionExists.c:(.text.startup+0x10): undefined reference to `stricmp'
/usr/bin/ld: CheckFunctionExists.c:(.text.startup+0x18): undefined reference to `stricmp'
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_4324e.dir/build.make:106: cmTC_4324e] Error 1
make[1]: Leaving directory '/home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:140: cmTC_4324e/fast] Error 2
Determining if the function strnicmp exists failed with the following output:
Change Dir: /home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_13c52/fast && /usr/bin/make -f CMakeFiles/cmTC_13c52.dir/build.make CMakeFiles/cmTC_13c52.dir/build
make[1]: Entering directory '/home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_13c52.dir/CheckFunctionExists.c.o
/usr/bin/cc -DNO_SSE -Wall -Wextra -Wno-unused -Wno-unused-parameter -Wno-missing-field-initializers -ffp-contract=off -Wno-unused-result -D_FORTIFY_SOURCE=2 -march=armv8-a -mtune=generic -O2 -pipe -fno-plt -ffp-contract=off -DHAVE_VULKAN -DHAVE_SOFTPOLY -fPIE -DCHECK_FUNCTION_EXISTS=strnicmp -o CMakeFiles/cmTC_13c52.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.19/Modules/CheckFunctionExists.c
Linking C executable cmTC_13c52
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_13c52.dir/link.txt --verbose=1
/usr/bin/cc -DNO_SSE -Wall -Wextra -Wno-unused -Wno-unused-parameter -Wno-missing-field-initializers -ffp-contract=off -Wno-unused-result -D_FORTIFY_SOURCE=2 -march=armv8-a -mtune=generic -O2 -pipe -fno-plt -ffp-contract=off -DHAVE_VULKAN -DHAVE_SOFTPOLY -fPIE -DCHECK_FUNCTION_EXISTS=strnicmp -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -rdynamic CMakeFiles/cmTC_13c52.dir/CheckFunctionExists.c.o -o cmTC_13c52
/usr/bin/ld: CMakeFiles/cmTC_13c52.dir/CheckFunctionExists.c.o: in function `main':
CheckFunctionExists.c:(.text.startup+0x10): undefined reference to `strnicmp'
/usr/bin/ld: CheckFunctionExists.c:(.text.startup+0x18): undefined reference to `strnicmp'
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_13c52.dir/build.make:106: cmTC_13c52] Error 1
make[1]: Leaving directory '/home/parker/build/gzdoom-git/src/gzdoom/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:140: cmTC_13c52/fast] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment