Ticket #68391: CMakeError.log

File CMakeError.log, 5.3 KB (added by davejkeith, 12 months ago)
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;-arch;x86_64
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_science_scotch/scotch/work/build/CMakeFiles/CMakeTmp
14
15Run Build Command(s):/usr/bin/make -f Makefile cmTC_e4839/fast && /Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/cmTC_e4839.dir/build.make CMakeFiles/cmTC_e4839.dir/build
16Building C object CMakeFiles/cmTC_e4839.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 x86_64  -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -mmacosx-version-min=14.0   -v -Wl,-v -MD -MT CMakeFiles/cmTC_e4839.dir/CMakeCCompilerABI.c.o -MF CMakeFiles/cmTC_e4839.dir/CMakeCCompilerABI.c.o.d -o CMakeFiles/cmTC_e4839.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: x86_64-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 x86_64-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_e4839
38/opt/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e4839.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 x86_64  -arch x86_64 -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 -arch x86_64 -v -Wl,-v CMakeFiles/cmTC_e4839.dir/CMakeCCompilerABI.c.o -o cmTC_e4839
40mpicc for MPICH version 4.1.1
41Apple clang version 15.0.0 (clang-1500.0.40.1)
42Target: x86_64-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_e4839] Error 1
48make: *** [cmTC_e4839/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_science_scotch/scotch/work/build/CMakeFiles/CMakeTmp
55
56Run Build Command(s):/usr/bin/make -f Makefile cmTC_4703b/fast && /Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/cmTC_4703b.dir/build.make CMakeFiles/cmTC_4703b.dir/build
57Building C object CMakeFiles/cmTC_4703b.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 x86_64  -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -mmacosx-version-min=14.0 -MD -MT CMakeFiles/cmTC_4703b.dir/testCCompiler.c.o -MF CMakeFiles/cmTC_4703b.dir/testCCompiler.c.o.d -o CMakeFiles/cmTC_4703b.dir/testCCompiler.c.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_scotch/scotch/work/build/CMakeFiles/CMakeTmp/testCCompiler.c
59Linking C executable cmTC_4703b
60/opt/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4703b.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 x86_64  -arch x86_64 -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 -arch x86_64  CMakeFiles/cmTC_4703b.dir/testCCompiler.c.o -o cmTC_4703b
62ld: unknown options: -commons
63clang: error: linker command failed with exit code 1 (use -v to see invocation)
64make[1]: *** [cmTC_4703b] Error 1
65make: *** [cmTC_4703b/fast] Error 2
66
67
68