Ticket #57043: CMakeError.log

File CMakeError.log, 3.5 KB (added by chrisjohgorman (Chris Gorman), 6 years ago)
Line 
1Determining if the function getline exists failed with the following output:
2Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_metis/metis/work/metis-5.1.0/CMakeFiles/CMakeTmp
3
4Run Build Command:"/opt/local/bin/gmake" "cmTC_d8684/fast"
5/opt/local/bin/gmake -f CMakeFiles/cmTC_d8684.dir/build.make CMakeFiles/cmTC_d8684.dir/build
6gmake[1]: Entering directory '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_metis/metis/work/metis-5.1.0/CMakeFiles/CMakeTmp'
7Building C object CMakeFiles/cmTC_d8684.dir/CheckFunctionExists.c.o
8/opt/local/bin/clang-mp-3.9   -pipe -Os -DCHECK_FUNCTION_EXISTS=getline -arch x86_64 -mmacosx-version-min=10.6   -o CMakeFiles/cmTC_d8684.dir/CheckFunctionExists.c.o   -c /opt/local/share/cmake-3.12/Modules/CheckFunctionExists.c
9Linking C executable cmTC_d8684
10/opt/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d8684.dir/link.txt --verbose=1
11/opt/local/bin/clang-mp-3.9 -pipe -Os -DCHECK_FUNCTION_EXISTS=getline -arch x86_64 -mmacosx-version-min=10.6 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names  CMakeFiles/cmTC_d8684.dir/CheckFunctionExists.c.o  -o cmTC_d8684
12Undefined symbols for architecture x86_64:
13  "_getline", referenced from:
14      _main in CheckFunctionExists.c.o
15ld: symbol(s) not found for architecture x86_64
16clang: error: linker command failed with exit code 1 (use -v to see invocation)
17gmake[1]: *** [CMakeFiles/cmTC_d8684.dir/build.make:87: cmTC_d8684] Error 1
18gmake[1]: Leaving directory '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_metis/metis/work/metis-5.1.0/CMakeFiles/CMakeTmp'
19gmake: *** [Makefile:121: cmTC_d8684/fast] Error 2
20
21
22Performing C SOURCE FILE Test HAVE__thread failed with the following compile output:
23Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_metis/metis/work/metis-5.1.0/CMakeFiles/CMakeTmp
24
25Run Build Command:"/opt/local/bin/gmake" "cmTC_2ec41/fast"
26/opt/local/bin/gmake -f CMakeFiles/cmTC_2ec41.dir/build.make CMakeFiles/cmTC_2ec41.dir/build
27gmake[1]: Entering directory '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_metis/metis/work/metis-5.1.0/CMakeFiles/CMakeTmp'
28Building C object CMakeFiles/cmTC_2ec41.dir/src.c.o
29/opt/local/bin/clang-mp-3.9   -pipe -Os -DHAVE__thread -arch x86_64 -mmacosx-version-min=10.6   -o CMakeFiles/cmTC_2ec41.dir/src.c.o   -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_metis/metis/work/metis-5.1.0/CMakeFiles/CMakeTmp/src.c
30/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_metis/metis/work/metis-5.1.0/CMakeFiles/CMakeTmp/src.c:1:1: error: thread-local storage is not supported for the current target
31__thread int x; int main() {x=0; return x;}
32^
331 error generated.
34gmake[1]: *** [CMakeFiles/cmTC_2ec41.dir/build.make:66: CMakeFiles/cmTC_2ec41.dir/src.c.o] Error 1
35gmake[1]: Leaving directory '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_metis/metis/work/metis-5.1.0/CMakeFiles/CMakeTmp'
36gmake: *** [Makefile:121: cmTC_2ec41/fast] Error 2
37
38...and run output:
39
40Return value: 1
41Source file was:
42__thread int x; int main() {x=0; return x;}