Page MenuHomePhabricator
Paste P7976

libc++ with mingw-w64 clang
ActivePublic

Authored by mati865 on Mar 17 2017, 3:02 PM.
Performing C++ SOURCE FILE Test LIBCXXABI_HAS_FPIC_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_9c38b/fast"
/usr/bin/make -f CMakeFiles/cmTC_9c38b.dir/build.make CMakeFiles/cmTC_9c38b.dir/build
make[1]: Entering directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_9c38b.dir/src.cxx.obj
/D/msys64/mingw32/bin/clang++.exe -D_GNU_SOURCE -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -std=gnu++11 -DLIBCXXABI_HAS_FPIC_FLAG -fPIC -o CMakeFiles/cmTC_9c38b.dir/src.cxx.obj -c /D/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp/src.cxx
clang++.exe: error: unsupported option '-fPIC' for target 'i686-w64-windows-gnu'
make[1]: *** [CMakeFiles/cmTC_9c38b.dir/build.make:66: CMakeFiles/cmTC_9c38b.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_9c38b/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_9b0e9/fast"
/usr/bin/make -f CMakeFiles/cmTC_9b0e9.dir/build.make CMakeFiles/cmTC_9b0e9.dir/build
make[1]: Entering directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_9b0e9.dir/src.cxx.obj
/D/msys64/mingw32/bin/clang++.exe -D_GNU_SOURCE -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -std=gnu++11 -DLIBCXXABI_HAS_WX_FLAG /WX -o CMakeFiles/cmTC_9b0e9.dir/src.cxx.obj -c /D/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp/src.cxx
clang++.exe: error: no such file or directory: 'D:/msys64/WX'
make[1]: *** [CMakeFiles/cmTC_9b0e9.dir/build.make:66: CMakeFiles/cmTC_9b0e9.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_9b0e9/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_c1ad1/fast"
/usr/bin/make -f CMakeFiles/cmTC_c1ad1.dir/build.make CMakeFiles/cmTC_c1ad1.dir/build
make[1]: Entering directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_c1ad1.dir/src.cxx.obj
/D/msys64/mingw32/bin/clang++.exe -D_GNU_SOURCE -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -std=gnu++11 -DLIBCXXABI_HAS_NO_WX_FLAG /WX- -o CMakeFiles/cmTC_c1ad1.dir/src.cxx.obj -c /D/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp/src.cxx
clang++.exe: error: no such file or directory: 'D:/msys64/WX-'
make[1]: *** [CMakeFiles/cmTC_c1ad1.dir/build.make:66: CMakeFiles/cmTC_c1ad1.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_c1ad1/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_8c987/fast"
/usr/bin/make -f CMakeFiles/cmTC_8c987.dir/build.make CMakeFiles/cmTC_8c987.dir/build
make[1]: Entering directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_8c987.dir/src.cxx.obj
/D/msys64/mingw32/bin/clang++.exe -D_GNU_SOURCE -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -std=gnu++11 -DLIBCXXABI_HAS_EHSC_FLAG /EHsc -o CMakeFiles/cmTC_8c987.dir/src.cxx.obj -c /D/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp/src.cxx
clang++.exe: error: no such file or directory: 'D:/msys64/EHsc'
make[1]: *** [CMakeFiles/cmTC_8c987.dir/build.make:66: CMakeFiles/cmTC_8c987.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_8c987/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_a76f8/fast"
/usr/bin/make -f CMakeFiles/cmTC_a76f8.dir/build.make CMakeFiles/cmTC_a76f8.dir/build
make[1]: Entering directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_a76f8.dir/src.cxx.obj
/D/msys64/mingw32/bin/clang++.exe -D_GNU_SOURCE -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -std=gnu++11 -DLIBCXXABI_HAS_NO_EHS_FLAG /EHs- -o CMakeFiles/cmTC_a76f8.dir/src.cxx.obj -c /D/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp/src.cxx
clang++.exe: error: no such file or directory: 'D:/msys64/EHs-'
make[1]: *** [CMakeFiles/cmTC_a76f8.dir/build.make:66: CMakeFiles/cmTC_a76f8.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_a76f8/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_a1751/fast"
/usr/bin/make -f CMakeFiles/cmTC_a1751.dir/build.make CMakeFiles/cmTC_a1751.dir/build
make[1]: Entering directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_a1751.dir/src.cxx.obj
/D/msys64/mingw32/bin/clang++.exe -D_GNU_SOURCE -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -std=gnu++11 -DLIBCXXABI_HAS_NO_EHA_FLAG /EHa- -o CMakeFiles/cmTC_a1751.dir/src.cxx.obj -c /D/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp/src.cxx
clang++.exe: error: no such file or directory: 'D:/msys64/EHa-'
make[1]: *** [CMakeFiles/cmTC_a1751.dir/build.make:66: CMakeFiles/cmTC_a1751.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_a1751/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_e489e/fast"
/usr/bin/make -f CMakeFiles/cmTC_e489e.dir/build.make CMakeFiles/cmTC_e489e.dir/build
make[1]: Entering directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_e489e.dir/src.cxx.obj
/D/msys64/mingw32/bin/clang++.exe -D_GNU_SOURCE -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -std=gnu++11 -DLIBCXXABI_HAS_NO_GR_FLAG /GR- -o CMakeFiles/cmTC_e489e.dir/src.cxx.obj -c /D/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp/src.cxx
clang++.exe: error: no such file or directory: 'D:/msys64/GR-'
make[1]: *** [CMakeFiles/cmTC_e489e.dir/build.make:66: CMakeFiles/cmTC_e489e.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_e489e/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_5af78/fast"
/usr/bin/make -f CMakeFiles/cmTC_5af78.dir/build.make CMakeFiles/cmTC_5af78.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_5af78.dir/CheckFunctionExists.c.obj
/D/msys64/mingw32/bin/clang.exe -march=i686 -mtune=generic -O2 -pipe -Wall -W -Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -DCHECK_FUNCTION_EXISTS=fopen -o CMakeFiles/cmTC_5af78.dir/CheckFunctionExists.c.obj -c /D/msys64/mingw32/share/cmake-3.7/Modules/CheckFunctionExists.c
Linking C executable cmTC_5af78.exe
/D/msys64/mingw32/bin/cmake.exe -E remove -f CMakeFiles/cmTC_5af78.dir/objects.a
/D/msys64/mingw32/bin/ar.exe cr CMakeFiles/cmTC_5af78.dir/objects.a "CMakeFiles/cmTC_5af78.dir/CheckFunctionExists.c.obj"
/D/msys64/mingw32/bin/clang.exe -march=i686 -mtune=generic -O2 -pipe -Wall -W -Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -DCHECK_FUNCTION_EXISTS=fopen -pipe -Wl,--stack,16777216 -Wl,--whole-archive CMakeFiles/cmTC_5af78.dir/objects.a -Wl,--no-whole-archive -o cmTC_5af78.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\ld: cannot find -lc
clang.exe: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [CMakeFiles/cmTC_5af78.dir/build.make:99: cmTC_5af78.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_5af78/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_7719a/fast"
/usr/bin/make -f CMakeFiles/cmTC_7719a.dir/build.make CMakeFiles/cmTC_7719a.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_7719a.dir/CheckFunctionExists.c.obj
/D/msys64/mingw32/bin/clang.exe -march=i686 -mtune=generic -O2 -pipe -Wall -W -Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -DCHECK_FUNCTION_EXISTS=dladdr -o CMakeFiles/cmTC_7719a.dir/CheckFunctionExists.c.obj -c /D/msys64/mingw32/share/cmake-3.7/Modules/CheckFunctionExists.c
Linking C executable cmTC_7719a.exe
/D/msys64/mingw32/bin/cmake.exe -E remove -f CMakeFiles/cmTC_7719a.dir/objects.a
/D/msys64/mingw32/bin/ar.exe cr CMakeFiles/cmTC_7719a.dir/objects.a "CMakeFiles/cmTC_7719a.dir/CheckFunctionExists.c.obj"
/D/msys64/mingw32/bin/clang.exe -march=i686 -mtune=generic -O2 -pipe -Wall -W -Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -DCHECK_FUNCTION_EXISTS=dladdr -pipe -Wl,--stack,16777216 -Wl,--whole-archive CMakeFiles/cmTC_7719a.dir/objects.a -Wl,--no-whole-archive -o cmTC_7719a.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\ld: cannot find -ldl
clang.exe: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [CMakeFiles/cmTC_7719a.dir/build.make:99: cmTC_7719a.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_7719a/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_55aef/fast"
/usr/bin/make -f CMakeFiles/cmTC_55aef.dir/build.make CMakeFiles/cmTC_55aef.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_55aef.dir/CheckFunctionExists.c.obj
/D/msys64/mingw32/bin/clang.exe -march=i686 -mtune=generic -O2 -pipe -Wall -W -Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -DCHECK_FUNCTION_EXISTS=__cxa_thread_atexit_impl -o CMakeFiles/cmTC_55aef.dir/CheckFunctionExists.c.obj -c /D/msys64/mingw32/share/cmake-3.7/Modules/CheckFunctionExists.c
Linking C executable cmTC_55aef.exe
/D/msys64/mingw32/bin/cmake.exe -E remove -f CMakeFiles/cmTC_55aef.dir/objects.a
/D/msys64/mingw32/bin/ar.exe cr CMakeFiles/cmTC_55aef.dir/objects.a "CMakeFiles/cmTC_55aef.dir/CheckFunctionExists.c.obj"
/D/msys64/mingw32/bin/clang.exe -march=i686 -mtune=generic -O2 -pipe -Wall -W -Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -DCHECK_FUNCTION_EXISTS=__cxa_thread_atexit_impl -pipe -Wl,--stack,16777216 -Wl,--whole-archive CMakeFiles/cmTC_55aef.dir/objects.a -Wl,--no-whole-archive -o cmTC_55aef.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\ld: cannot find -lc
clang.exe: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [CMakeFiles/cmTC_55aef.dir/build.make:99: cmTC_55aef.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_55aef/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_1d70b/fast"
/usr/bin/make -f CMakeFiles/cmTC_1d70b.dir/build.make CMakeFiles/cmTC_1d70b.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_1d70b.dir/CheckFunctionExists.c.obj
/D/msys64/mingw32/bin/clang.exe -march=i686 -mtune=generic -O2 -pipe -Wall -W -Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -DCHECK_FUNCTION_EXISTS=fopen -o CMakeFiles/cmTC_1d70b.dir/CheckFunctionExists.c.obj -c /D/msys64/mingw32/share/cmake-3.7/Modules/CheckFunctionExists.c
Linking C executable cmTC_1d70b.exe
/D/msys64/mingw32/bin/cmake.exe -E remove -f CMakeFiles/cmTC_1d70b.dir/objects.a
/D/msys64/mingw32/bin/ar.exe cr CMakeFiles/cmTC_1d70b.dir/objects.a "CMakeFiles/cmTC_1d70b.dir/CheckFunctionExists.c.obj"
/D/msys64/mingw32/bin/clang.exe -march=i686 -mtune=generic -O2 -pipe -Wall -W -Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -DCHECK_FUNCTION_EXISTS=fopen -pipe -Wl,--stack,16777216 -Wl,--whole-archive CMakeFiles/cmTC_1d70b.dir/objects.a -Wl,--no-whole-archive -o cmTC_1d70b.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\ld: cannot find -lc
clang.exe: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [CMakeFiles/cmTC_1d70b.dir/build.make:99: cmTC_1d70b.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_1d70b/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_db385/fast"
/usr/bin/make -f CMakeFiles/cmTC_db385.dir/build.make CMakeFiles/cmTC_db385.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_db385.dir/src.cxx.obj
/D/msys64/mingw32/bin/clang++.exe -D_GNU_SOURCE -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -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_db385.dir/src.cxx.obj -c /D/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp/src.cxx
Linking CXX executable cmTC_db385.exe
/D/msys64/mingw32/bin/cmake.exe -E remove -f CMakeFiles/cmTC_db385.dir/objects.a
/D/msys64/mingw32/bin/ar.exe cr CMakeFiles/cmTC_db385.dir/objects.a "CMakeFiles/cmTC_db385.dir/src.cxx.obj"
/D/msys64/mingw32/bin/clang++.exe -D_GNU_SOURCE -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -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_db385.dir/objects.a -Wl,--no-whole-archive -o cmTC_db385.exe -Wl,--major-image-version,0,--minor-image-version,0 -lgcc_s -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32
clang++.exe: warning: argument unused during compilation: '-nostdinc++' [-Wunused-command-line-argument]
D:\msys64\mingw32\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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\lib\gcc\i686-w64-mingw32\6.3.0\crtbegin.o:cygming-crtbegin.c:(.text+0xcb): undefined reference to `atexit'
CMakeFiles/cmTC_db385.dir/objects.a(src.cxx.obj):(.text+0xd): undefined reference to `__main'
clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: Opuszczenie katalogu '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
make[1]: *** [CMakeFiles/cmTC_db385.dir/build.make:99: cmTC_db385.exe] Błąd 1
make: *** [Makefile:126: cmTC_db385/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_d1c81/fast"
/usr/bin/make -f CMakeFiles/cmTC_d1c81.dir/build.make CMakeFiles/cmTC_d1c81.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_d1c81.dir/CheckFunctionExists.c.obj
/D/msys64/mingw32/bin/clang.exe -march=i686 -mtune=generic -O2 -pipe -Wall -W -Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -DCHECK_FUNCTION_EXISTS=__atomic_fetch_add_8 -nodefaultlibs -o CMakeFiles/cmTC_d1c81.dir/CheckFunctionExists.c.obj -c /D/msys64/mingw32/share/cmake-3.7/Modules/CheckFunctionExists.c
Linking C executable cmTC_d1c81.exe
/D/msys64/mingw32/bin/cmake.exe -E remove -f CMakeFiles/cmTC_d1c81.dir/objects.a
/D/msys64/mingw32/bin/ar.exe cr CMakeFiles/cmTC_d1c81.dir/objects.a "CMakeFiles/cmTC_d1c81.dir/CheckFunctionExists.c.obj"
/D/msys64/mingw32/bin/clang.exe -march=i686 -mtune=generic -O2 -pipe -Wall -W -Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -DCHECK_FUNCTION_EXISTS=__atomic_fetch_add_8 -nodefaultlibs -pipe -Wl,--stack,16777216 -Wl,--whole-archive CMakeFiles/cmTC_d1c81.dir/objects.a -Wl,--no-whole-archive -o cmTC_d1c81.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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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'
make[1]: Opuszczenie katalogu '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
D:\msys64\mingw32\i686-w64-mingw32\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\lib\gcc\i686-w64-mingw32\6.3.0\crtbegin.o:cygming-crtbegin.c:(.text+0xcb): undefined reference to `atexit'
CMakeFiles/cmTC_d1c81.dir/objects.a(CheckFunctionExists.c.obj):(.text+0x8): undefined reference to `__main'
clang.exe: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [CMakeFiles/cmTC_d1c81.dir/build.make:99: cmTC_d1c81.exe] Błąd 1
make: *** [Makefile:126: cmTC_d1c81/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_8d29d/fast"
/usr/bin/make -f CMakeFiles/cmTC_8d29d.dir/build.make CMakeFiles/cmTC_8d29d.dir/build
make[1]: Entering directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_8d29d.dir/src.cxx.obj
/D/msys64/mingw32/bin/clang++.exe -D_GNU_SOURCE -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -std=gnu++11 -DLIBCXX_HAS_WX_FLAG -nodefaultlibs /WX -o CMakeFiles/cmTC_8d29d.dir/src.cxx.obj -c /D/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp/src.cxx
clang++.exe: error: no such file or directory: 'D:/msys64/WX'
make[1]: *** [CMakeFiles/cmTC_8d29d.dir/build.make:66: CMakeFiles/cmTC_8d29d.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_8d29d/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_d44d7/fast"
/usr/bin/make -f CMakeFiles/cmTC_d44d7.dir/build.make CMakeFiles/cmTC_d44d7.dir/build
make[1]: Entering directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_d44d7.dir/src.cxx.obj
/D/msys64/mingw32/bin/clang++.exe -D_GNU_SOURCE -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -std=gnu++11 -DLIBCXX_HAS_NO_WX_FLAG -nodefaultlibs /WX- -o CMakeFiles/cmTC_d44d7.dir/src.cxx.obj -c /D/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp/src.cxx
clang++.exe: error: no such file or directory: 'D:/msys64/WX-'
make[1]: *** [CMakeFiles/cmTC_d44d7.dir/build.make:66: CMakeFiles/cmTC_d44d7.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_d44d7/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_50499/fast"
/usr/bin/make -f CMakeFiles/cmTC_50499.dir/build.make CMakeFiles/cmTC_50499.dir/build
make[1]: Entering directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_50499.dir/src.cxx.obj
/D/msys64/mingw32/bin/clang++.exe -D_GNU_SOURCE -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -std=gnu++11 -DLIBCXX_HAS_EHSC_FLAG -nodefaultlibs /EHsc -o CMakeFiles/cmTC_50499.dir/src.cxx.obj -c /D/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp/src.cxx
clang++.exe: error: no such file or directory: 'D:/msys64/EHsc'
make[1]: *** [CMakeFiles/cmTC_50499.dir/build.make:66: CMakeFiles/cmTC_50499.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_50499/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_252f9/fast"
/usr/bin/make -f CMakeFiles/cmTC_252f9.dir/build.make CMakeFiles/cmTC_252f9.dir/build
make[1]: Entering directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_252f9.dir/src.cxx.obj
/D/msys64/mingw32/bin/clang++.exe -D_GNU_SOURCE -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -std=gnu++11 -DLIBCXX_HAS_NO_EHS_FLAG -nodefaultlibs /EHs- -o CMakeFiles/cmTC_252f9.dir/src.cxx.obj -c /D/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp/src.cxx
clang++.exe: error: no such file or directory: 'D:/msys64/EHs-'
make[1]: *** [CMakeFiles/cmTC_252f9.dir/build.make:66: CMakeFiles/cmTC_252f9.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_252f9/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_45d49/fast"
/usr/bin/make -f CMakeFiles/cmTC_45d49.dir/build.make CMakeFiles/cmTC_45d49.dir/build
make[1]: Entering directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_45d49.dir/src.cxx.obj
/D/msys64/mingw32/bin/clang++.exe -D_GNU_SOURCE -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -std=gnu++11 -DLIBCXX_HAS_NO_EHA_FLAG -nodefaultlibs /EHa- -o CMakeFiles/cmTC_45d49.dir/src.cxx.obj -c /D/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp/src.cxx
clang++.exe: error: no such file or directory: 'D:/msys64/EHa-'
make[1]: *** [CMakeFiles/cmTC_45d49.dir/build.make:66: CMakeFiles/cmTC_45d49.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_45d49/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_94d00/fast"
/usr/bin/make -f CMakeFiles/cmTC_94d00.dir/build.make CMakeFiles/cmTC_94d00.dir/build
make[1]: Entering directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_94d00.dir/src.cxx.obj
/D/msys64/mingw32/bin/clang++.exe -D_GNU_SOURCE -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -std=gnu++11 -DLIBCXX_HAS_NO_GR_FLAG -nodefaultlibs /GR- -o CMakeFiles/cmTC_94d00.dir/src.cxx.obj -c /D/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp/src.cxx
clang++.exe: error: no such file or directory: 'D:/msys64/GR-'
make[1]: *** [CMakeFiles/cmTC_94d00.dir/build.make:66: CMakeFiles/cmTC_94d00.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_94d00/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_c3fa0/fast"
/usr/bin/make -f CMakeFiles/cmTC_c3fa0.dir/build.make CMakeFiles/cmTC_c3fa0.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_c3fa0.dir/CheckFunctionExists.c.obj
/D/msys64/mingw32/bin/clang.exe -march=i686 -mtune=generic -O2 -pipe -Wall -W -Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -DCHECK_FUNCTION_EXISTS=pthread_create -nodefaultlibs -o CMakeFiles/cmTC_c3fa0.dir/CheckFunctionExists.c.obj -c /D/msys64/mingw32/share/cmake-3.7/Modules/CheckFunctionExists.c
Linking C executable cmTC_c3fa0.exe
/D/msys64/mingw32/bin/cmake.exe -E remove -f CMakeFiles/cmTC_c3fa0.dir/objects.a
/D/msys64/mingw32/bin/ar.exe cr CMakeFiles/cmTC_c3fa0.dir/objects.a "CMakeFiles/cmTC_c3fa0.dir/CheckFunctionExists.c.obj"
/D/msys64/mingw32/bin/clang.exe -march=i686 -mtune=generic -O2 -pipe -Wall -W -Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -DCHECK_FUNCTION_EXISTS=pthread_create -nodefaultlibs -pipe -Wl,--stack,16777216 -Wl,--whole-archive CMakeFiles/cmTC_c3fa0.dir/objects.a -Wl,--no-whole-archive -o cmTC_c3fa0.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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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'
make[1]: Opuszczenie katalogu '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
D:\msys64\mingw32\lib\gcc\i686-w64-mingw32\6.3.0\crtbegin.o:cygming-crtbegin.c:(.text+0xcb): undefined reference to `atexit'
CMakeFiles/cmTC_c3fa0.dir/objects.a(CheckFunctionExists.c.obj):(.text+0x8): undefined reference to `__main'
clang.exe: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [CMakeFiles/cmTC_c3fa0.dir/build.make:99: cmTC_c3fa0.exe] Błąd 1
make: *** [Makefile:126: cmTC_c3fa0/fast] Błąd 2
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_8829b/fast"
/usr/bin/make -f CMakeFiles/cmTC_8829b.dir/build.make CMakeFiles/cmTC_8829b.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_8829b.dir/CheckFunctionExists.c.obj
/D/msys64/mingw32/bin/clang.exe -march=i686 -mtune=generic -O2 -pipe -Wall -W -Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -DCHECK_FUNCTION_EXISTS=ccos -nodefaultlibs -o CMakeFiles/cmTC_8829b.dir/CheckFunctionExists.c.obj -c /D/msys64/mingw32/share/cmake-3.7/Modules/CheckFunctionExists.c
D:/msys64/mingw32/share/cmake-3.7/Modules/CheckFunctionExists.c:7:3: warning: incompatible redeclaration of library function 'ccos' [-Wincompatible-library-redeclaration]
CHECK_FUNCTION_EXISTS();
^
<command line>:1:31: note: expanded from here
#define CHECK_FUNCTION_EXISTS ccos
^
D:/msys64/mingw32/share/cmake-3.7/Modules/CheckFunctionExists.c:7:3: note: 'ccos' is a builtin with type '_Complex double (_Complex double)'
<command line>:1:31: note: expanded from here
#define CHECK_FUNCTION_EXISTS ccos
^
1 warning generated.
Linking C executable cmTC_8829b.exe
/D/msys64/mingw32/bin/cmake.exe -E remove -f CMakeFiles/cmTC_8829b.dir/objects.a
/D/msys64/mingw32/bin/ar.exe cr CMakeFiles/cmTC_8829b.dir/objects.a "CMakeFiles/cmTC_8829b.dir/CheckFunctionExists.c.obj"
/D/msys64/mingw32/bin/clang.exe -march=i686 -mtune=generic -O2 -pipe -Wall -W -Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -DCHECK_FUNCTION_EXISTS=ccos -nodefaultlibs -pipe -Wl,--stack,16777216 -Wl,--whole-archive CMakeFiles/cmTC_8829b.dir/objects.a -Wl,--no-whole-archive -o cmTC_8829b.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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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'
make[1]: Opuszczenie katalogu '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
D:\msys64\mingw32\i686-w64-mingw32\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\i686-w64-mingw32\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\lib\gcc\i686-w64-mingw32\6.3.0\crtbegin.o:cygming-crtbegin.c:(.text+0xcb): undefined reference to `atexit'
CMakeFiles/cmTC_8829b.dir/objects.a(CheckFunctionExists.c.obj):(.text+0x8): undefined reference to `__main'
CMakeFiles/cmTC_8829b.dir/objects.a(CheckFunctionExists.c.obj):(.text+0xd): undefined reference to `ccos'
clang.exe: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [CMakeFiles/cmTC_8829b.dir/build.make:99: cmTC_8829b.exe] Błąd 1
make: *** [Makefile:126: cmTC_8829b/fast] Błąd 2
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_3d9e9/fast"
/usr/bin/make -f CMakeFiles/cmTC_3d9e9.dir/build.make CMakeFiles/cmTC_3d9e9.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_3d9e9.dir/CheckFunctionExists.c.obj
/D/msys64/mingw32/bin/clang.exe -march=i686 -mtune=generic -O2 -pipe -Wall -W -Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -DCHECK_FUNCTION_EXISTS=clock_gettime -nodefaultlibs -o CMakeFiles/cmTC_3d9e9.dir/CheckFunctionExists.c.obj -c /D/msys64/mingw32/share/cmake-3.7/Modules/CheckFunctionExists.c
Linking C executable cmTC_3d9e9.exe
/D/msys64/mingw32/bin/cmake.exe -E remove -f CMakeFiles/cmTC_3d9e9.dir/objects.a
/D/msys64/mingw32/bin/ar.exe cr CMakeFiles/cmTC_3d9e9.dir/objects.a "CMakeFiles/cmTC_3d9e9.dir/CheckFunctionExists.c.obj"
/D/msys64/mingw32/bin/clang.exe -march=i686 -mtune=generic -O2 -pipe -Wall -W -Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -DCHECK_FUNCTION_EXISTS=clock_gettime -nodefaultlibs -pipe -Wl,--stack,16777216 -Wl,--whole-archive CMakeFiles/cmTC_3d9e9.dir/objects.a -Wl,--no-whole-archive -o cmTC_3d9e9.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\ld: cannot find -lrt
clang.exe: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [CMakeFiles/cmTC_3d9e9.dir/build.make:99: cmTC_3d9e9.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_3d9e9/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_f4217/fast"
/usr/bin/make -f CMakeFiles/cmTC_f4217.dir/build.make CMakeFiles/cmTC_f4217.dir/build
make[1]: Entering directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_f4217.dir/src.cxx.obj
/D/msys64/mingw32/bin/clang++.exe -D_GNU_SOURCE -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -std=gnu++11 -DLIBCXX_SUPPORTS_STD_EQ_CXX11_FLAG -nodefaultlibs -std=c++11 -o CMakeFiles/cmTC_f4217.dir/src.cxx.obj -c /D/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp/src.cxx
Linking CXX executable cmTC_f4217.exe
/D/msys64/mingw32/bin/cmake.exe -E remove -f CMakeFiles/cmTC_f4217.dir/objects.a
/D/msys64/mingw32/bin/ar.exe cr CMakeFiles/cmTC_f4217.dir/objects.a "CMakeFiles/cmTC_f4217.dir/src.cxx.obj"
/D/msys64/mingw32/bin/clang++.exe -D_GNU_SOURCE -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -std=gnu++11 -DLIBCXX_SUPPORTS_STD_EQ_CXX11_FLAG -nodefaultlibs -pipe -Wl,--stack,16777216 -Wl,--whole-archive CMakeFiles/cmTC_f4217.dir/objects.a -Wl,--no-whole-archive -o cmTC_f4217.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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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\i686-w64-mingw32\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\lib\gcc\i686-w64-mingw32\6.3.0\crtbegin.o:cygming-crtbegin.c:(.text+0xcb): undefined reference to `atexit'
CMakeFiles/cmTC_f4217.dir/objects.a(src.cxx.obj):(.text+0x5): undefined reference to `__main'
clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [CMakeFiles/cmTC_f4217.dir/build.make:99: cmTC_f4217.exe] Error 1
make[1]: Leaving directory '/d/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-i686/CMakeFiles/CMakeTmp'
make: *** [Makefile:126: cmTC_f4217/fast] Error 2
Source file was:
int main() { return 0; }

Event Timeline

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