Page MenuHomePhabricator
Paste P7975

libc++ with mingw-w64 gcc
ActivePublic

Authored by mati865 on Mar 17 2017, 3:01 PM.
Performing C++ SOURCE FILE Test LIBCXXABI_HAS_WMISMATCHED_TAGS_FLAG failed with the following output:
Change Dir: D:/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp
Run Build Command:"D:/msys64/usr/bin/make.exe" "cmTC_e95ed/fast"
/usr/bin/make -f CMakeFiles/cmTC_e95ed.dir/build.make CMakeFiles/cmTC_e95ed.dir/build
make[1]: Entering directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_e95ed.dir/src.cxx.obj
/D/msys64/mingw32/bin/g++.exe -D_GNU_SOURCE -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -Werror=date-time -std=gnu++11 -DLIBCXXABI_HAS_WMISMATCHED_TAGS_FLAG -Wmismatched-tags -o CMakeFiles/cmTC_e95ed.dir/src.cxx.obj -c /D/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp/src.cxx
g++.exe: error: unrecognized command line option '-Wmismatched-tags'
make[1]: *** [CMakeFiles/cmTC_e95ed.dir/build.make:66: CMakeFiles/cmTC_e95ed.dir/src.cxx.obj] Error 1
make[1]: Leaving directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
make: *** [Makefile:126: cmTC_e95ed/fast] Error 2
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test LIBCXXABI_HAS_WSHORTEN_64_TO_32_FLAG failed with the following output:
Change Dir: D:/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp
Run Build Command:"D:/msys64/usr/bin/make.exe" "cmTC_1ac87/fast"
/usr/bin/make -f CMakeFiles/cmTC_1ac87.dir/build.make CMakeFiles/cmTC_1ac87.dir/build
make[1]: Entering directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_1ac87.dir/src.cxx.obj
/D/msys64/mingw32/bin/g++.exe -D_GNU_SOURCE -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -Werror=date-time -std=gnu++11 -DLIBCXXABI_HAS_WSHORTEN_64_TO_32_FLAG -Wshorten-64-to-32 -o CMakeFiles/cmTC_1ac87.dir/src.cxx.obj -c /D/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp/src.cxx
g++.exe: error: unrecognized command line option '-Wshorten-64-to-32'
make[1]: *** [CMakeFiles/cmTC_1ac87.dir/build.make:66: CMakeFiles/cmTC_1ac87.dir/src.cxx.obj] Error 1
make[1]: Leaving directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
make: *** [Makefile:126: cmTC_1ac87/fast] Error 2
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test LIBCXXABI_HAS_WNEWLINE_EOF_FLAG failed with the following output:
Change Dir: D:/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp
Run Build Command:"D:/msys64/usr/bin/make.exe" "cmTC_8102f/fast"
/usr/bin/make -f CMakeFiles/cmTC_8102f.dir/build.make CMakeFiles/cmTC_8102f.dir/build
make[1]: Entering directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_8102f.dir/src.cxx.obj
/D/msys64/mingw32/bin/g++.exe -D_GNU_SOURCE -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -Werror=date-time -std=gnu++11 -DLIBCXXABI_HAS_WNEWLINE_EOF_FLAG -Wnewline-eof -o CMakeFiles/cmTC_8102f.dir/src.cxx.obj -c /D/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp/src.cxx
g++.exe: error: unrecognized command line option '-Wnewline-eof'
make[1]: *** [CMakeFiles/cmTC_8102f.dir/build.make:66: CMakeFiles/cmTC_8102f.dir/src.cxx.obj] Error 1
make[1]: Leaving directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
make: *** [Makefile:126: cmTC_8102f/fast] Error 2
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test LIBCXXABI_HAS_WX_FLAG failed with the following output:
Change Dir: D:/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp
Run Build Command:"D:/msys64/usr/bin/make.exe" "cmTC_fdde9/fast"
/usr/bin/make -f CMakeFiles/cmTC_fdde9.dir/build.make CMakeFiles/cmTC_fdde9.dir/build
make[1]: Entering directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_fdde9.dir/src.cxx.obj
/D/msys64/mingw32/bin/g++.exe -D_GNU_SOURCE -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -Werror=date-time -std=gnu++11 -DLIBCXXABI_HAS_WX_FLAG /WX -o CMakeFiles/cmTC_fdde9.dir/src.cxx.obj -c /D/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp/src.cxx
g++.exe: error: D:/msys64/WX: No such file or directory
make[1]: *** [CMakeFiles/cmTC_fdde9.dir/build.make:66: CMakeFiles/cmTC_fdde9.dir/src.cxx.obj] Error 1
make[1]: Leaving directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
make: *** [Makefile:126: cmTC_fdde9/fast] Error 2
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test LIBCXXABI_HAS_NO_WX_FLAG failed with the following output:
Change Dir: D:/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp
Run Build Command:"D:/msys64/usr/bin/make.exe" "cmTC_a0c5b/fast"
/usr/bin/make -f CMakeFiles/cmTC_a0c5b.dir/build.make CMakeFiles/cmTC_a0c5b.dir/build
make[1]: Entering directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_a0c5b.dir/src.cxx.obj
/D/msys64/mingw32/bin/g++.exe -D_GNU_SOURCE -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -Werror=date-time -std=gnu++11 -DLIBCXXABI_HAS_NO_WX_FLAG /WX- -o CMakeFiles/cmTC_a0c5b.dir/src.cxx.obj -c /D/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp/src.cxx
g++.exe: error: D:/msys64/WX-: No such file or directory
make[1]: *** [CMakeFiles/cmTC_a0c5b.dir/build.make:66: CMakeFiles/cmTC_a0c5b.dir/src.cxx.obj] Error 1
make[1]: Leaving directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
make: *** [Makefile:126: cmTC_a0c5b/fast] Error 2
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test LIBCXXABI_HAS_EHSC_FLAG failed with the following output:
Change Dir: D:/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp
Run Build Command:"D:/msys64/usr/bin/make.exe" "cmTC_8016b/fast"
/usr/bin/make -f CMakeFiles/cmTC_8016b.dir/build.make CMakeFiles/cmTC_8016b.dir/build
make[1]: Entering directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_8016b.dir/src.cxx.obj
/D/msys64/mingw32/bin/g++.exe -D_GNU_SOURCE -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -Werror=date-time -std=gnu++11 -DLIBCXXABI_HAS_EHSC_FLAG /EHsc -o CMakeFiles/cmTC_8016b.dir/src.cxx.obj -c /D/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp/src.cxx
g++.exe: error: D:/msys64/EHsc: No such file or directory
make[1]: *** [CMakeFiles/cmTC_8016b.dir/build.make:66: CMakeFiles/cmTC_8016b.dir/src.cxx.obj] Error 1
make[1]: Leaving directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
make: *** [Makefile:126: cmTC_8016b/fast] Error 2
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test LIBCXXABI_HAS_NO_EHS_FLAG failed with the following output:
Change Dir: D:/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp
Run Build Command:"D:/msys64/usr/bin/make.exe" "cmTC_1d57d/fast"
/usr/bin/make -f CMakeFiles/cmTC_1d57d.dir/build.make CMakeFiles/cmTC_1d57d.dir/build
make[1]: Entering directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_1d57d.dir/src.cxx.obj
/D/msys64/mingw32/bin/g++.exe -D_GNU_SOURCE -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -Werror=date-time -std=gnu++11 -DLIBCXXABI_HAS_NO_EHS_FLAG /EHs- -o CMakeFiles/cmTC_1d57d.dir/src.cxx.obj -c /D/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp/src.cxx
g++.exe: error: D:/msys64/EHs-: No such file or directory
make[1]: *** [CMakeFiles/cmTC_1d57d.dir/build.make:66: CMakeFiles/cmTC_1d57d.dir/src.cxx.obj] Error 1
make[1]: Leaving directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
make: *** [Makefile:126: cmTC_1d57d/fast] Error 2
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test LIBCXXABI_HAS_NO_EHA_FLAG failed with the following output:
Change Dir: D:/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp
Run Build Command:"D:/msys64/usr/bin/make.exe" "cmTC_226e6/fast"
/usr/bin/make -f CMakeFiles/cmTC_226e6.dir/build.make CMakeFiles/cmTC_226e6.dir/build
make[1]: Entering directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_226e6.dir/src.cxx.obj
/D/msys64/mingw32/bin/g++.exe -D_GNU_SOURCE -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -Werror=date-time -std=gnu++11 -DLIBCXXABI_HAS_NO_EHA_FLAG /EHa- -o CMakeFiles/cmTC_226e6.dir/src.cxx.obj -c /D/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp/src.cxx
g++.exe: error: D:/msys64/EHa-: No such file or directory
make[1]: *** [CMakeFiles/cmTC_226e6.dir/build.make:66: CMakeFiles/cmTC_226e6.dir/src.cxx.obj] Error 1
make[1]: Leaving directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
make: *** [Makefile:126: cmTC_226e6/fast] Error 2
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test LIBCXXABI_HAS_NO_GR_FLAG failed with the following output:
Change Dir: D:/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp
Run Build Command:"D:/msys64/usr/bin/make.exe" "cmTC_da9aa/fast"
/usr/bin/make -f CMakeFiles/cmTC_da9aa.dir/build.make CMakeFiles/cmTC_da9aa.dir/build
make[1]: Entering directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_da9aa.dir/src.cxx.obj
/D/msys64/mingw32/bin/g++.exe -D_GNU_SOURCE -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -Werror=date-time -std=gnu++11 -DLIBCXXABI_HAS_NO_GR_FLAG /GR- -o CMakeFiles/cmTC_da9aa.dir/src.cxx.obj -c /D/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp/src.cxx
g++.exe: error: D:/msys64/GR-: No such file or directory
make[1]: *** [CMakeFiles/cmTC_da9aa.dir/build.make:66: CMakeFiles/cmTC_da9aa.dir/src.cxx.obj] Error 1
make[1]: Leaving directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
make: *** [Makefile:126: cmTC_da9aa/fast] Error 2
Source file was:
int main() { return 0; }
Determining if the function fopen exists in the c failed with the following output:
Change Dir: D:/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp
Run Build Command:"D:/msys64/usr/bin/make.exe" "cmTC_4bd0d/fast"
/usr/bin/make -f CMakeFiles/cmTC_4bd0d.dir/build.make CMakeFiles/cmTC_4bd0d.dir/build
make[1]: Wejście do katalogu '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_4bd0d.dir/CheckFunctionExists.c.obj
/D/msys64/mingw32/bin/gcc.exe -march=i686 -mtune=generic -O2 -pipe -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -Werror=date-time -DCHECK_FUNCTION_EXISTS=fopen -o CMakeFiles/cmTC_4bd0d.dir/CheckFunctionExists.c.obj -c /D/msys64/mingw32/share/cmake-3.7/Modules/CheckFunctionExists.c
Linking C executable cmTC_4bd0d.exe
/D/msys64/mingw32/bin/cmake.exe -E remove -f CMakeFiles/cmTC_4bd0d.dir/objects.a
/D/msys64/mingw32/bin/ar.exe cr CMakeFiles/cmTC_4bd0d.dir/objects.a "CMakeFiles/cmTC_4bd0d.dir/CheckFunctionExists.c.obj"
/D/msys64/mingw32/bin/gcc.exe -march=i686 -mtune=generic -O2 -pipe -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -Werror=date-time -DCHECK_FUNCTION_EXISTS=fopen -pipe -Wl,--stack,16777216 -Wl,--whole-archive CMakeFiles/cmTC_4bd0d.dir/objects.a -Wl,--no-whole-archive -o cmTC_4bd0d.exe -Wl,--major-image-version,0,--minor-image-version,0 -lc -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lc
collect2.exe: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_4bd0d.dir/build.make:99: cmTC_4bd0d.exe] Błąd 1
make[1]: Opuszczenie katalogu '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
make: *** [Makefile:126: cmTC_4bd0d/fast] Błąd 2
Determining if the function dladdr exists in the dl failed with the following output:
Change Dir: D:/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp
Run Build Command:"D:/msys64/usr/bin/make.exe" "cmTC_7771c/fast"
/usr/bin/make -f CMakeFiles/cmTC_7771c.dir/build.make CMakeFiles/cmTC_7771c.dir/build
make[1]: Wejście do katalogu '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_7771c.dir/CheckFunctionExists.c.obj
/D/msys64/mingw32/bin/gcc.exe -march=i686 -mtune=generic -O2 -pipe -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -Werror=date-time -DCHECK_FUNCTION_EXISTS=dladdr -o CMakeFiles/cmTC_7771c.dir/CheckFunctionExists.c.obj -c /D/msys64/mingw32/share/cmake-3.7/Modules/CheckFunctionExists.c
Linking C executable cmTC_7771c.exe
/D/msys64/mingw32/bin/cmake.exe -E remove -f CMakeFiles/cmTC_7771c.dir/objects.a
/D/msys64/mingw32/bin/ar.exe cr CMakeFiles/cmTC_7771c.dir/objects.a "CMakeFiles/cmTC_7771c.dir/CheckFunctionExists.c.obj"
/D/msys64/mingw32/bin/gcc.exe -march=i686 -mtune=generic -O2 -pipe -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -Werror=date-time -DCHECK_FUNCTION_EXISTS=dladdr -pipe -Wl,--stack,16777216 -Wl,--whole-archive CMakeFiles/cmTC_7771c.dir/objects.a -Wl,--no-whole-archive -o cmTC_7771c.exe -Wl,--major-image-version,0,--minor-image-version,0 -ldl -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -ldl
collect2.exe: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_7771c.dir/build.make:99: cmTC_7771c.exe] Błąd 1
make[1]: Opuszczenie katalogu '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
make: *** [Makefile:126: cmTC_7771c/fast] Błąd 2
Determining if the function __cxa_thread_atexit_impl exists in the c failed with the following output:
Change Dir: D:/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp
Run Build Command:"D:/msys64/usr/bin/make.exe" "cmTC_7249c/fast"
/usr/bin/make -f CMakeFiles/cmTC_7249c.dir/build.make CMakeFiles/cmTC_7249c.dir/build
make[1]: Wejście do katalogu '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_7249c.dir/CheckFunctionExists.c.obj
/D/msys64/mingw32/bin/gcc.exe -march=i686 -mtune=generic -O2 -pipe -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -Werror=date-time -DCHECK_FUNCTION_EXISTS=__cxa_thread_atexit_impl -o CMakeFiles/cmTC_7249c.dir/CheckFunctionExists.c.obj -c /D/msys64/mingw32/share/cmake-3.7/Modules/CheckFunctionExists.c
Linking C executable cmTC_7249c.exe
/D/msys64/mingw32/bin/cmake.exe -E remove -f CMakeFiles/cmTC_7249c.dir/objects.a
/D/msys64/mingw32/bin/ar.exe cr CMakeFiles/cmTC_7249c.dir/objects.a "CMakeFiles/cmTC_7249c.dir/CheckFunctionExists.c.obj"
/D/msys64/mingw32/bin/gcc.exe -march=i686 -mtune=generic -O2 -pipe -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -Werror=date-time -DCHECK_FUNCTION_EXISTS=__cxa_thread_atexit_impl -pipe -Wl,--stack,16777216 -Wl,--whole-archive CMakeFiles/cmTC_7249c.dir/objects.a -Wl,--no-whole-archive -o cmTC_7249c.exe -Wl,--major-image-version,0,--minor-image-version,0 -lc -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lc
collect2.exe: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_7249c.dir/build.make:99: cmTC_7249c.exe] Błąd 1
make[1]: Opuszczenie katalogu '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
make: *** [Makefile:126: cmTC_7249c/fast] Błąd 2
Determining if the function fopen exists in the c failed with the following output:
Change Dir: D:/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp
Run Build Command:"D:/msys64/usr/bin/make.exe" "cmTC_a1618/fast"
/usr/bin/make -f CMakeFiles/cmTC_a1618.dir/build.make CMakeFiles/cmTC_a1618.dir/build
make[1]: Wejście do katalogu '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_a1618.dir/CheckFunctionExists.c.obj
/D/msys64/mingw32/bin/gcc.exe -march=i686 -mtune=generic -O2 -pipe -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -Werror=date-time -DCHECK_FUNCTION_EXISTS=fopen -o CMakeFiles/cmTC_a1618.dir/CheckFunctionExists.c.obj -c /D/msys64/mingw32/share/cmake-3.7/Modules/CheckFunctionExists.c
Linking C executable cmTC_a1618.exe
/D/msys64/mingw32/bin/cmake.exe -E remove -f CMakeFiles/cmTC_a1618.dir/objects.a
/D/msys64/mingw32/bin/ar.exe cr CMakeFiles/cmTC_a1618.dir/objects.a "CMakeFiles/cmTC_a1618.dir/CheckFunctionExists.c.obj"
/D/msys64/mingw32/bin/gcc.exe -march=i686 -mtune=generic -O2 -pipe -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -Werror=date-time -DCHECK_FUNCTION_EXISTS=fopen -pipe -Wl,--stack,16777216 -Wl,--whole-archive CMakeFiles/cmTC_a1618.dir/objects.a -Wl,--no-whole-archive -o cmTC_a1618.exe -Wl,--major-image-version,0,--minor-image-version,0 -lc -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lc
collect2.exe: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_a1618.dir/build.make:99: cmTC_a1618.exe] Błąd 1
make[1]: Opuszczenie katalogu '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
make: *** [Makefile:126: cmTC_a1618/fast] Błąd 2
Performing C++ SOURCE FILE Test LIBCXX_HAVE_CXX_ATOMICS_WITHOUT_LIB failed with the following output:
Change Dir: D:/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp
Run Build Command:"D:/msys64/usr/bin/make.exe" "cmTC_c80c7/fast"
/usr/bin/make -f CMakeFiles/cmTC_c80c7.dir/build.make CMakeFiles/cmTC_c80c7.dir/build
make[1]: Wejście do katalogu '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_c80c7.dir/src.cxx.obj
/D/msys64/mingw32/bin/g++.exe -D_GNU_SOURCE -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -Werror=date-time -std=gnu++11 -DLIBCXX_HAVE_CXX_ATOMICS_WITHOUT_LIB -nodefaultlibs -std=c++11 -nostdinc++ -isystem D:/projekty/msys2/MINGW-packages/mingw-w64-clang/src/llvm-4.0.0.src/projects/libcxx/include -o CMakeFiles/cmTC_c80c7.dir/src.cxx.obj -c /D/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp/src.cxx
Linking CXX executable cmTC_c80c7.exe
/D/msys64/mingw32/bin/cmake.exe -E remove -f CMakeFiles/cmTC_c80c7.dir/objects.a
/D/msys64/mingw32/bin/ar.exe cr CMakeFiles/cmTC_c80c7.dir/objects.a "CMakeFiles/cmTC_c80c7.dir/src.cxx.obj"
/D/msys64/mingw32/bin/g++.exe -D_GNU_SOURCE -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -Werror=date-time -std=gnu++11 -DLIBCXX_HAVE_CXX_ATOMICS_WITHOUT_LIB -nodefaultlibs -std=c++11 -nostdinc++ -isystem D:/projekty/msys2/MINGW-packages/mingw-w64-clang/src/llvm-4.0.0.src/projects/libcxx/include -pipe -Wl,--stack,16777216 -Wl,--whole-archive CMakeFiles/cmTC_c80c7.dir/objects.a -Wl,--no-whole-archive -o cmTC_c80c7.exe -Wl,--major-image-version,0,--minor-image-version,0 -lgcc_s -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `check_managed_app':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:359: undefined reference to `mingw_initltsdrot_force'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:360: undefined reference to `mingw_initltsdyn_force'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:361: undefined reference to `mingw_initltssuo_force'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:362: undefined reference to `mingw_initcharmax'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `pre_c_init':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:129: undefined reference to `mingw_app_type'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:130: undefined reference to `__set_app_type'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:133: undefined reference to `_encode_pointer'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:135: undefined reference to `_fmode'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:133: undefined reference to `__onexitend'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:133: undefined reference to `__onexitbegin'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:135: undefined reference to `_imp___fmode'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:141: undefined reference to `_setargv'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:143: undefined reference to `_MINGW_INSTALL_DEBUG_MATHERR'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:132: undefined reference to `__set_app_type'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:145: undefined reference to `_matherr'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:145: undefined reference to `__mingw_setusermatherr'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `pre_cpp_init':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:157: undefined reference to `_newmode'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:162: undefined reference to `_dowildcard'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:162: undefined reference to `__getmainargs'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `_tmainCRTStartup':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:233: undefined reference to `__chkstk_ms'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:240: undefined reference to `mingw_app_type'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `InterlockedCompareExchange':
C:/building/msys64/mingw32/i686-w64-mingw32/include/psdk_inc/intrin-impl.h:1188: undefined reference to `__native_startup_lock'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `_tmainCRTStartup':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:256: undefined reference to `__native_startup_state'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:260: undefined reference to `__native_startup_state'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:268: undefined reference to `__native_startup_state'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:277: undefined reference to `__dyn_tls_init_callback'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:280: undefined reference to `_pei386_runtime_relocator'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:281: undefined reference to `_gnu_exception_handler@4'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:281: undefined reference to `__mingw_oldexcpt_handler'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:285: undefined reference to `_set_invalid_parameter_handler'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:287: undefined reference to `_fpreset'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:294: undefined reference to `_imp___acmdln'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:318: undefined reference to `mingw_app_type'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `duplicate_ppstrings':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:418: undefined reference to `malloc'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:423: undefined reference to `strlen'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:424: undefined reference to `malloc'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:425: undefined reference to `memcpy'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `_tmainCRTStartup':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:324: undefined reference to `__main'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:332: undefined reference to `_imp____initenv'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:340: undefined reference to `_cexit'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:256: undefined reference to `__native_startup_state'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:258: undefined reference to `_amsg_exit'
make[1]: Opuszczenie katalogu '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:268: undefined reference to `__native_startup_state'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:270: undefined reference to `__xc_z'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:270: undefined reference to `__xc_a'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:270: undefined reference to `_initterm'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:271: undefined reference to `__native_startup_state'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `InterlockedExchange':
C:/building/msys64/mingw32/i686-w64-mingw32/include/psdk_inc/intrin-impl.h:1243: undefined reference to `__native_startup_lock'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `_tmainCRTStartup':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:262: undefined reference to `__native_startup_state'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:263: undefined reference to `__xi_z'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:263: undefined reference to `__xi_a'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:263: undefined reference to `_initterm'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:337: undefined reference to `exit'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `WinMainCRTStartup':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:182: undefined reference to `mingw_app_type'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:183: undefined reference to `__security_init_cookie'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `mainCRTStartup':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:210: undefined reference to `mingw_app_type'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:211: undefined reference to `__security_init_cookie'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/crtbegin.o:cygming-crtbegin.c:(.text+0xcb): undefined reference to `atexit'
CMakeFiles/cmTC_c80c7.dir/objects.a(src.cxx.obj):src.cxx:(.text+0x56): undefined reference to `__main'
collect2.exe: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_c80c7.dir/build.make:99: cmTC_c80c7.exe] Błąd 1
make: *** [Makefile:126: cmTC_c80c7/fast] Błąd 2
Source file was:
#include <cstdint>
#include <atomic>
std::atomic<uintptr_t> x;
std::atomic<uintmax_t> y;
int main() {
return x + y;
}
Determining if the function __atomic_fetch_add_8 exists in the atomic failed with the following output:
Change Dir: D:/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp
Run Build Command:"D:/msys64/usr/bin/make.exe" "cmTC_6d9a5/fast"
/usr/bin/make -f CMakeFiles/cmTC_6d9a5.dir/build.make CMakeFiles/cmTC_6d9a5.dir/build
make[1]: Wejście do katalogu '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_6d9a5.dir/CheckFunctionExists.c.obj
/D/msys64/mingw32/bin/gcc.exe -march=i686 -mtune=generic -O2 -pipe -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -Werror=date-time -DCHECK_FUNCTION_EXISTS=__atomic_fetch_add_8 -nodefaultlibs -o CMakeFiles/cmTC_6d9a5.dir/CheckFunctionExists.c.obj -c /D/msys64/mingw32/share/cmake-3.7/Modules/CheckFunctionExists.c
<command-line>:0:23: warning: conflicting types for built-in function '__atomic_fetch_add_8'
D:/msys64/mingw32/share/cmake-3.7/Modules/CheckFunctionExists.c:7:3: note: in expansion of macro 'CHECK_FUNCTION_EXISTS'
CHECK_FUNCTION_EXISTS();
^~~~~~~~~~~~~~~~~~~~~
Linking C executable cmTC_6d9a5.exe
/D/msys64/mingw32/bin/cmake.exe -E remove -f CMakeFiles/cmTC_6d9a5.dir/objects.a
/D/msys64/mingw32/bin/ar.exe cr CMakeFiles/cmTC_6d9a5.dir/objects.a "CMakeFiles/cmTC_6d9a5.dir/CheckFunctionExists.c.obj"
/D/msys64/mingw32/bin/gcc.exe -march=i686 -mtune=generic -O2 -pipe -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -Werror=date-time -DCHECK_FUNCTION_EXISTS=__atomic_fetch_add_8 -nodefaultlibs -pipe -Wl,--stack,16777216 -Wl,--whole-archive CMakeFiles/cmTC_6d9a5.dir/objects.a -Wl,--no-whole-archive -o cmTC_6d9a5.exe -Wl,--major-image-version,0,--minor-image-version,0 -latomic -lgcc_s -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `check_managed_app':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:359: undefined reference to `mingw_initltsdrot_force'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:360: undefined reference to `mingw_initltsdyn_force'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:361: undefined reference to `mingw_initltssuo_force'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:362: undefined reference to `mingw_initcharmax'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `pre_c_init':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:129: undefined reference to `mingw_app_type'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:130: undefined reference to `__set_app_type'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:133: undefined reference to `_encode_pointer'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:135: undefined reference to `_fmode'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:133: undefined reference to `__onexitend'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:133: undefined reference to `__onexitbegin'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:135: undefined reference to `_imp___fmode'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:141: undefined reference to `_setargv'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:143: undefined reference to `_MINGW_INSTALL_DEBUG_MATHERR'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:132: undefined reference to `__set_app_type'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:145: undefined reference to `_matherr'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:145: undefined reference to `__mingw_setusermatherr'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `pre_cpp_init':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:157: undefined reference to `_newmode'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:162: undefined reference to `_dowildcard'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:162: undefined reference to `__getmainargs'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `_tmainCRTStartup':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:233: undefined reference to `__chkstk_ms'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:240: undefined reference to `mingw_app_type'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `InterlockedCompareExchange':
C:/building/msys64/mingw32/i686-w64-mingw32/include/psdk_inc/intrin-impl.h:1188: undefined reference to `__native_startup_lock'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `_tmainCRTStartup':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:256: undefined reference to `__native_startup_state'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:260: undefined reference to `__native_startup_state'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:268: undefined reference to `__native_startup_state'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:277: undefined reference to `__dyn_tls_init_callback'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:280: undefined reference to `_pei386_runtime_relocator'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:281: undefined reference to `_gnu_exception_handler@4'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:281: undefined reference to `__mingw_oldexcpt_handler'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:285: undefined reference to `_set_invalid_parameter_handler'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:287: undefined reference to `_fpreset'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:294: undefined reference to `_imp___acmdln'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:318: undefined reference to `mingw_app_type'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `duplicate_ppstrings':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:418: undefined reference to `malloc'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:423: undefined reference to `strlen'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:424: undefined reference to `malloc'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:425: undefined reference to `memcpy'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `_tmainCRTStartup':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:324: undefined reference to `__main'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:332: undefined reference to `_imp____initenv'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:340: undefined reference to `_cexit'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:256: undefined reference to `__native_startup_state'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:258: undefined reference to `_amsg_exit'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:268: undefined reference to `__native_startup_state'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:270: undefined reference to `__xc_z'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:270: undefined reference to `__xc_a'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:270: undefined reference to `_initterm'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:271: undefined reference to `__native_startup_state'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `InterlockedExchange':
C:/building/msys64/mingw32/i686-w64-mingw32/include/psdk_inc/intrin-impl.h:1243: undefined reference to `__native_startup_lock'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `_tmainCRTStartup':
make[1]: Opuszczenie katalogu '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:262: undefined reference to `__native_startup_state'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:263: undefined reference to `__xi_z'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:263: undefined reference to `__xi_a'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:263: undefined reference to `_initterm'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:337: undefined reference to `exit'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `WinMainCRTStartup':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:182: undefined reference to `mingw_app_type'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:183: undefined reference to `__security_init_cookie'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `mainCRTStartup':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:210: undefined reference to `mingw_app_type'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:211: undefined reference to `__security_init_cookie'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/crtbegin.o:cygming-crtbegin.c:(.text+0xcb): undefined reference to `atexit'
CMakeFiles/cmTC_6d9a5.dir/objects.a(CheckFunctionExists.c.obj):CheckFunctionExists.c:(.text.startup+0x7): undefined reference to `__main'
collect2.exe: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_6d9a5.dir/build.make:99: cmTC_6d9a5.exe] Błąd 1
make: *** [Makefile:126: cmTC_6d9a5/fast] Błąd 2
Performing C++ SOURCE FILE Test LIBCXX_HAS_WX_FLAG failed with the following output:
Change Dir: D:/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp
Run Build Command:"D:/msys64/usr/bin/make.exe" "cmTC_4cf12/fast"
/usr/bin/make -f CMakeFiles/cmTC_4cf12.dir/build.make CMakeFiles/cmTC_4cf12.dir/build
make[1]: Entering directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_4cf12.dir/src.cxx.obj
/D/msys64/mingw32/bin/g++.exe -D_GNU_SOURCE -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -Werror=date-time -std=gnu++11 -DLIBCXX_HAS_WX_FLAG -nodefaultlibs /WX -o CMakeFiles/cmTC_4cf12.dir/src.cxx.obj -c /D/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp/src.cxx
g++.exe: error: D:/msys64/WX: No such file or directory
make[1]: *** [CMakeFiles/cmTC_4cf12.dir/build.make:66: CMakeFiles/cmTC_4cf12.dir/src.cxx.obj] Error 1
make[1]: Leaving directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
make: *** [Makefile:126: cmTC_4cf12/fast] Error 2
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test LIBCXX_HAS_NO_WX_FLAG failed with the following output:
Change Dir: D:/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp
Run Build Command:"D:/msys64/usr/bin/make.exe" "cmTC_a1fcd/fast"
/usr/bin/make -f CMakeFiles/cmTC_a1fcd.dir/build.make CMakeFiles/cmTC_a1fcd.dir/build
make[1]: Entering directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_a1fcd.dir/src.cxx.obj
/D/msys64/mingw32/bin/g++.exe -D_GNU_SOURCE -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -Werror=date-time -std=gnu++11 -DLIBCXX_HAS_NO_WX_FLAG -nodefaultlibs /WX- -o CMakeFiles/cmTC_a1fcd.dir/src.cxx.obj -c /D/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp/src.cxx
g++.exe: error: D:/msys64/WX-: No such file or directory
make[1]: *** [CMakeFiles/cmTC_a1fcd.dir/build.make:66: CMakeFiles/cmTC_a1fcd.dir/src.cxx.obj] Error 1
make[1]: Leaving directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
make: *** [Makefile:126: cmTC_a1fcd/fast] Error 2
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test LIBCXX_HAS_EHSC_FLAG failed with the following output:
Change Dir: D:/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp
Run Build Command:"D:/msys64/usr/bin/make.exe" "cmTC_4cca4/fast"
/usr/bin/make -f CMakeFiles/cmTC_4cca4.dir/build.make CMakeFiles/cmTC_4cca4.dir/build
make[1]: Entering directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_4cca4.dir/src.cxx.obj
/D/msys64/mingw32/bin/g++.exe -D_GNU_SOURCE -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -Werror=date-time -std=gnu++11 -DLIBCXX_HAS_EHSC_FLAG -nodefaultlibs /EHsc -o CMakeFiles/cmTC_4cca4.dir/src.cxx.obj -c /D/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp/src.cxx
g++.exe: error: D:/msys64/EHsc: No such file or directory
make[1]: *** [CMakeFiles/cmTC_4cca4.dir/build.make:66: CMakeFiles/cmTC_4cca4.dir/src.cxx.obj] Error 1
make[1]: Leaving directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
make: *** [Makefile:126: cmTC_4cca4/fast] Error 2
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test LIBCXX_HAS_NO_EHS_FLAG failed with the following output:
Change Dir: D:/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp
Run Build Command:"D:/msys64/usr/bin/make.exe" "cmTC_5c43d/fast"
/usr/bin/make -f CMakeFiles/cmTC_5c43d.dir/build.make CMakeFiles/cmTC_5c43d.dir/build
make[1]: Entering directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_5c43d.dir/src.cxx.obj
/D/msys64/mingw32/bin/g++.exe -D_GNU_SOURCE -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -Werror=date-time -std=gnu++11 -DLIBCXX_HAS_NO_EHS_FLAG -nodefaultlibs /EHs- -o CMakeFiles/cmTC_5c43d.dir/src.cxx.obj -c /D/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp/src.cxx
g++.exe: error: D:/msys64/EHs-: No such file or directory
make[1]: *** [CMakeFiles/cmTC_5c43d.dir/build.make:66: CMakeFiles/cmTC_5c43d.dir/src.cxx.obj] Error 1
make[1]: Leaving directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
make: *** [Makefile:126: cmTC_5c43d/fast] Error 2
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test LIBCXX_HAS_NO_EHA_FLAG failed with the following output:
Change Dir: D:/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp
Run Build Command:"D:/msys64/usr/bin/make.exe" "cmTC_f1ef7/fast"
/usr/bin/make -f CMakeFiles/cmTC_f1ef7.dir/build.make CMakeFiles/cmTC_f1ef7.dir/build
make[1]: Entering directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_f1ef7.dir/src.cxx.obj
/D/msys64/mingw32/bin/g++.exe -D_GNU_SOURCE -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -Werror=date-time -std=gnu++11 -DLIBCXX_HAS_NO_EHA_FLAG -nodefaultlibs /EHa- -o CMakeFiles/cmTC_f1ef7.dir/src.cxx.obj -c /D/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp/src.cxx
g++.exe: error: D:/msys64/EHa-: No such file or directory
make[1]: *** [CMakeFiles/cmTC_f1ef7.dir/build.make:66: CMakeFiles/cmTC_f1ef7.dir/src.cxx.obj] Error 1
make[1]: Leaving directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
make: *** [Makefile:126: cmTC_f1ef7/fast] Error 2
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test LIBCXX_HAS_NO_GR_FLAG failed with the following output:
Change Dir: D:/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp
Run Build Command:"D:/msys64/usr/bin/make.exe" "cmTC_03eb3/fast"
/usr/bin/make -f CMakeFiles/cmTC_03eb3.dir/build.make CMakeFiles/cmTC_03eb3.dir/build
make[1]: Entering directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_03eb3.dir/src.cxx.obj
/D/msys64/mingw32/bin/g++.exe -D_GNU_SOURCE -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -Werror=date-time -std=gnu++11 -DLIBCXX_HAS_NO_GR_FLAG -nodefaultlibs /GR- -o CMakeFiles/cmTC_03eb3.dir/src.cxx.obj -c /D/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp/src.cxx
g++.exe: error: D:/msys64/GR-: No such file or directory
make[1]: *** [CMakeFiles/cmTC_03eb3.dir/build.make:66: CMakeFiles/cmTC_03eb3.dir/src.cxx.obj] Error 1
make[1]: Leaving directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
make: *** [Makefile:126: cmTC_03eb3/fast] Error 2
Source file was:
int main() { return 0; }
Determining if the function pthread_create exists in the pthread failed with the following output:
Change Dir: D:/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp
Run Build Command:"D:/msys64/usr/bin/make.exe" "cmTC_3bba3/fast"
/usr/bin/make -f CMakeFiles/cmTC_3bba3.dir/build.make CMakeFiles/cmTC_3bba3.dir/build
make[1]: Wejście do katalogu '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_3bba3.dir/CheckFunctionExists.c.obj
/D/msys64/mingw32/bin/gcc.exe -march=i686 -mtune=generic -O2 -pipe -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -Werror=date-time -DCHECK_FUNCTION_EXISTS=pthread_create -nodefaultlibs -o CMakeFiles/cmTC_3bba3.dir/CheckFunctionExists.c.obj -c /D/msys64/mingw32/share/cmake-3.7/Modules/CheckFunctionExists.c
Linking C executable cmTC_3bba3.exe
/D/msys64/mingw32/bin/cmake.exe -E remove -f CMakeFiles/cmTC_3bba3.dir/objects.a
/D/msys64/mingw32/bin/ar.exe cr CMakeFiles/cmTC_3bba3.dir/objects.a "CMakeFiles/cmTC_3bba3.dir/CheckFunctionExists.c.obj"
/D/msys64/mingw32/bin/gcc.exe -march=i686 -mtune=generic -O2 -pipe -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -Werror=date-time -DCHECK_FUNCTION_EXISTS=pthread_create -nodefaultlibs -pipe -Wl,--stack,16777216 -Wl,--whole-archive CMakeFiles/cmTC_3bba3.dir/objects.a -Wl,--no-whole-archive -o cmTC_3bba3.exe -Wl,--major-image-version,0,--minor-image-version,0 -lpthread -lgcc_s -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `check_managed_app':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:359: undefined reference to `mingw_initltsdrot_force'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:360: undefined reference to `mingw_initltsdyn_force'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:361: undefined reference to `mingw_initltssuo_force'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:362: undefined reference to `mingw_initcharmax'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `pre_c_init':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:129: undefined reference to `mingw_app_type'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:130: undefined reference to `__set_app_type'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:133: undefined reference to `_encode_pointer'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:135: undefined reference to `_fmode'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:133: undefined reference to `__onexitend'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:133: undefined reference to `__onexitbegin'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:135: undefined reference to `_imp___fmode'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:141: undefined reference to `_setargv'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:143: undefined reference to `_MINGW_INSTALL_DEBUG_MATHERR'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:132: undefined reference to `__set_app_type'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:145: undefined reference to `_matherr'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:145: undefined reference to `__mingw_setusermatherr'
make[1]: Opuszczenie katalogu '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `pre_cpp_init':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:157: undefined reference to `_newmode'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:162: undefined reference to `_dowildcard'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:162: undefined reference to `__getmainargs'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `_tmainCRTStartup':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:233: undefined reference to `__chkstk_ms'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:240: undefined reference to `mingw_app_type'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `InterlockedCompareExchange':
C:/building/msys64/mingw32/i686-w64-mingw32/include/psdk_inc/intrin-impl.h:1188: undefined reference to `__native_startup_lock'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `_tmainCRTStartup':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:256: undefined reference to `__native_startup_state'
make: *** [Makefile:126: cmTC_3bba3/fast] Błąd 2
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:260: undefined reference to `__native_startup_state'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:268: undefined reference to `__native_startup_state'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:277: undefined reference to `__dyn_tls_init_callback'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:280: undefined reference to `_pei386_runtime_relocator'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:281: undefined reference to `_gnu_exception_handler@4'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:281: undefined reference to `__mingw_oldexcpt_handler'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:285: undefined reference to `_set_invalid_parameter_handler'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:287: undefined reference to `_fpreset'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:294: undefined reference to `_imp___acmdln'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:318: undefined reference to `mingw_app_type'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `duplicate_ppstrings':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:418: undefined reference to `malloc'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:423: undefined reference to `strlen'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:424: undefined reference to `malloc'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:425: undefined reference to `memcpy'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `_tmainCRTStartup':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:324: undefined reference to `__main'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:332: undefined reference to `_imp____initenv'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:340: undefined reference to `_cexit'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:256: undefined reference to `__native_startup_state'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:258: undefined reference to `_amsg_exit'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:268: undefined reference to `__native_startup_state'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:270: undefined reference to `__xc_z'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:270: undefined reference to `__xc_a'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:270: undefined reference to `_initterm'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:271: undefined reference to `__native_startup_state'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `InterlockedExchange':
C:/building/msys64/mingw32/i686-w64-mingw32/include/psdk_inc/intrin-impl.h:1243: undefined reference to `__native_startup_lock'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `_tmainCRTStartup':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:262: undefined reference to `__native_startup_state'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:263: undefined reference to `__xi_z'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:263: undefined reference to `__xi_a'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:263: undefined reference to `_initterm'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:337: undefined reference to `exit'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `WinMainCRTStartup':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:182: undefined reference to `mingw_app_type'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:183: undefined reference to `__security_init_cookie'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `mainCRTStartup':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:210: undefined reference to `mingw_app_type'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:211: undefined reference to `__security_init_cookie'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/crtbegin.o:cygming-crtbegin.c:(.text+0xcb): undefined reference to `atexit'
CMakeFiles/cmTC_3bba3.dir/objects.a(CheckFunctionExists.c.obj):CheckFunctionExists.c:(.text.startup+0x7): undefined reference to `__main'
collect2.exe: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_3bba3.dir/build.make:99: cmTC_3bba3.exe] Błąd 1
Determining if the function ccos exists in the m failed with the following output:
Change Dir: D:/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp
Run Build Command:"D:/msys64/usr/bin/make.exe" "cmTC_1dc88/fast"
/usr/bin/make -f CMakeFiles/cmTC_1dc88.dir/build.make CMakeFiles/cmTC_1dc88.dir/build
make[1]: Wejście do katalogu '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_1dc88.dir/CheckFunctionExists.c.obj
/D/msys64/mingw32/bin/gcc.exe -march=i686 -mtune=generic -O2 -pipe -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -Werror=date-time -DCHECK_FUNCTION_EXISTS=ccos -nodefaultlibs -o CMakeFiles/cmTC_1dc88.dir/CheckFunctionExists.c.obj -c /D/msys64/mingw32/share/cmake-3.7/Modules/CheckFunctionExists.c
<command-line>:0:23: warning: conflicting types for built-in function 'ccos'
D:/msys64/mingw32/share/cmake-3.7/Modules/CheckFunctionExists.c:7:3: note: in expansion of macro 'CHECK_FUNCTION_EXISTS'
CHECK_FUNCTION_EXISTS();
^~~~~~~~~~~~~~~~~~~~~
Linking C executable cmTC_1dc88.exe
/D/msys64/mingw32/bin/cmake.exe -E remove -f CMakeFiles/cmTC_1dc88.dir/objects.a
/D/msys64/mingw32/bin/ar.exe cr CMakeFiles/cmTC_1dc88.dir/objects.a "CMakeFiles/cmTC_1dc88.dir/CheckFunctionExists.c.obj"
/D/msys64/mingw32/bin/gcc.exe -march=i686 -mtune=generic -O2 -pipe -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -Werror=date-time -DCHECK_FUNCTION_EXISTS=ccos -nodefaultlibs -pipe -Wl,--stack,16777216 -Wl,--whole-archive CMakeFiles/cmTC_1dc88.dir/objects.a -Wl,--no-whole-archive -o cmTC_1dc88.exe -Wl,--major-image-version,0,--minor-image-version,0 -lm -lgcc_s -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `check_managed_app':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:359: undefined reference to `mingw_initltsdrot_force'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:360: undefined reference to `mingw_initltsdyn_force'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:361: undefined reference to `mingw_initltssuo_force'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:362: undefined reference to `mingw_initcharmax'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `pre_c_init':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:129: undefined reference to `mingw_app_type'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:130: undefined reference to `__set_app_type'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:133: undefined reference to `_encode_pointer'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:135: undefined reference to `_fmode'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:133: undefined reference to `__onexitend'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:133: undefined reference to `__onexitbegin'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:135: undefined reference to `_imp___fmode'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:141: undefined reference to `_setargv'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:143: undefined reference to `_MINGW_INSTALL_DEBUG_MATHERR'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:132: undefined reference to `__set_app_type'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:145: undefined reference to `_matherr'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:145: undefined reference to `__mingw_setusermatherr'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `pre_cpp_init':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:157: undefined reference to `_newmode'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:162: undefined reference to `_dowildcard'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:162: undefined reference to `__getmainargs'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `_tmainCRTStartup':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:233: undefined reference to `__chkstk_ms'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:240: undefined reference to `mingw_app_type'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `InterlockedCompareExchange':
C:/building/msys64/mingw32/i686-w64-mingw32/include/psdk_inc/intrin-impl.h:1188: undefined reference to `__native_startup_lock'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `_tmainCRTStartup':
make[1]: Opuszczenie katalogu '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:256: undefined reference to `__native_startup_state'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:260: undefined reference to `__native_startup_state'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:268: undefined reference to `__native_startup_state'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:277: undefined reference to `__dyn_tls_init_callback'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:280: undefined reference to `_pei386_runtime_relocator'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:281: undefined reference to `_gnu_exception_handler@4'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:281: undefined reference to `__mingw_oldexcpt_handler'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:285: undefined reference to `_set_invalid_parameter_handler'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:287: undefined reference to `_fpreset'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:294: undefined reference to `_imp___acmdln'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:318: undefined reference to `mingw_app_type'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `duplicate_ppstrings':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:418: undefined reference to `malloc'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:423: undefined reference to `strlen'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:424: undefined reference to `malloc'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:425: undefined reference to `memcpy'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `_tmainCRTStartup':
make: *** [Makefile:126: cmTC_1dc88/fast] Błąd 2
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:324: undefined reference to `__main'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:332: undefined reference to `_imp____initenv'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:340: undefined reference to `_cexit'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:256: undefined reference to `__native_startup_state'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:258: undefined reference to `_amsg_exit'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:268: undefined reference to `__native_startup_state'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:270: undefined reference to `__xc_z'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:270: undefined reference to `__xc_a'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:270: undefined reference to `_initterm'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:271: undefined reference to `__native_startup_state'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `InterlockedExchange':
C:/building/msys64/mingw32/i686-w64-mingw32/include/psdk_inc/intrin-impl.h:1243: undefined reference to `__native_startup_lock'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `_tmainCRTStartup':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:262: undefined reference to `__native_startup_state'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:263: undefined reference to `__xi_z'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:263: undefined reference to `__xi_a'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:263: undefined reference to `_initterm'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:337: undefined reference to `exit'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `WinMainCRTStartup':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:182: undefined reference to `mingw_app_type'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:183: undefined reference to `__security_init_cookie'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `mainCRTStartup':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:210: undefined reference to `mingw_app_type'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:211: undefined reference to `__security_init_cookie'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/crtbegin.o:cygming-crtbegin.c:(.text+0xcb): undefined reference to `atexit'
CMakeFiles/cmTC_1dc88.dir/objects.a(CheckFunctionExists.c.obj):CheckFunctionExists.c:(.text.startup+0x7): undefined reference to `__main'
CMakeFiles/cmTC_1dc88.dir/objects.a(CheckFunctionExists.c.obj):CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `ccos'
collect2.exe: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_1dc88.dir/build.make:99: cmTC_1dc88.exe] Błąd 1
Determining if the function clock_gettime exists in the rt failed with the following output:
Change Dir: D:/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp
Run Build Command:"D:/msys64/usr/bin/make.exe" "cmTC_42a25/fast"
/usr/bin/make -f CMakeFiles/cmTC_42a25.dir/build.make CMakeFiles/cmTC_42a25.dir/build
make[1]: Wejście do katalogu '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_42a25.dir/CheckFunctionExists.c.obj
/D/msys64/mingw32/bin/gcc.exe -march=i686 -mtune=generic -O2 -pipe -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -Werror=date-time -DCHECK_FUNCTION_EXISTS=clock_gettime -nodefaultlibs -o CMakeFiles/cmTC_42a25.dir/CheckFunctionExists.c.obj -c /D/msys64/mingw32/share/cmake-3.7/Modules/CheckFunctionExists.c
Linking C executable cmTC_42a25.exe
/D/msys64/mingw32/bin/cmake.exe -E remove -f CMakeFiles/cmTC_42a25.dir/objects.a
/D/msys64/mingw32/bin/ar.exe cr CMakeFiles/cmTC_42a25.dir/objects.a "CMakeFiles/cmTC_42a25.dir/CheckFunctionExists.c.obj"
/D/msys64/mingw32/bin/gcc.exe -march=i686 -mtune=generic -O2 -pipe -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -Werror=date-time -DCHECK_FUNCTION_EXISTS=clock_gettime -nodefaultlibs -pipe -Wl,--stack,16777216 -Wl,--whole-archive CMakeFiles/cmTC_42a25.dir/objects.a -Wl,--no-whole-archive -o cmTC_42a25.exe -Wl,--major-image-version,0,--minor-image-version,0 -lrt -lgcc_s -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lrt
collect2.exe: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_42a25.dir/build.make:99: cmTC_42a25.exe] Błąd 1
make[1]: Opuszczenie katalogu '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
make: *** [Makefile:126: cmTC_42a25/fast] Błąd 2
Performing C++ SOURCE FILE Test LIBCXX_SUPPORTS_STD_EQ_CXX11_FLAG failed with the following output:
Change Dir: D:/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp
Run Build Command:"D:/msys64/usr/bin/make.exe" "cmTC_c6343/fast"
/usr/bin/make -f CMakeFiles/cmTC_c6343.dir/build.make CMakeFiles/cmTC_c6343.dir/build
make[1]: Entering directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_c6343.dir/src.cxx.obj
/D/msys64/mingw32/bin/g++.exe -D_GNU_SOURCE -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -Werror=date-time -std=gnu++11 -DLIBCXX_SUPPORTS_STD_EQ_CXX11_FLAG -nodefaultlibs -std=c++11 -o CMakeFiles/cmTC_c6343.dir/src.cxx.obj -c /D/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp/src.cxx
Linking CXX executable cmTC_c6343.exe
/D/msys64/mingw32/bin/cmake.exe -E remove -f CMakeFiles/cmTC_c6343.dir/objects.a
/D/msys64/mingw32/bin/ar.exe cr CMakeFiles/cmTC_c6343.dir/objects.a "CMakeFiles/cmTC_c6343.dir/src.cxx.obj"
/D/msys64/mingw32/bin/g++.exe -D_GNU_SOURCE -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -Werror=date-time -std=gnu++11 -DLIBCXX_SUPPORTS_STD_EQ_CXX11_FLAG -nodefaultlibs -pipe -Wl,--stack,16777216 -Wl,--whole-archive CMakeFiles/cmTC_c6343.dir/objects.a -Wl,--no-whole-archive -o cmTC_c6343.exe -Wl,--major-image-version,0,--minor-image-version,0 -lgcc_s -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `check_managed_app':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:359: undefined reference to `mingw_initltsdrot_force'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:360: undefined reference to `mingw_initltsdyn_force'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:361: undefined reference to `mingw_initltssuo_force'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:362: undefined reference to `mingw_initcharmax'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `pre_c_init':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:129: undefined reference to `mingw_app_type'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:130: undefined reference to `__set_app_type'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:133: undefined reference to `_encode_pointer'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:135: undefined reference to `_fmode'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:133: undefined reference to `__onexitend'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:133: undefined reference to `__onexitbegin'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:135: undefined reference to `_imp___fmode'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:141: undefined reference to `_setargv'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:143: undefined reference to `_MINGW_INSTALL_DEBUG_MATHERR'
make[1]: Leaving directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:132: undefined reference to `__set_app_type'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:145: undefined reference to `_matherr'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:145: undefined reference to `__mingw_setusermatherr'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `pre_cpp_init':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:157: undefined reference to `_newmode'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:162: undefined reference to `_dowildcard'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:162: undefined reference to `__getmainargs'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `_tmainCRTStartup':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:233: undefined reference to `__chkstk_ms'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:240: undefined reference to `mingw_app_type'
make: *** [Makefile:126: cmTC_c6343/fast] Error 2
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `InterlockedCompareExchange':
C:/building/msys64/mingw32/i686-w64-mingw32/include/psdk_inc/intrin-impl.h:1188: undefined reference to `__native_startup_lock'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `_tmainCRTStartup':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:256: undefined reference to `__native_startup_state'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:260: undefined reference to `__native_startup_state'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:268: undefined reference to `__native_startup_state'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:277: undefined reference to `__dyn_tls_init_callback'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:280: undefined reference to `_pei386_runtime_relocator'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:281: undefined reference to `_gnu_exception_handler@4'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:281: undefined reference to `__mingw_oldexcpt_handler'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:285: undefined reference to `_set_invalid_parameter_handler'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:287: undefined reference to `_fpreset'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:294: undefined reference to `_imp___acmdln'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:318: undefined reference to `mingw_app_type'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `duplicate_ppstrings':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:418: undefined reference to `malloc'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:423: undefined reference to `strlen'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:424: undefined reference to `malloc'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:425: undefined reference to `memcpy'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `_tmainCRTStartup':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:324: undefined reference to `__main'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:332: undefined reference to `_imp____initenv'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:340: undefined reference to `_cexit'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:256: undefined reference to `__native_startup_state'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:258: undefined reference to `_amsg_exit'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:268: undefined reference to `__native_startup_state'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:270: undefined reference to `__xc_z'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:270: undefined reference to `__xc_a'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:270: undefined reference to `_initterm'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:271: undefined reference to `__native_startup_state'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `InterlockedExchange':
C:/building/msys64/mingw32/i686-w64-mingw32/include/psdk_inc/intrin-impl.h:1243: undefined reference to `__native_startup_lock'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `_tmainCRTStartup':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:262: undefined reference to `__native_startup_state'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:263: undefined reference to `__xi_z'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:263: undefined reference to `__xi_a'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:263: undefined reference to `_initterm'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:337: undefined reference to `exit'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `WinMainCRTStartup':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:182: undefined reference to `mingw_app_type'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:183: undefined reference to `__security_init_cookie'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o: In function `mainCRTStartup':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:210: undefined reference to `mingw_app_type'
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:211: undefined reference to `__security_init_cookie'
D:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/crtbegin.o:cygming-crtbegin.c:(.text+0xcb): undefined reference to `atexit'
CMakeFiles/cmTC_c6343.dir/objects.a(src.cxx.obj):src.cxx:(.text+0x7): undefined reference to `__main'
collect2.exe: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_c6343.dir/build.make:99: cmTC_c6343.exe] Error 1
Source file was:
int main() { return 0; }

Event Timeline

mati865 created this paste.Mar 17 2017, 3:01 PM
mati865 created this object with visibility "Public (No Login Required)".
mati865 created this object with edit policy "mati865 (Mateusz Mikuła)".