Ticket #68294: CMakeError.log

File CMakeError.log, 5.2 KB (added by murrayE, 14 months ago)

CMakeError.log

Line 
1Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
2Compiler: /opt/local/bin/mpicc-mpich-mp
3Build flags: -pipe;-Os;-DNDEBUG;-I/opt/local/include;-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk
4Id flags: 
5
6The output was:
71
8ld: unknown options: -commons
9clang: error: linker command failed with exit code 1 (use -v to see invocation)
10
11
12Detecting C compiler ABI info failed to compile with the following output:
13Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_parmetis/parmetis/work/build/CMakeFiles/CMakeTmp
14
15Run Build Command(s):/usr/bin/make -f Makefile cmTC_300e9/fast && /Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/cmTC_300e9.dir/build.make CMakeFiles/cmTC_300e9.dir/build
16Building C object CMakeFiles/cmTC_300e9.dir/CMakeCCompilerABI.c.o
17/opt/local/bin/mpicc-mpich-mp   -pipe -Os -DNDEBUG -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -mmacosx-version-min=14.0   -v -Wl,-v -MD -MT CMakeFiles/cmTC_300e9.dir/CMakeCCompilerABI.c.o -MF CMakeFiles/cmTC_300e9.dir/CMakeCCompilerABI.c.o.d -o CMakeFiles/cmTC_300e9.dir/CMakeCCompilerABI.c.o -c /opt/local/share/cmake-3.24/Modules/CMakeCCompilerABI.c
18mpicc for MPICH version 4.1.1
19Apple clang version 15.0.0 (clang-1500.0.40.1)
20Target: arm64-apple-darwin23.0.0
21Thread model: posix
22InstalledDir: /Library/Developer/CommandLineTools/usr/bin
23clang: warning: -Wl,-v: 'linker' input unused [-Wunused-command-line-argument]
24clang -cc1 version 15.0.0 (clang-1500.0.40.1) default target arm64-apple-darwin23.0.0
25ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/local/include"
26ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/Library/Frameworks"
27ignoring duplicate directory "/opt/local/include"
28#include "..." search starts here:
29#include <...> search starts here:
30 /opt/local/include
31 /opt/local/include/mpich-mp
32 /Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include
33 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include
34 /Library/Developer/CommandLineTools/usr/include
35 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/System/Library/Frameworks (framework directory)
36End of search list.
37Linking C executable cmTC_300e9
38/opt/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_300e9.dir/link.txt --verbose=1
39/opt/local/bin/mpicc-mpich-mp -pipe -Os -DNDEBUG -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -mmacosx-version-min=14.0 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-rpath,/opt/local/lib/libgcc -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -v -Wl,-v CMakeFiles/cmTC_300e9.dir/CMakeCCompilerABI.c.o -o cmTC_300e9
40mpicc for MPICH version 4.1.1
41Apple clang version 15.0.0 (clang-1500.0.40.1)
42Target: arm64-apple-darwin23.0.0
43Thread model: posix
44InstalledDir: /Library/Developer/CommandLineTools/usr/bin
45ld: unknown options: -commons
46clang: error: linker command failed with exit code 1 (use -v to see invocation)
47make[1]: *** [cmTC_300e9] Error 1
48make: *** [cmTC_300e9/fast] Error 2
49
50
51
52
53Determining if the C compiler works failed with the following output:
54Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_parmetis/parmetis/work/build/CMakeFiles/CMakeTmp
55
56Run Build Command(s):/usr/bin/make -f Makefile cmTC_5bad5/fast && /Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/cmTC_5bad5.dir/build.make CMakeFiles/cmTC_5bad5.dir/build
57Building C object CMakeFiles/cmTC_5bad5.dir/testCCompiler.c.o
58/opt/local/bin/mpicc-mpich-mp   -pipe -Os -DNDEBUG -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -mmacosx-version-min=14.0 -MD -MT CMakeFiles/cmTC_5bad5.dir/testCCompiler.c.o -MF CMakeFiles/cmTC_5bad5.dir/testCCompiler.c.o.d -o CMakeFiles/cmTC_5bad5.dir/testCCompiler.c.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_parmetis/parmetis/work/build/CMakeFiles/CMakeTmp/testCCompiler.c
59Linking C executable cmTC_5bad5
60/opt/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5bad5.dir/link.txt --verbose=1
61/opt/local/bin/mpicc-mpich-mp -pipe -Os -DNDEBUG -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -mmacosx-version-min=14.0 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-rpath,/opt/local/lib/libgcc -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk  CMakeFiles/cmTC_5bad5.dir/testCCompiler.c.o -o cmTC_5bad5
62ld: unknown options: -commons
63clang: error: linker command failed with exit code 1 (use -v to see invocation)
64make[1]: *** [cmTC_5bad5] Error 1
65make: *** [cmTC_5bad5/fast] Error 2
66
67
68