Ticket #68632: CMakeError.log

File CMakeError.log, 15.6 KB (added by SanthoshK-PSI (Santhosh), 7 months ago)

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_scotch/scotch/work/build/CMakeFiles/CMakeError.log

Line 
1Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
2Compiler: /opt/local/bin/clang++-mp-16
3Build flags: -pipe;-Os;-DNDEBUG;-I/opt/local/include;-stdlib=macports-libstdc++;-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk;-arch;arm64
4Id flags: 
5
6The output was:
71
8clang: error: invalid library name in argument '-stdlib=macports-libstdc++'
9
10
11Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
12Compiler: /opt/local/bin/clang++-mp-16
13Build flags: -pipe;-Os;-DNDEBUG;-I/opt/local/include;-stdlib=macports-libstdc++;-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk;-arch;arm64
14Id flags: -c
15
16The output was:
171
18clang: error: invalid library name in argument '-stdlib=macports-libstdc++'
19
20
21Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
22Compiler: /opt/local/bin/clang++-mp-16
23Build flags: -pipe;-Os;-DNDEBUG;-I/opt/local/include;-stdlib=macports-libstdc++;-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk;-arch;arm64
24Id flags: --c++
25
26The output was:
271
28clang: error: unsupported option '--c++'
29clang: error: invalid library name in argument '-stdlib=macports-libstdc++'
30
31
32Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
33Compiler: /opt/local/bin/clang++-mp-16
34Build flags: -pipe;-Os;-DNDEBUG;-I/opt/local/include;-stdlib=macports-libstdc++;-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk;-arch;arm64
35Id flags: --ec++
36
37The output was:
381
39clang: error: unsupported option '--ec++'
40clang: error: invalid library name in argument '-stdlib=macports-libstdc++'
41
42
43Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
44Compiler: /opt/local/bin/clang++-mp-16
45Build flags: -pipe;-Os;-DNDEBUG;-I/opt/local/include;-stdlib=macports-libstdc++;-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk;-arch;arm64
46Id flags: --target=arm-arm-none-eabi;-mcpu=cortex-m3
47
48The output was:
491
50clang: error: invalid library name in argument '-stdlib=macports-libstdc++'
51
52
53Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
54Compiler: /opt/local/bin/clang++-mp-16
55Build flags: -pipe;-Os;-DNDEBUG;-I/opt/local/include;-stdlib=macports-libstdc++;-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk;-arch;arm64
56Id flags: -c;-I__does_not_exist__
57
58The output was:
591
60clang: error: invalid library name in argument '-stdlib=macports-libstdc++'
61
62
63Detecting C compiler ABI info failed to compile with the following output:
64Change 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
65
66Run Build Command(s):/usr/bin/make -f Makefile cmTC_49a28/fast && /Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/cmTC_49a28.dir/build.make CMakeFiles/cmTC_49a28.dir/build
67Building C object CMakeFiles/cmTC_49a28.dir/CMakeCCompilerABI.c.o
68/opt/local/bin/mpicc-mpich-gcc12   -pipe -Os -DNDEBUG -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64  -arch arm64 -mmacosx-version-min=14.0   -v -Wl,-v -o CMakeFiles/cmTC_49a28.dir/CMakeCCompilerABI.c.o -c /opt/local/share/cmake-3.24/Modules/CMakeCCompilerABI.c
69mpicc for MPICH version 4.1.1
70Using built-in specs.
71COLLECT_GCC=/opt/local/bin/gcc-mp-12
72Target: arm64-apple-darwin23
73Configured with: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc12/gcc12/work/gcc-12.3.0/configure --prefix=/opt/local --build=arm64-apple-darwin23 --enable-languages=c,c++,objc,obj-c++,lto,fortran,jit --libdir=/opt/local/lib/gcc12 --includedir=/opt/local/include/gcc12 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --datarootdir=/opt/local/share/gcc-12 --with-local-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-mp-12 --with-gxx-include-dir=/opt/local/include/gcc12/c++/ --with-gmp=/opt/local --with-mpfr=/opt/local --with-mpc=/opt/local --with-isl=/opt/local --with-zstd=/opt/local --enable-checking=release --disable-multilib --enable-lto --enable-libstdcxx-time --with-build-config=bootstrap-debug --with-as=/opt/local/bin/as --with-ld=/opt/local/bin/ld-classic --with-ar=/opt/local/bin/ar --with-bugurl=https://trac.macports.org/newticket --enable-host-shared --with-darwin-extra-rpath=/opt/local/lib/libgcc --with-libiconv-prefix=/opt/local --disable-tls --with-gxx-libcxx-include-dir=/opt/local/libexec/gcc12/libc++/include/c++/v1 --with-pkgversion='MacPorts gcc12 12.3.0_3+stdlib_flag' --with-sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk
74Thread model: posix
75Supported LTO compression algorithms: zlib zstd
76gcc version 12.3.0 (MacPorts gcc12 12.3.0_3+stdlib_flag)
77COLLECT_GCC_OPTIONS='-pipe' '-Os' '-D' 'NDEBUG' '-I' '/opt/local/include' '-isysroot' '/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk' '-v' '-o' 'CMakeFiles/cmTC_49a28.dir/CMakeCCompilerABI.c.o' '-c' '-I' '/opt/local/include/mpich-gcc12' '-mmacosx-version-min=14.0'  '-nodefaultexport' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'CMakeFiles/cmTC_49a28.dir/'
78 /opt/local/libexec/gcc/arm64-apple-darwin23/12.3.0/cc1 -quiet -v -I /opt/local/include -I /opt/local/include/mpich-gcc12 -D__DYNAMIC__ -D NDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk /opt/local/share/cmake-3.24/Modules/CMakeCCompilerABI.c -fPIC -quiet -dumpdir CMakeFiles/cmTC_49a28.dir/ -dumpbase CMakeCCompilerABI.c.c -dumpbase-ext .c -mmacosx-version-min=14.0 -mlittle-endian -mabi=lp64 -Os -version -o - |
79 /opt/local/bin/as -arch arm64 -v -I /opt/local/include -I /opt/local/include/mpich-gcc12 -mmacosx-version-min=14.0 -o CMakeFiles/cmTC_49a28.dir/CMakeCCompilerABI.c.o
80GNU C17 (MacPorts gcc12 12.3.0_3+stdlib_flag) version 12.3.0 (arm64-apple-darwin23)
81        compiled by GNU C version 12.3.0, GMP version 6.2.1, MPFR version 4.2.1, MPC version 1.3.1, isl version isl-0.24-GMP
82
83GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
84ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/opt/local/include"
85ignoring nonexistent directory "/opt/local/lib/gcc12/gcc/arm64-apple-darwin23/12.3.0/../../../../../arm64-apple-darwin23/include"
86ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/Library/Frameworks"
87ignoring duplicate directory "/opt/local/include"
88#include "..." search starts here:
89#include <...> search starts here:
90 /opt/local/include
91 /opt/local/include/mpich-gcc12
92 /opt/local/lib/gcc12/gcc/arm64-apple-darwin23/12.3.0/include
93 /opt/local/lib/gcc12/gcc/arm64-apple-darwin23/12.3.0/include-fixed
94 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include
95 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/System/Library/Frameworks
96End of search list.
97GNU C17 (MacPorts gcc12 12.3.0_3+stdlib_flag) version 12.3.0 (arm64-apple-darwin23)
98        compiled by GNU C version 12.3.0, GMP version 6.2.1, MPFR version 4.2.1, MPC version 1.3.1, isl version isl-0.24-GMP
99
100GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
101Compiler executable checksum: 2e0438175ccc2436fb5904261843c55b
102Apple clang version 15.0.0 (clang-1500.0.40.1)
103Target: arm64-apple-darwin23.1.0
104Thread model: posix
105InstalledDir: /Library/Developer/CommandLineTools/usr/bin
106COMPILER_PATH=/opt/local/libexec/gcc/arm64-apple-darwin23/12.3.0/:/opt/local/libexec/gcc/arm64-apple-darwin23/12.3.0/:/opt/local/libexec/gcc/arm64-apple-darwin23/:/opt/local/lib/gcc12/gcc/arm64-apple-darwin23/12.3.0/:/opt/local/lib/gcc12/gcc/arm64-apple-darwin23/
107LIBRARY_PATH=/opt/local/lib/:/opt/local/lib/gcc12/gcc/arm64-apple-darwin23/12.3.0/:/opt/local/lib/gcc12/gcc/arm64-apple-darwin23/12.3.0/../../../
108COLLECT_GCC_OPTIONS='-pipe' '-Os' '-D' 'NDEBUG' '-I' '/opt/local/include' '-isysroot' '/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk' '-v' '-o' 'CMakeFiles/cmTC_49a28.dir/CMakeCCompilerABI.c.o' '-c' '-I' '/opt/local/include/mpich-gcc12' '-mmacosx-version-min=14.0'  '-nodefaultexport' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'CMakeFiles/cmTC_49a28.dir/CMakeCCompilerABI.c.'
109Linking C executable cmTC_49a28
110/opt/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_49a28.dir/link.txt --verbose=1
111/opt/local/bin/mpicc-mpich-gcc12 -pipe -Os -DNDEBUG -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64  -arch arm64 -mmacosx-version-min=14.0 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names -stdlib=libc++ -Wl,-rpath,/opt/local/lib/libgcc -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64 -v -Wl,-v CMakeFiles/cmTC_49a28.dir/CMakeCCompilerABI.c.o -o cmTC_49a28
112mpicc for MPICH version 4.1.1
113Using built-in specs.
114COLLECT_GCC=/opt/local/bin/gcc-mp-12
115COLLECT_LTO_WRAPPER=/opt/local/libexec/gcc/arm64-apple-darwin23/12.3.0/lto-wrapper
116Target: arm64-apple-darwin23
117Configured with: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc12/gcc12/work/gcc-12.3.0/configure --prefix=/opt/local --build=arm64-apple-darwin23 --enable-languages=c,c++,objc,obj-c++,lto,fortran,jit --libdir=/opt/local/lib/gcc12 --includedir=/opt/local/include/gcc12 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --datarootdir=/opt/local/share/gcc-12 --with-local-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-mp-12 --with-gxx-include-dir=/opt/local/include/gcc12/c++/ --with-gmp=/opt/local --with-mpfr=/opt/local --with-mpc=/opt/local --with-isl=/opt/local --with-zstd=/opt/local --enable-checking=release --disable-multilib --enable-lto --enable-libstdcxx-time --with-build-config=bootstrap-debug --with-as=/opt/local/bin/as --with-ld=/opt/local/bin/ld-classic --with-ar=/opt/local/bin/ar --with-bugurl=https://trac.macports.org/newticket --enable-host-shared --with-darwin-extra-rpath=/opt/local/lib/libgcc --with-libiconv-prefix=/opt/local --disable-tls --with-gxx-libcxx-include-dir=/opt/local/libexec/gcc12/libc++/include/c++/v1 --with-pkgversion='MacPorts gcc12 12.3.0_3+stdlib_flag' --with-sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk
118Thread model: posix
119Supported LTO compression algorithms: zlib zstd
120gcc version 12.3.0 (MacPorts gcc12 12.3.0_3+stdlib_flag)
121COMPILER_PATH=/opt/local/libexec/gcc/arm64-apple-darwin23/12.3.0/:/opt/local/libexec/gcc/arm64-apple-darwin23/12.3.0/:/opt/local/libexec/gcc/arm64-apple-darwin23/:/opt/local/lib/gcc12/gcc/arm64-apple-darwin23/12.3.0/:/opt/local/lib/gcc12/gcc/arm64-apple-darwin23/
122LIBRARY_PATH=/opt/local/lib/:/opt/local/lib/gcc12/gcc/arm64-apple-darwin23/12.3.0/:/opt/local/lib/gcc12/gcc/arm64-apple-darwin23/12.3.0/../../../
123COLLECT_GCC_OPTIONS='-pipe' '-Os' '-D' 'NDEBUG' '-I' '/opt/local/include' '-isysroot' '/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk' '-L/opt/local/lib' '-stdlib=libc++' '-v' '-o' 'cmTC_49a28' '-I' '/opt/local/include/mpich-gcc12' '-L/opt/local/lib/mpich-gcc12' '-mmacosx-version-min=14.0' '-asm_macosx_version_min=14.0' '-nodefaultexport' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'cmTC_49a28.'
124 /opt/local/libexec/gcc/arm64-apple-darwin23/12.3.0/collect2 -dynamic -arch arm64 -syslibroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -macosx_version_min 14.0 -o cmTC_49a28 -L/opt/local/lib -L/opt/local/lib/mpich-gcc12 -L/opt/local/lib -L/opt/local/lib/gcc12/gcc/arm64-apple-darwin23/12.3.0 -L/opt/local/lib/gcc12/gcc/arm64-apple-darwin23/12.3.0/../../.. -syslibroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -commons use_dylibs -search_paths_first -headerpad_max_install_names -headerpad_max_install_names -rpath /opt/local/lib/libgcc -syslibroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -v CMakeFiles/cmTC_49a28.dir/CMakeCCompilerABI.c.o -lmpi -lpmpi -lemutls_w -lgcc -lSystem -lgcc -no_compact_unwind -rpath /opt/local/lib/libgcc -rpath @loader_path -rpath /opt/local/lib -rpath /opt/local/lib/gcc12/gcc/arm64-apple-darwin23/12.3.0 -rpath /opt/local/lib/gcc12
125collect2 version 12.3.0
126/opt/local/bin/ld-classic -dynamic -arch arm64 -syslibroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -macosx_version_min 14.0 -o cmTC_49a28 -L/opt/local/lib -L/opt/local/lib/mpich-gcc12 -L/opt/local/lib -L/opt/local/lib/gcc12/gcc/arm64-apple-darwin23/12.3.0 -L/opt/local/lib/gcc12/gcc/arm64-apple-darwin23/12.3.0/../../.. -syslibroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -commons use_dylibs -search_paths_first -headerpad_max_install_names -headerpad_max_install_names -rpath /opt/local/lib/libgcc -syslibroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -v CMakeFiles/cmTC_49a28.dir/CMakeCCompilerABI.c.o -lmpi -lpmpi -lemutls_w -lgcc -lSystem -lgcc -no_compact_unwind -rpath /opt/local/lib/libgcc -rpath @loader_path -rpath /opt/local/lib -rpath /opt/local/lib/gcc12/gcc/arm64-apple-darwin23/12.3.0 -rpath /opt/local/lib/gcc12
127-macosx_version_min has been renamed to -macos_version_min
128ld: unknown options: -commons
129collect2: error: ld returned 1 exit status
130make[1]: *** [cmTC_49a28] Error 1
131make: *** [cmTC_49a28/fast] Error 2
132
133
134
135
136Detecting CXX compiler ABI info failed to compile with the following output:
137Change 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
138
139Run Build Command(s):/usr/bin/make -f Makefile cmTC_4584a/fast && /Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/cmTC_4584a.dir/build.make CMakeFiles/cmTC_4584a.dir/build
140Building CXX object CMakeFiles/cmTC_4584a.dir/CMakeCXXCompilerABI.cpp.o
141/opt/local/bin/clang++-mp-16   -pipe -Os -DNDEBUG -I/opt/local/include -stdlib=macports-libstdc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -mmacosx-version-min=14.0   -v -Wl,-v -MD -MT CMakeFiles/cmTC_4584a.dir/CMakeCXXCompilerABI.cpp.o -MF CMakeFiles/cmTC_4584a.dir/CMakeCXXCompilerABI.cpp.o.d -o CMakeFiles/cmTC_4584a.dir/CMakeCXXCompilerABI.cpp.o -c /opt/local/share/cmake-3.24/Modules/CMakeCXXCompilerABI.cpp
142clang version 16.0.6
143Target: arm64-apple-darwin23.1.0
144Thread model: posix
145InstalledDir: /opt/local/libexec/llvm-16/bin
146clang: warning: -Wl,-v: 'linker' input unused [-Wunused-command-line-argument]
147clang: error: invalid library name in argument '-stdlib=macports-libstdc++'
148make[1]: *** [CMakeFiles/cmTC_4584a.dir/CMakeCXXCompilerABI.cpp.o] Error 1
149make: *** [cmTC_4584a/fast] Error 2
150
151
152
153
154Determining if the CXX compiler works failed with the following output:
155Change 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
156
157Run Build Command(s):/usr/bin/make -f Makefile cmTC_b9720/fast && /Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/cmTC_b9720.dir/build.make CMakeFiles/cmTC_b9720.dir/build
158Building CXX object CMakeFiles/cmTC_b9720.dir/testCXXCompiler.cxx.o
159/opt/local/bin/clang++-mp-16   -pipe -Os -DNDEBUG -I/opt/local/include -stdlib=macports-libstdc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -mmacosx-version-min=14.0 -MD -MT CMakeFiles/cmTC_b9720.dir/testCXXCompiler.cxx.o -MF CMakeFiles/cmTC_b9720.dir/testCXXCompiler.cxx.o.d -o CMakeFiles/cmTC_b9720.dir/testCXXCompiler.cxx.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/testCXXCompiler.cxx
160clang: error: invalid library name in argument '-stdlib=macports-libstdc++'
161make[1]: *** [CMakeFiles/cmTC_b9720.dir/testCXXCompiler.cxx.o] Error 1
162make: *** [cmTC_b9720/fast] Error 2
163
164
165