Ticket #62678: CMakeError.log

File CMakeError.log, 6.6 KB (added by thiagoveloso (Thiago V. dos Santos), 4 years ago)
Line 
1Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
2Compiler: /usr/bin/clang++
3Build flags: -pipe;-Os;-stdlib=libstdc++;-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
4Id flags: 
5
6The output was:
71
8clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
9clang: warning: libstdc++ is deprecated; move to libc++ [-Wdeprecated]
10ld: library not found for -lstdc++
11clang: error: linker command failed with exit code 1 (use -v to see invocation)
12
13
14Detecting CXX compiler ABI info failed to compile with the following output:
15Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_netcdf/netcdf/work/build/CMakeFiles/CMakeTmp
16
17Run Build Command(s):/usr/bin/make cmTC_32e45/fast && /Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/cmTC_32e45.dir/build.make CMakeFiles/cmTC_32e45.dir/build
18Building CXX object CMakeFiles/cmTC_32e45.dir/CMakeCXXCompilerABI.cpp.o
19/usr/bin/clang++   -pipe -Os -stdlib=libstdc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk  -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=11.0   -v -Wl,-v -o CMakeFiles/cmTC_32e45.dir/CMakeCXXCompilerABI.cpp.o -c /opt/local/share/cmake-3.19/Modules/CMakeCXXCompilerABI.cpp
20Apple clang version 12.0.0 (clang-1200.0.32.29)
21Target: x86_64-apple-darwin20.1.0
22Thread model: posix
23InstalledDir: /Library/Developer/CommandLineTools/usr/bin
24clang: warning: -Wl,-v: 'linker' input unused [-Wunused-command-line-argument]
25clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
26clang -cc1 version 12.0.0 (clang-1200.0.32.29) default target x86_64-apple-darwin20.1.0
27ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1"
28ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1/i686-apple-darwin10/x86_64"
29ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1/backward"
30ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.0.0"
31ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.0.0/i686-apple-darwin8"
32ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.0.0/backward"
33ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/local/include"
34ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/Library/Frameworks"
35#include "..." search starts here:
36#include <...> search starts here:
37 /opt/local/include
38 /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include
39 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include
40 /Library/Developer/CommandLineTools/usr/include
41 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks (framework directory)
42End of search list.
43Linking CXX executable cmTC_32e45
44/opt/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_32e45.dir/link.txt --verbose=1
45/usr/bin/clang++ -pipe -Os -stdlib=libstdc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk  -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=11.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/MacOSX.sdk -v -Wl,-v CMakeFiles/cmTC_32e45.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_32e45
46Apple clang version 12.0.0 (clang-1200.0.32.29)
47Target: x86_64-apple-darwin20.1.0
48Thread model: posix
49InstalledDir: /Library/Developer/CommandLineTools/usr/bin
50clang: warning: libstdc++ is deprecated; move to libc++ [-Wdeprecated]
51@(#)PROGRAM:ld  PROJECT:ld64-609.8
52BUILD 15:07:46 Dec 18 2020
53configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em
54Library search paths:
55        /opt/local/lib
56        /opt/local/lib
57        /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib
58        /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib
59        /usr/local/lib
60Framework search paths:
61        /Library/Frameworks/
62        /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/
63        /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/
64ld: library not found for -lstdc++
65clang: error: linker command failed with exit code 1 (use -v to see invocation)
66make[1]: *** [cmTC_32e45] Error 1
67make: *** [cmTC_32e45/fast] Error 2
68
69
70
71
72Determining if the CXX compiler works failed with the following output:
73Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_netcdf/netcdf/work/build/CMakeFiles/CMakeTmp
74
75Run Build Command(s):/usr/bin/make cmTC_726c5/fast && /Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/cmTC_726c5.dir/build.make CMakeFiles/cmTC_726c5.dir/build
76Building CXX object CMakeFiles/cmTC_726c5.dir/testCXXCompiler.cxx.o
77/usr/bin/clang++   -pipe -Os -stdlib=libstdc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk  -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=11.0 -o CMakeFiles/cmTC_726c5.dir/testCXXCompiler.cxx.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_netcdf/netcdf/work/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
78clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
79Linking CXX executable cmTC_726c5
80/opt/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_726c5.dir/link.txt --verbose=1
81/usr/bin/clang++ -pipe -Os -stdlib=libstdc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk  -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=11.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/MacOSX.sdk  CMakeFiles/cmTC_726c5.dir/testCXXCompiler.cxx.o -o cmTC_726c5
82clang: warning: libstdc++ is deprecated; move to libc++ [-Wdeprecated]
83ld: library not found for -lstdc++
84clang: error: linker command failed with exit code 1 (use -v to see invocation)
85make[1]: *** [cmTC_726c5] Error 1
86make: *** [cmTC_726c5/fast] Error 2
87
88
89