Ticket #66312: CMakeError.log

File CMakeError.log, 30.9 KB (added by sudheerhebbale (Sudheer Hebbale), 2 years ago)
Line 
1Checking whether the ASM compiler is GNU using "--version" did not match "(GNU assembler)|(GCC)|(Free Software Foundation)":
2Apple clang version 14.0.0 (clang-1400.0.29.202)
3Target: arm64-apple-darwin22.1.0
4Thread model: posix
5InstalledDir: /Library/Developer/CommandLineTools/usr/bin
6Determining if the include file link.h exists failed with the following output:
7Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-YVqYh6
8
9Run Build Command(s):/usr/bin/make -f Makefile cmTC_ff24d/fast && /Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/cmTC_ff24d.dir/build.make CMakeFiles/cmTC_ff24d.dir/build
10Building C object CMakeFiles/cmTC_ff24d.dir/CheckIncludeFile.c.o
11/usr/bin/clang   -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk  -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -mmacosx-version-min=13.0 -MD -MT CMakeFiles/cmTC_ff24d.dir/CheckIncludeFile.c.o -MF CMakeFiles/cmTC_ff24d.dir/CheckIncludeFile.c.o.d -o CMakeFiles/cmTC_ff24d.dir/CheckIncludeFile.c.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-YVqYh6/CheckIncludeFile.c
12/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-YVqYh6/CheckIncludeFile.c:1:10: fatal error: 'link.h' file not found
13#include <link.h>
14         ^~~~~~~~
151 error generated.
16make[1]: *** [CMakeFiles/cmTC_ff24d.dir/CheckIncludeFile.c.o] Error 1
17make: *** [cmTC_ff24d/fast] Error 2
18
19
20
21Determining if the include file valgrind/valgrind.h exists failed with the following output:
22Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-8gaUD6
23
24Run Build Command(s):/usr/bin/make -f Makefile cmTC_b1b60/fast && /Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/cmTC_b1b60.dir/build.make CMakeFiles/cmTC_b1b60.dir/build
25Building C object CMakeFiles/cmTC_b1b60.dir/CheckIncludeFile.c.o
26/usr/bin/clang   -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk  -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -mmacosx-version-min=13.0 -MD -MT CMakeFiles/cmTC_b1b60.dir/CheckIncludeFile.c.o -MF CMakeFiles/cmTC_b1b60.dir/CheckIncludeFile.c.o.d -o CMakeFiles/cmTC_b1b60.dir/CheckIncludeFile.c.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-8gaUD6/CheckIncludeFile.c
27/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-8gaUD6/CheckIncludeFile.c:1:10: fatal error: 'valgrind/valgrind.h' file not found
28#include <valgrind/valgrind.h>
29         ^~~~~~~~~~~~~~~~~~~~~
301 error generated.
31make[1]: *** [CMakeFiles/cmTC_b1b60.dir/CheckIncludeFile.c.o] Error 1
32make: *** [cmTC_b1b60/fast] Error 2
33
34
35
36Determining if the include file CrashReporterClient.h exists failed with the following output:
37Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-E2kRGE
38
39Run Build Command(s):/usr/bin/make -f Makefile cmTC_8a897/fast && /Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/cmTC_8a897.dir/build.make CMakeFiles/cmTC_8a897.dir/build
40Building C object CMakeFiles/cmTC_8a897.dir/CheckIncludeFile.c.o
41/usr/bin/clang   -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk  -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -mmacosx-version-min=13.0 -MD -MT CMakeFiles/cmTC_8a897.dir/CheckIncludeFile.c.o -MF CMakeFiles/cmTC_8a897.dir/CheckIncludeFile.c.o.d -o CMakeFiles/cmTC_8a897.dir/CheckIncludeFile.c.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-E2kRGE/CheckIncludeFile.c
42/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-E2kRGE/CheckIncludeFile.c:1:10: fatal error: 'CrashReporterClient.h' file not found
43#include <CrashReporterClient.h>
44         ^~~~~~~~~~~~~~~~~~~~~~~
451 error generated.
46make[1]: *** [CMakeFiles/cmTC_8a897.dir/CheckIncludeFile.c.o] Error 1
47make: *** [cmTC_8a897/fast] Error 2
48
49
50
51Determining if the function clock_gettime exists in the rt failed with the following output:
52Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-DICmRn
53
54Run Build Command(s):/usr/bin/make -f Makefile cmTC_b996b/fast && /Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/cmTC_b996b.dir/build.make CMakeFiles/cmTC_b996b.dir/build
55Building C object CMakeFiles/cmTC_b996b.dir/CheckFunctionExists.c.o
56/usr/bin/clang   -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -DCHECK_FUNCTION_EXISTS=clock_gettime -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -mmacosx-version-min=13.0 -MD -MT CMakeFiles/cmTC_b996b.dir/CheckFunctionExists.c.o -MF CMakeFiles/cmTC_b996b.dir/CheckFunctionExists.c.o.d -o CMakeFiles/cmTC_b996b.dir/CheckFunctionExists.c.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-DICmRn/CheckFunctionExists.c
57Linking C executable cmTC_b996b
58/opt/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b996b.dir/link.txt --verbose=1
59/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -DCHECK_FUNCTION_EXISTS=clock_gettime -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -mmacosx-version-min=13.0 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk  CMakeFiles/cmTC_b996b.dir/CheckFunctionExists.c.o -o cmTC_b996b  -lrt -lm
60ld: library not found for -lrt
61clang: error: linker command failed with exit code 1 (use -v to see invocation)
62make[1]: *** [cmTC_b996b] Error 1
63make: *** [cmTC_b996b/fast] Error 2
64
65
66
67Determining if the function pfm_initialize exists in the pfm failed with the following output:
68Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-oRlZ41
69
70Run Build Command(s):/usr/bin/make -f Makefile cmTC_67874/fast && /Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/cmTC_67874.dir/build.make CMakeFiles/cmTC_67874.dir/build
71Building C object CMakeFiles/cmTC_67874.dir/CheckFunctionExists.c.o
72/usr/bin/clang   -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -DCHECK_FUNCTION_EXISTS=pfm_initialize -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -mmacosx-version-min=13.0 -MD -MT CMakeFiles/cmTC_67874.dir/CheckFunctionExists.c.o -MF CMakeFiles/cmTC_67874.dir/CheckFunctionExists.c.o.d -o CMakeFiles/cmTC_67874.dir/CheckFunctionExists.c.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-oRlZ41/CheckFunctionExists.c
73Linking C executable cmTC_67874
74/opt/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_67874.dir/link.txt --verbose=1
75/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -DCHECK_FUNCTION_EXISTS=pfm_initialize -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -mmacosx-version-min=13.0 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk  CMakeFiles/cmTC_67874.dir/CheckFunctionExists.c.o -o cmTC_67874  -lpfm -lm
76ld: library not found for -lpfm
77clang: error: linker command failed with exit code 1 (use -v to see invocation)
78make[1]: *** [cmTC_67874] Error 1
79make: *** [cmTC_67874/fast] Error 2
80
81
82
83Determining if the function setupterm exists in the terminfo failed with the following output:
84Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-M424Yx
85
86Run Build Command(s):/usr/bin/make -f Makefile cmTC_99888/fast && /Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/cmTC_99888.dir/build.make CMakeFiles/cmTC_99888.dir/build
87Building C object CMakeFiles/cmTC_99888.dir/CheckFunctionExists.c.o
88/usr/bin/clang   -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -DCHECK_FUNCTION_EXISTS=setupterm -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -mmacosx-version-min=13.0 -MD -MT CMakeFiles/cmTC_99888.dir/CheckFunctionExists.c.o -MF CMakeFiles/cmTC_99888.dir/CheckFunctionExists.c.o.d -o CMakeFiles/cmTC_99888.dir/CheckFunctionExists.c.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-M424Yx/CheckFunctionExists.c
89Linking C executable cmTC_99888
90/opt/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_99888.dir/link.txt --verbose=1
91/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -DCHECK_FUNCTION_EXISTS=setupterm -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -mmacosx-version-min=13.0 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk  CMakeFiles/cmTC_99888.dir/CheckFunctionExists.c.o -o cmTC_99888  -lterminfo -lm
92ld: library not found for -lterminfo
93clang: error: linker command failed with exit code 1 (use -v to see invocation)
94make[1]: *** [cmTC_99888] Error 1
95make: *** [cmTC_99888/fast] Error 2
96
97
98
99Determining if the function setupterm exists in the tinfo failed with the following output:
100Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-xBOtnC
101
102Run Build Command(s):/usr/bin/make -f Makefile cmTC_60f73/fast && /Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/cmTC_60f73.dir/build.make CMakeFiles/cmTC_60f73.dir/build
103Building C object CMakeFiles/cmTC_60f73.dir/CheckFunctionExists.c.o
104/usr/bin/clang   -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -DCHECK_FUNCTION_EXISTS=setupterm -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -mmacosx-version-min=13.0 -MD -MT CMakeFiles/cmTC_60f73.dir/CheckFunctionExists.c.o -MF CMakeFiles/cmTC_60f73.dir/CheckFunctionExists.c.o.d -o CMakeFiles/cmTC_60f73.dir/CheckFunctionExists.c.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-xBOtnC/CheckFunctionExists.c
105Linking C executable cmTC_60f73
106/opt/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_60f73.dir/link.txt --verbose=1
107/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -DCHECK_FUNCTION_EXISTS=setupterm -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -mmacosx-version-min=13.0 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk  CMakeFiles/cmTC_60f73.dir/CheckFunctionExists.c.o -o cmTC_60f73  -ltinfo -lm
108ld: library not found for -ltinfo
109clang: error: linker command failed with exit code 1 (use -v to see invocation)
110make[1]: *** [cmTC_60f73] Error 1
111make: *** [cmTC_60f73/fast] Error 2
112
113
114
115Determining if the posix_fallocate exist failed with the following output:
116Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-lDYs7j
117
118Run Build Command(s):/usr/bin/make -f Makefile cmTC_2d444/fast && /Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/cmTC_2d444.dir/build.make CMakeFiles/cmTC_2d444.dir/build
119Building C object CMakeFiles/cmTC_2d444.dir/CheckSymbolExists.c.o
120/usr/bin/clang   -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk  -Werror=unguarded-availability-new -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -mmacosx-version-min=13.0 -MD -MT CMakeFiles/cmTC_2d444.dir/CheckSymbolExists.c.o -MF CMakeFiles/cmTC_2d444.dir/CheckSymbolExists.c.o.d -o CMakeFiles/cmTC_2d444.dir/CheckSymbolExists.c.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-lDYs7j/CheckSymbolExists.c
121/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-lDYs7j/CheckSymbolExists.c:8:19: error: use of undeclared identifier 'posix_fallocate'
122  return ((int*)(&posix_fallocate))[argc];
123                  ^
1241 error generated.
125make[1]: *** [CMakeFiles/cmTC_2d444.dir/CheckSymbolExists.c.o] Error 1
126make: *** [cmTC_2d444/fast] Error 2
127
128
129File CheckSymbolExists.c:
130/* */
131#include <fcntl.h>
132
133int main(int argc, char** argv)
134{
135  (void)argv;
136#ifndef posix_fallocate
137  return ((int*)(&posix_fallocate))[argc];
138#else
139  (void)argc;
140  return 0;
141#endif
142}
143Determining if the lseek64 exist failed with the following output:
144Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-4nYg65
145
146Run Build Command(s):/usr/bin/make -f Makefile cmTC_53c7e/fast && /Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/cmTC_53c7e.dir/build.make CMakeFiles/cmTC_53c7e.dir/build
147Building C object CMakeFiles/cmTC_53c7e.dir/CheckSymbolExists.c.o
148/usr/bin/clang -D_LARGEFILE64_SOURCE  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk  -Werror=unguarded-availability-new -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -mmacosx-version-min=13.0 -MD -MT CMakeFiles/cmTC_53c7e.dir/CheckSymbolExists.c.o -MF CMakeFiles/cmTC_53c7e.dir/CheckSymbolExists.c.o.d -o CMakeFiles/cmTC_53c7e.dir/CheckSymbolExists.c.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-4nYg65/CheckSymbolExists.c
149/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-4nYg65/CheckSymbolExists.c:9:19: error: use of undeclared identifier 'lseek64'; did you mean 'lseek'?
150  return ((int*)(&lseek64))[argc];
151                  ^~~~~~~
152                  lseek
153/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/unistd.h:465:8: note: 'lseek' declared here
154off_t    lseek(int, off_t, int);
155         ^
1561 error generated.
157make[1]: *** [CMakeFiles/cmTC_53c7e.dir/CheckSymbolExists.c.o] Error 1
158make: *** [cmTC_53c7e/fast] Error 2
159
160
161File CheckSymbolExists.c:
162/* */
163#include <sys/types.h>
164#include <unistd.h>
165
166int main(int argc, char** argv)
167{
168  (void)argv;
169#ifndef lseek64
170  return ((int*)(&lseek64))[argc];
171#else
172  (void)argc;
173  return 0;
174#endif
175}
176Determining if the mallctl exist failed with the following output:
177Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-J7fGFh
178
179Run Build Command(s):/usr/bin/make -f Makefile cmTC_c0488/fast && /Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/cmTC_c0488.dir/build.make CMakeFiles/cmTC_c0488.dir/build
180Building C object CMakeFiles/cmTC_c0488.dir/CheckSymbolExists.c.o
181/usr/bin/clang   -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk  -Werror=unguarded-availability-new -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -mmacosx-version-min=13.0 -MD -MT CMakeFiles/cmTC_c0488.dir/CheckSymbolExists.c.o -MF CMakeFiles/cmTC_c0488.dir/CheckSymbolExists.c.o.d -o CMakeFiles/cmTC_c0488.dir/CheckSymbolExists.c.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-J7fGFh/CheckSymbolExists.c
182/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-J7fGFh/CheckSymbolExists.c:2:10: fatal error: 'malloc_np.h' file not found
183#include <malloc_np.h>
184         ^~~~~~~~~~~~~
1851 error generated.
186make[1]: *** [CMakeFiles/cmTC_c0488.dir/CheckSymbolExists.c.o] Error 1
187make: *** [cmTC_c0488/fast] Error 2
188
189
190File CheckSymbolExists.c:
191/* */
192#include <malloc_np.h>
193
194int main(int argc, char** argv)
195{
196  (void)argv;
197#ifndef mallctl
198  return ((int*)(&mallctl))[argc];
199#else
200  (void)argc;
201  return 0;
202#endif
203}
204Determining if the mallinfo exist failed with the following output:
205Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-CMhIhf
206
207Run Build Command(s):/usr/bin/make -f Makefile cmTC_7edf1/fast && /Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/cmTC_7edf1.dir/build.make CMakeFiles/cmTC_7edf1.dir/build
208Building C object CMakeFiles/cmTC_7edf1.dir/CheckSymbolExists.c.o
209/usr/bin/clang   -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk  -Werror=unguarded-availability-new -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -mmacosx-version-min=13.0 -MD -MT CMakeFiles/cmTC_7edf1.dir/CheckSymbolExists.c.o -MF CMakeFiles/cmTC_7edf1.dir/CheckSymbolExists.c.o.d -o CMakeFiles/cmTC_7edf1.dir/CheckSymbolExists.c.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-CMhIhf/CheckSymbolExists.c
210/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-CMhIhf/CheckSymbolExists.c:2:10: fatal error: 'malloc.h' file not found
211#include <malloc.h>
212         ^~~~~~~~~~
2131 error generated.
214make[1]: *** [CMakeFiles/cmTC_7edf1.dir/CheckSymbolExists.c.o] Error 1
215make: *** [cmTC_7edf1/fast] Error 2
216
217
218File CheckSymbolExists.c:
219/* */
220#include <malloc.h>
221
222int main(int argc, char** argv)
223{
224  (void)argv;
225#ifndef mallinfo
226  return ((int*)(&mallinfo))[argc];
227#else
228  (void)argc;
229  return 0;
230#endif
231}
232Determining if the strerror_s exist failed with the following output:
233Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-jbawb6
234
235Run Build Command(s):/usr/bin/make -f Makefile cmTC_956df/fast && /Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/cmTC_956df.dir/build.make CMakeFiles/cmTC_956df.dir/build
236Building C object CMakeFiles/cmTC_956df.dir/CheckSymbolExists.c.o
237/usr/bin/clang   -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk  -Werror=unguarded-availability-new -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -mmacosx-version-min=13.0 -MD -MT CMakeFiles/cmTC_956df.dir/CheckSymbolExists.c.o -MF CMakeFiles/cmTC_956df.dir/CheckSymbolExists.c.o.d -o CMakeFiles/cmTC_956df.dir/CheckSymbolExists.c.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-jbawb6/CheckSymbolExists.c
238/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-jbawb6/CheckSymbolExists.c:8:19: error: use of undeclared identifier 'strerror_s'; did you mean 'strerror_r'?
239  return ((int*)(&strerror_s))[argc];
240                  ^~~~~~~~~~
241                  strerror_r
242/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/string.h:116:6: note: 'strerror_r' declared here
243int      strerror_r(int __errnum, char *__strerrbuf, size_t __buflen);
244         ^
2451 error generated.
246make[1]: *** [CMakeFiles/cmTC_956df.dir/CheckSymbolExists.c.o] Error 1
247make: *** [cmTC_956df/fast] Error 2
248
249
250File CheckSymbolExists.c:
251/* */
252#include <string.h>
253
254int main(int argc, char** argv)
255{
256  (void)argv;
257#ifndef strerror_s
258  return ((int*)(&strerror_s))[argc];
259#else
260  (void)argc;
261  return 0;
262#endif
263}
264Performing C SOURCE FILE Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC failed with the following output:
265Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-bj4vz0
266
267Run Build Command(s):/usr/bin/make -f Makefile cmTC_a79de/fast && /Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/cmTC_a79de.dir/build.make CMakeFiles/cmTC_a79de.dir/build
268Building C object CMakeFiles/cmTC_a79de.dir/src.c.o
269/usr/bin/clang -DHAVE_STRUCT_STAT_ST_MTIM_TV_NSEC  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk  -Werror=unguarded-availability-new -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -mmacosx-version-min=13.0 -MD -MT CMakeFiles/cmTC_a79de.dir/src.c.o -MF CMakeFiles/cmTC_a79de.dir/src.c.o.d -o CMakeFiles/cmTC_a79de.dir/src.c.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-bj4vz0/src.c
270/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-bj4vz0/src.c:7:36: error: no member named 'st_mtim' in 'struct stat'
271  (void)sizeof(((struct stat *)0)->st_mtim.tv_nsec);
272               ~~~~~~~~~~~~~~~~~~  ^
2731 error generated.
274make[1]: *** [CMakeFiles/cmTC_a79de.dir/src.c.o] Error 1
275make: *** [cmTC_a79de/fast] Error 2
276
277
278Source file was:
279
280#include <sys/types.h>
281#include <sys/stat.h>
282
283int main()
284{
285  (void)sizeof(((struct stat *)0)->st_mtim.tv_nsec);
286  return 0;
287}
288
289
290Determining if the __GLIBC__ exist failed with the following output:
291Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-Vfh9CA
292
293Run Build Command(s):/usr/bin/make -f Makefile cmTC_5dfba/fast && /Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/cmTC_5dfba.dir/build.make CMakeFiles/cmTC_5dfba.dir/build
294Building C object CMakeFiles/cmTC_5dfba.dir/CheckSymbolExists.c.o
295/usr/bin/clang   -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk  -Werror=unguarded-availability-new -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -mmacosx-version-min=13.0 -MD -MT CMakeFiles/cmTC_5dfba.dir/CheckSymbolExists.c.o -MF CMakeFiles/cmTC_5dfba.dir/CheckSymbolExists.c.o.d -o CMakeFiles/cmTC_5dfba.dir/CheckSymbolExists.c.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-Vfh9CA/CheckSymbolExists.c
296/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-Vfh9CA/CheckSymbolExists.c:8:19: error: use of undeclared identifier '__GLIBC__'
297  return ((int*)(&__GLIBC__))[argc];
298                  ^
2991 error generated.
300make[1]: *** [CMakeFiles/cmTC_5dfba.dir/CheckSymbolExists.c.o] Error 1
301make: *** [cmTC_5dfba/fast] Error 2
302
303
304File CheckSymbolExists.c:
305/* */
306#include <stdio.h>
307
308int main(int argc, char** argv)
309{
310  (void)argv;
311#ifndef __GLIBC__
312  return ((int*)(&__GLIBC__))[argc];
313#else
314  (void)argc;
315  return 0;
316#endif
317}
318Determining if the sched_getaffinity exist failed with the following output:
319Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-wymwp4
320
321Run Build Command(s):/usr/bin/make -f Makefile cmTC_1d904/fast && /Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/cmTC_1d904.dir/build.make CMakeFiles/cmTC_1d904.dir/build
322Building C object CMakeFiles/cmTC_1d904.dir/CheckSymbolExists.c.o
323/usr/bin/clang   -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk  -Werror=unguarded-availability-new -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -mmacosx-version-min=13.0 -MD -MT CMakeFiles/cmTC_1d904.dir/CheckSymbolExists.c.o -MF CMakeFiles/cmTC_1d904.dir/CheckSymbolExists.c.o.d -o CMakeFiles/cmTC_1d904.dir/CheckSymbolExists.c.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-wymwp4/CheckSymbolExists.c
324/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-wymwp4/CheckSymbolExists.c:8:19: error: use of undeclared identifier 'sched_getaffinity'
325  return ((int*)(&sched_getaffinity))[argc];
326                  ^
3271 error generated.
328make[1]: *** [CMakeFiles/cmTC_1d904.dir/CheckSymbolExists.c.o] Error 1
329make: *** [cmTC_1d904/fast] Error 2
330
331
332File CheckSymbolExists.c:
333/* */
334#include <sched.h>
335
336int main(int argc, char** argv)
337{
338  (void)argv;
339#ifndef sched_getaffinity
340  return ((int*)(&sched_getaffinity))[argc];
341#else
342  (void)argc;
343  return 0;
344#endif
345}
346Determining if the CPU_COUNT exist failed with the following output:
347Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-V3afCW
348
349Run Build Command(s):/usr/bin/make -f Makefile cmTC_e23a3/fast && /Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/cmTC_e23a3.dir/build.make CMakeFiles/cmTC_e23a3.dir/build
350Building C object CMakeFiles/cmTC_e23a3.dir/CheckSymbolExists.c.o
351/usr/bin/clang   -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk  -Werror=unguarded-availability-new -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -mmacosx-version-min=13.0 -MD -MT CMakeFiles/cmTC_e23a3.dir/CheckSymbolExists.c.o -MF CMakeFiles/cmTC_e23a3.dir/CheckSymbolExists.c.o.d -o CMakeFiles/cmTC_e23a3.dir/CheckSymbolExists.c.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-V3afCW/CheckSymbolExists.c
352/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-V3afCW/CheckSymbolExists.c:8:19: error: use of undeclared identifier 'CPU_COUNT'
353  return ((int*)(&CPU_COUNT))[argc];
354                  ^
3551 error generated.
356make[1]: *** [CMakeFiles/cmTC_e23a3.dir/CheckSymbolExists.c.o] Error 1
357make: *** [cmTC_e23a3/fast] Error 2
358
359
360File CheckSymbolExists.c:
361/* */
362#include <sched.h>
363
364int main(int argc, char** argv)
365{
366  (void)argv;
367#ifndef CPU_COUNT
368  return ((int*)(&CPU_COUNT))[argc];
369#else
370  (void)argc;
371  return 0;
372#endif
373}
374Performing C++ SOURCE FILE Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG failed with the following output:
375Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-XSITnO
376
377Run Build Command(s):/usr/bin/make -f Makefile cmTC_12be3/fast && /Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/cmTC_12be3.dir/build.make CMakeFiles/cmTC_12be3.dir/build
378Building CXX object CMakeFiles/cmTC_12be3.dir/src.cxx.o
379/usr/bin/clang++ -DCXX_SUPPORTS_CLASS_MEMACCESS_FLAG  -pipe -Os -std=c++11 -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default  -Werror=unguarded-availability-new -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -mmacosx-version-min=13.0   -Wclass-memaccess -MD -MT CMakeFiles/cmTC_12be3.dir/src.cxx.o -MF CMakeFiles/cmTC_12be3.dir/src.cxx.o.d -o CMakeFiles/cmTC_12be3.dir/src.cxx.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/llvm-9.0/work/build/CMakeFiles/CMakeScratch/TryCompile-XSITnO/src.cxx
380warning: unknown warning option '-Wclass-memaccess'; did you mean '-Wclass-varargs'? [-Wunknown-warning-option]
3811 warning generated.
382Linking CXX executable cmTC_12be3
383/opt/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_12be3.dir/link.txt --verbose=1
384/usr/bin/clang++ -pipe -Os -std=c++11 -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default  -Werror=unguarded-availability-new -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -mmacosx-version-min=13.0 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk  CMakeFiles/cmTC_12be3.dir/src.cxx.o -o cmTC_12be3  -lm
385
386
387Source file was:
388int main() { return 0; }
389