diff --git a/Modules/CMakeParseImplicitLinkInfo.cmake b/Modules/CMakeParseImplicitLinkInfo.cmake index db5d4762db..ea37c7a0f4 100644 --- a/Modules/CMakeParseImplicitLinkInfo.cmake +++ b/Modules/CMakeParseImplicitLinkInfo.cmake @@ -304,6 +304,22 @@ function(cmake_parse_implicit_link_info2 text log_var obj_regex) list(APPEND implicit_dirs_tmp ${paths}) string(APPEND log " dirs [${paths}]\n") endif() + elseif(NOT link_line_parsed + AND "${line}" MATCHES [[ld\.exe ([^-]|-[^L])*(( -L([^ ]| +[^-])+)+) ([^-]|-[^l])*(( -l[^ ]+)+)]]) + set(link_line_parsed 1) + set(implicit_dirs_str "${CMAKE_MATCH_2}") + set(implicit_libs_str "${CMAKE_MATCH_6}") + string(APPEND log " link line: [${line}]\n") + if(EXTRA_PARSE_COMPUTE_IMPLICIT_DIRS) + string(REPLACE " -L" ";" implicit_dirs_tmp "${implicit_dirs_str}") + list(REMOVE_ITEM implicit_dirs_tmp "") + string(APPEND log " dirs [${implicit_dirs_tmp}]\n") + endif() + if(EXTRA_PARSE_COMPUTE_IMPLICIT_LIBS) + string(REPLACE " -l" ";" implicit_libs_tmp "${implicit_libs_str}") + list(REMOVE_ITEM implicit_libs_tmp "") + string(APPEND log " libs [${implicit_libs_tmp}]\n") + endif() else() string(APPEND log " ignore line: [${line}]\n") endif() diff --git a/Tests/RunCMake/ParseImplicitData/windows_x86_64-C-GNU-13.2.0-space.input b/Tests/RunCMake/ParseImplicitData/windows_x86_64-C-GNU-13.2.0-space.input new file mode 100644 index 0000000000..275e39f0f1 --- /dev/null +++ b/Tests/RunCMake/ParseImplicitData/windows_x86_64-C-GNU-13.2.0-space.input @@ -0,0 +1,76 @@ +CMAKE_LANG=C +CMAKE_LINKER=C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/ld.exe +CMAKE_C_COMPILER_ABI= +CMAKE_C_COMPILER_AR=C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/gcc-ar.exe +CMAKE_C_COMPILER_ARCHITECTURE_ID=x86_64 +CMAKE_C_COMPILER_EXTERNAL_TOOLCHAIN= +CMAKE_C_COMPILER_ID=GNU +CMAKE_C_COMPILER_LAUNCHER= +CMAKE_C_COMPILER_LOADED=1 +CMAKE_C_COMPILER_RANLIB=C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/gcc-ranlib.exe +CMAKE_C_COMPILER_TARGET= +CMAKE_C_COMPILER_VERSION=13.2.0 +CMAKE_C_COMPILER_VERSION_INTERNAL= +Change Dir: 'C:/DoesNotExist/Temp/CMakeFiles/CMakeTmp' + +Run Build Command(s): C:/DoesNotExist/CMake/build/bin/cmake.exe -E env VERBOSE=1 C:/DoesNotExist/STRAW(~1.42-/c/bin/gmake.exe -f Makefile cmTC_4d9c4/fast +C:/DoesNotExist/STRAW(~1.42-/c/bin/gmake.exe -f CMakeFiles/cmTC_4d9c4.dir/build.make CMakeFiles/cmTC_4d9c4.dir/build +gmake[1]: Entering directory 'C:/DoesNotExist/Temp/CMakeFiles/CMakeTmp' +Building C object CMakeFiles/cmTC_4d9c4.dir/CMakeCCompilerABI.c.obj +"C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/gcc.exe" -v -o CMakeFiles/cmTC_4d9c4.dir/CMakeCCompilerABI.c.obj -c C:/DoesNotExist/CMake/Modules/CMakeCCompilerABI.c +Using built-in specs. +COLLECT_GCC=C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/gcc.exe +OFFLOAD_TARGET_NAMES=nvptx-none +Target: x86_64-w64-mingw32 +Configured with: ../configure --prefix=/R/winlibs64ucrt_stage/inst_gcc-13.2.0/share/gcc --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --enable-offload-targets=nvptx-none --with-pkgversion='MinGW-W64 x86_64-ucrt-posix-seh, built by Brecht Sanders, r8' --with-tune=generic --enable-checking=release --enable-threads=posix --disable-sjlj-exceptions --disable-libunwind-exceptions --disable-serial-configure --disable-bootstrap --enable-host-shared --enable-plugin --disable-default-ssp --disable-rpath --disable-libstdcxx-debug --disable-version-specific-runtime-libs --with-stabs --disable-symvers --enable-languages=c,c++,fortran,lto,objc,obj-c++ --disable-gold --disable-nls --disable-stage1-checking --disable-win32-registry --disable-multilib --enable-ld --enable-libquadmath --enable-libada --enable-libssp --enable-libstdcxx --enable-lto --enable-fully-dynamic-string --enable-libgomp --enable-graphite --enable-mingw-wildcard --enable-libstdcxx-time --enable-libstdcxx-pch --with-mpc=/d/Prog/winlibs64ucrt_stage/custombuilt --with-mpfr=/d/Prog/winlibs64ucrt_stage/custombuilt --with-gmp=/d/Prog/winlibs64ucrt_stage/custombuilt --with-isl=/d/Prog/winlibs64ucrt_stage/custombuilt --disable-libstdcxx-backtrace --enable-install-libiberty --enable-__cxa_atexit --without-included-gettext --with-diagnostics-color=auto --enable-clocale=generic --with-libiconv --with-system-zlib --with-build-sysroot=/R/winlibs64ucrt_stage/gcc-13.2.0/build_mingw/mingw-w64 CFLAGS='-I/d/Prog/winlibs64ucrt_stage/custombuilt/include/libdl-win32 -march=nocona -msahf -mtune=generic -O2' CXXFLAGS='-Wno-int-conversion -march=nocona -msahf -mtune=generic -O2' LDFLAGS='-pthread -Wl,--no-insert-timestamp -Wl,--dynamicbase -Wl,--high-entropy-va -Wl,--nxcompat -Wl,--tsaware' LD=/d/Prog/winlibs64ucrt_stage/custombuilt/share/binutils/bin/ld.exe +Thread model: posix +Supported LTO compression algorithms: zlib zstd +gcc version 13.2.0 (MinGW-W64 x86_64-ucrt-posix-seh, built by Brecht Sanders, r8) +COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_4d9c4.dir/CMakeCCompilerABI.c.obj' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_4d9c4.dir/' + C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../libexec/gcc/x86_64-w64-mingw32/13.2.0/cc1.exe -quiet -v -iprefix C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/ -D_REENTRANT C:/DoesNotExist/CMake/Modules/CMakeCCompilerABI.c -quiet -dumpdir CMakeFiles/cmTC_4d9c4.dir/ -dumpbase CMakeCCompilerABI.c.c -dumpbase-ext .c -mtune=generic -march=x86-64 -version -o C:\DoesNotExist\Temp\ccNaH4Bf.s +GNU C17 (MinGW-W64 x86_64-ucrt-posix-seh, built by Brecht Sanders, r8) version 13.2.0 (x86_64-w64-mingw32) + compiled by GNU C version 13.2.0, GMP version 6.3.0, MPFR version 4.2.1, MPC version 1.3.1, isl version isl-0.26-GMP + +GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 +ignoring duplicate directory "C:/DoesNotExist/straw (perl) 5.42-pdl/c/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/13.2.0/include" +ignoring nonexistent directory "R:/winlibs64ucrt_stage/inst_gcc-13.2.0/share/gcc/include" +ignoring nonexistent directory "/R/winlibs64ucrt_stage/inst_gcc-13.2.0/share/gcc/include" +ignoring duplicate directory "C:/DoesNotExist/straw (perl) 5.42-pdl/c/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/13.2.0/include-fixed" +ignoring duplicate directory "C:/DoesNotExist/straw (perl) 5.42-pdl/c/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/include" +ignoring nonexistent directory "/mingw/include" +#include "..." search starts here: +#include <...> search starts here: + C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/include + C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../include + C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/include-fixed + C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/include +End of search list. +Compiler executable checksum: 71996911801439ebea1892f3f3ba3826 +COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_4d9c4.dir/CMakeCCompilerABI.c.obj' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_4d9c4.dir/' + C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/as.exe -v -o CMakeFiles/cmTC_4d9c4.dir/CMakeCCompilerABI.c.obj C:\DoesNotExist\Temp\ccNaH4Bf.s +GNU assembler version 2.42 (x86_64-w64-mingw32) using BFD version (Binutils for MinGW-W64 x86_64, built by Brecht Sanders, r8) 2.42 +COMPILER_PATH=C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../libexec/gcc/x86_64-w64-mingw32/13.2.0/C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../libexec/gcc/C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ +LIBRARY_PATH=C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/lib/../lib/C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib/C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/lib/C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../ +COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_4d9c4.dir/CMakeCCompilerABI.c.obj' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_4d9c4.dir/CMakeCCompilerABI.c.' +Linking C executable cmTC_4d9c4.exe +C:/DoesNotExist/CMake/build/bin/cmake.exe -E rm -f CMakeFiles/cmTC_4d9c4.dir/objects.a +"C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/ar.exe" qc CMakeFiles/cmTC_4d9c4.dir/objects.a @CMakeFiles/cmTC_4d9c4.dir/objects1.rsp +"C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/gcc.exe" -v -Wl,-v -Wl,--whole-archive CMakeFiles/cmTC_4d9c4.dir/objects.a -Wl,--no-whole-archive -o cmTC_4d9c4.exe -Wl,--out-implib,libcmTC_4d9c4.dll.a -Wl,--major-image-version,0,--minor-image-version,0 +Using built-in specs. +COLLECT_GCC=C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/gcc.exe +COLLECT_LTO_WRAPPER=C:/DoesNotExist/straw\ (perl)\ 5.42-pdl/c/bin/../libexec/gcc/x86_64-w64-mingw32/13.2.0/lto-wrapper.exe +OFFLOAD_TARGET_NAMES=nvptx-none +Target: x86_64-w64-mingw32 +Configured with: ../configure --prefix=/R/winlibs64ucrt_stage/inst_gcc-13.2.0/share/gcc --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --enable-offload-targets=nvptx-none --with-pkgversion='MinGW-W64 x86_64-ucrt-posix-seh, built by Brecht Sanders, r8' --with-tune=generic --enable-checking=release --enable-threads=posix --disable-sjlj-exceptions --disable-libunwind-exceptions --disable-serial-configure --disable-bootstrap --enable-host-shared --enable-plugin --disable-default-ssp --disable-rpath --disable-libstdcxx-debug --disable-version-specific-runtime-libs --with-stabs --disable-symvers --enable-languages=c,c++,fortran,lto,objc,obj-c++ --disable-gold --disable-nls --disable-stage1-checking --disable-win32-registry --disable-multilib --enable-ld --enable-libquadmath --enable-libada --enable-libssp --enable-libstdcxx --enable-lto --enable-fully-dynamic-string --enable-libgomp --enable-graphite --enable-mingw-wildcard --enable-libstdcxx-time --enable-libstdcxx-pch --with-mpc=/d/Prog/winlibs64ucrt_stage/custombuilt --with-mpfr=/d/Prog/winlibs64ucrt_stage/custombuilt --with-gmp=/d/Prog/winlibs64ucrt_stage/custombuilt --with-isl=/d/Prog/winlibs64ucrt_stage/custombuilt --disable-libstdcxx-backtrace --enable-install-libiberty --enable-__cxa_atexit --without-included-gettext --with-diagnostics-color=auto --enable-clocale=generic --with-libiconv --with-system-zlib --with-build-sysroot=/R/winlibs64ucrt_stage/gcc-13.2.0/build_mingw/mingw-w64 CFLAGS='-I/d/Prog/winlibs64ucrt_stage/custombuilt/include/libdl-win32 -march=nocona -msahf -mtune=generic -O2' CXXFLAGS='-Wno-int-conversion -march=nocona -msahf -mtune=generic -O2' LDFLAGS='-pthread -Wl,--no-insert-timestamp -Wl,--dynamicbase -Wl,--high-entropy-va -Wl,--nxcompat -Wl,--tsaware' LD=/d/Prog/winlibs64ucrt_stage/custombuilt/share/binutils/bin/ld.exe +Thread model: posix +Supported LTO compression algorithms: zlib zstd +gcc version 13.2.0 (MinGW-W64 x86_64-ucrt-posix-seh, built by Brecht Sanders, r8) +COMPILER_PATH=C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../libexec/gcc/x86_64-w64-mingw32/13.2.0/C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../libexec/gcc/C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ +LIBRARY_PATH=C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/lib/../lib/C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib/C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/lib/C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../ +COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_4d9c4.exe' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_4d9c4.' + C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../libexec/gcc/x86_64-w64-mingw32/13.2.0/collect2.exe -plugin C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../libexec/gcc/x86_64-w64-mingw32/13.2.0/liblto_plugin.dll -plugin-opt=C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../libexec/gcc/x86_64-w64-mingw32/13.2.0/lto-wrapper.exe -plugin-opt=-fresolution=C:\DoesNotExist\Temp\ccpUX0HA.res -plugin-opt=-pass-through=-lmingw32 -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_eh -plugin-opt=-pass-through=-lmoldname -plugin-opt=-pass-through=-lmingwex -plugin-opt=-pass-through=-lmsvcrt -plugin-opt=-pass-through=-lkernel32 -plugin-opt=-pass-through=-lpthread -plugin-opt=-pass-through=-ladvapi32 -plugin-opt=-pass-through=-lshell32 -plugin-opt=-pass-through=-luser32 -plugin-opt=-pass-through=-lkernel32 -plugin-opt=-pass-through=-lmingw32 -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_eh -plugin-opt=-pass-through=-lmoldname -plugin-opt=-pass-through=-lmingwex -plugin-opt=-pass-through=-lmsvcrt -plugin-opt=-pass-through=-lkernel32 -m i386pep -Bdynamic -o cmTC_4d9c4.exe C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/lib/../lib/crt2.o C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/crtbegin.o -LC:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0 -LC:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc -LC:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/lib/../lib -LC:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib -LC:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/lib -LC:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../.. -v --whole-archive CMakeFiles/cmTC_4d9c4.dir/objects.a --no-whole-archive --out-implib libcmTC_4d9c4.dll.a --major-image-version 0 --minor-image-version 0 -lmingw32 -lgcc -lgcc_eh -lmoldname -lmingwex -lmsvcrt -lkernel32 -lpthread -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingw32 -lgcc -lgcc_eh -lmoldname -lmingwex -lmsvcrt -lkernel32 C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/crtend.o +collect2 version 13.2.0 +C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe -plugin C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../libexec/gcc/x86_64-w64-mingw32/13.2.0/liblto_plugin.dll -plugin-opt=C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../libexec/gcc/x86_64-w64-mingw32/13.2.0/lto-wrapper.exe -plugin-opt=-fresolution=C:\DoesNotExist\Temp\ccpUX0HA.res -plugin-opt=-pass-through=-lmingw32 -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_eh -plugin-opt=-pass-through=-lmoldname -plugin-opt=-pass-through=-lmingwex -plugin-opt=-pass-through=-lmsvcrt -plugin-opt=-pass-through=-lkernel32 -plugin-opt=-pass-through=-lpthread -plugin-opt=-pass-through=-ladvapi32 -plugin-opt=-pass-through=-lshell32 -plugin-opt=-pass-through=-luser32 -plugin-opt=-pass-through=-lkernel32 -plugin-opt=-pass-through=-lmingw32 -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_eh -plugin-opt=-pass-through=-lmoldname -plugin-opt=-pass-through=-lmingwex -plugin-opt=-pass-through=-lmsvcrt -plugin-opt=-pass-through=-lkernel32 -m i386pep -Bdynamic -o cmTC_4d9c4.exe C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/lib/../lib/crt2.o C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/crtbegin.o -LC:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0 -LC:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc -LC:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/lib/../lib -LC:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib -LC:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/lib -LC:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../.. -v --whole-archive CMakeFiles/cmTC_4d9c4.dir/objects.a --no-whole-archive --out-implib libcmTC_4d9c4.dll.a --major-image-version 0 --minor-image-version 0 -lmingw32 -lgcc -lgcc_eh -lmoldname -lmingwex -lmsvcrt -lkernel32 -lpthread -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingw32 -lgcc -lgcc_eh -lmoldname -lmingwex -lmsvcrt -lkernel32 C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/crtend.o +GNU ld (Binutils for MinGW-W64 x86_64, built by Brecht Sanders, r8) 2.42 +COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_4d9c4.exe' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_4d9c4.' +gmake[1]: Leaving directory 'C:/DoesNotExist/Temp/CMakeFiles/CMakeTmp' diff --git a/Tests/RunCMake/ParseImplicitData/windows_x86_64-CXX-GNU-13.2.0-space.input b/Tests/RunCMake/ParseImplicitData/windows_x86_64-CXX-GNU-13.2.0-space.input new file mode 100644 index 0000000000..dc1cc0752b --- /dev/null +++ b/Tests/RunCMake/ParseImplicitData/windows_x86_64-CXX-GNU-13.2.0-space.input @@ -0,0 +1,82 @@ +CMAKE_LANG=CXX +CMAKE_LINKER=C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/ld.exe +CMAKE_CXX_COMPILER_ABI= +CMAKE_CXX_COMPILER_AR=C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/gcc-ar.exe +CMAKE_CXX_COMPILER_ARCHITECTURE_ID=x86_64 +CMAKE_CXX_COMPILER_EXTERNAL_TOOLCHAIN= +CMAKE_CXX_COMPILER_ID=GNU +CMAKE_CXX_COMPILER_LAUNCHER= +CMAKE_CXX_COMPILER_LOADED=1 +CMAKE_CXX_COMPILER_RANLIB=C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/gcc-ranlib.exe +CMAKE_CXX_COMPILER_TARGET= +CMAKE_CXX_COMPILER_VERSION=13.2.0 +CMAKE_CXX_COMPILER_VERSION_INTERNAL= +Change Dir: 'C:/DoesNotExist/Temp/CMakeFiles/CMakeTmp' + +Run Build Command(s): C:/DoesNotExist/CMake/build/bin/cmake.exe -E env VERBOSE=1 C:/DoesNotExist/STRAW(~1.42-/c/bin/gmake.exe -f Makefile cmTC_e2462/fast +C:/DoesNotExist/STRAW(~1.42-/c/bin/gmake.exe -f CMakeFiles/cmTC_e2462.dir/build.make CMakeFiles/cmTC_e2462.dir/build +gmake[1]: Entering directory 'C:/DoesNotExist/Temp/CMakeFiles/CMakeTmp' +Building CXX object CMakeFiles/cmTC_e2462.dir/CMakeCXXCompilerABI.cpp.obj +"C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/g++.exe" -v -o CMakeFiles/cmTC_e2462.dir/CMakeCXXCompilerABI.cpp.obj -c C:/DoesNotExist/CMake/Modules/CMakeCXXCompilerABI.cpp +Using built-in specs. +COLLECT_GCC=C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/g++.exe +OFFLOAD_TARGET_NAMES=nvptx-none +Target: x86_64-w64-mingw32 +Configured with: ../configure --prefix=/R/winlibs64ucrt_stage/inst_gcc-13.2.0/share/gcc --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --enable-offload-targets=nvptx-none --with-pkgversion='MinGW-W64 x86_64-ucrt-posix-seh, built by Brecht Sanders, r8' --with-tune=generic --enable-checking=release --enable-threads=posix --disable-sjlj-exceptions --disable-libunwind-exceptions --disable-serial-configure --disable-bootstrap --enable-host-shared --enable-plugin --disable-default-ssp --disable-rpath --disable-libstdcxx-debug --disable-version-specific-runtime-libs --with-stabs --disable-symvers --enable-languages=c,c++,fortran,lto,objc,obj-c++ --disable-gold --disable-nls --disable-stage1-checking --disable-win32-registry --disable-multilib --enable-ld --enable-libquadmath --enable-libada --enable-libssp --enable-libstdcxx --enable-lto --enable-fully-dynamic-string --enable-libgomp --enable-graphite --enable-mingw-wildcard --enable-libstdcxx-time --enable-libstdcxx-pch --with-mpc=/d/Prog/winlibs64ucrt_stage/custombuilt --with-mpfr=/d/Prog/winlibs64ucrt_stage/custombuilt --with-gmp=/d/Prog/winlibs64ucrt_stage/custombuilt --with-isl=/d/Prog/winlibs64ucrt_stage/custombuilt --disable-libstdcxx-backtrace --enable-install-libiberty --enable-__cxa_atexit --without-included-gettext --with-diagnostics-color=auto --enable-clocale=generic --with-libiconv --with-system-zlib --with-build-sysroot=/R/winlibs64ucrt_stage/gcc-13.2.0/build_mingw/mingw-w64 CFLAGS='-I/d/Prog/winlibs64ucrt_stage/custombuilt/include/libdl-win32 -march=nocona -msahf -mtune=generic -O2' CXXFLAGS='-Wno-int-conversion -march=nocona -msahf -mtune=generic -O2' LDFLAGS='-pthread -Wl,--no-insert-timestamp -Wl,--dynamicbase -Wl,--high-entropy-va -Wl,--nxcompat -Wl,--tsaware' LD=/d/Prog/winlibs64ucrt_stage/custombuilt/share/binutils/bin/ld.exe +Thread model: posix +Supported LTO compression algorithms: zlib zstd +gcc version 13.2.0 (MinGW-W64 x86_64-ucrt-posix-seh, built by Brecht Sanders, r8) +COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_e2462.dir/CMakeCXXCompilerABI.cpp.obj' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_e2462.dir/' + C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../libexec/gcc/x86_64-w64-mingw32/13.2.0/cc1plus.exe -quiet -v -iprefix C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/ -D_REENTRANT C:/DoesNotExist/CMake/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpdir CMakeFiles/cmTC_e2462.dir/ -dumpbase CMakeCXXCompilerABI.cpp.cpp -dumpbase-ext .cpp -mtune=generic -march=x86-64 -version -o C:\DoesNotExist\Temp\cc550Vbf.s +GNU C++17 (MinGW-W64 x86_64-ucrt-posix-seh, built by Brecht Sanders, r8) version 13.2.0 (x86_64-w64-mingw32) + compiled by GNU C version 13.2.0, GMP version 6.3.0, MPFR version 4.2.1, MPC version 1.3.1, isl version isl-0.26-GMP + +GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 +ignoring duplicate directory "C:/DoesNotExist/straw (perl) 5.42-pdl/c/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../include/c++/13.2.0" +ignoring duplicate directory "C:/DoesNotExist/straw (perl) 5.42-pdl/c/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../include/c++/13.2.0/x86_64-w64-mingw32" +ignoring duplicate directory "C:/DoesNotExist/straw (perl) 5.42-pdl/c/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../include/c++/13.2.0/backward" +ignoring duplicate directory "C:/DoesNotExist/straw (perl) 5.42-pdl/c/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/13.2.0/include" +ignoring nonexistent directory "R:/winlibs64ucrt_stage/inst_gcc-13.2.0/share/gcc/include" +ignoring nonexistent directory "/R/winlibs64ucrt_stage/inst_gcc-13.2.0/share/gcc/include" +ignoring duplicate directory "C:/DoesNotExist/straw (perl) 5.42-pdl/c/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/13.2.0/include-fixed" +ignoring duplicate directory "C:/DoesNotExist/straw (perl) 5.42-pdl/c/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/include" +ignoring nonexistent directory "/mingw/include" +#include "..." search starts here: +#include <...> search starts here: + C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../include/c++/13.2.0 + C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../include/c++/13.2.0/x86_64-w64-mingw32 + C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../include/c++/13.2.0/backward + C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/include + C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../include + C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/include-fixed + C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/include +End of search list. +Compiler executable checksum: 4ab4ff905848ef8597925cbbc69e8f61 +COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_e2462.dir/CMakeCXXCompilerABI.cpp.obj' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_e2462.dir/' + C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/as.exe -v -o CMakeFiles/cmTC_e2462.dir/CMakeCXXCompilerABI.cpp.obj C:\DoesNotExist\Temp\cc550Vbf.s +GNU assembler version 2.42 (x86_64-w64-mingw32) using BFD version (Binutils for MinGW-W64 x86_64, built by Brecht Sanders, r8) 2.42 +COMPILER_PATH=C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../libexec/gcc/x86_64-w64-mingw32/13.2.0/C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../libexec/gcc/C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ +LIBRARY_PATH=C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/lib/../lib/C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib/C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/lib/C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../ +COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_e2462.dir/CMakeCXXCompilerABI.cpp.obj' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_e2462.dir/CMakeCXXCompilerABI.cpp.' +Linking CXX executable cmTC_e2462.exe +C:/DoesNotExist/CMake/build/bin/cmake.exe -E rm -f CMakeFiles/cmTC_e2462.dir/objects.a +"C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/ar.exe" qc CMakeFiles/cmTC_e2462.dir/objects.a @CMakeFiles/cmTC_e2462.dir/objects1.rsp +"C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/g++.exe" -v -Wl,-v -Wl,--whole-archive CMakeFiles/cmTC_e2462.dir/objects.a -Wl,--no-whole-archive -o cmTC_e2462.exe -Wl,--out-implib,libcmTC_e2462.dll.a -Wl,--major-image-version,0,--minor-image-version,0 +Using built-in specs. +COLLECT_GCC=C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/g++.exe +COLLECT_LTO_WRAPPER=C:/DoesNotExist/straw\ (perl)\ 5.42-pdl/c/bin/../libexec/gcc/x86_64-w64-mingw32/13.2.0/lto-wrapper.exe +OFFLOAD_TARGET_NAMES=nvptx-none +Target: x86_64-w64-mingw32 +Configured with: ../configure --prefix=/R/winlibs64ucrt_stage/inst_gcc-13.2.0/share/gcc --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --enable-offload-targets=nvptx-none --with-pkgversion='MinGW-W64 x86_64-ucrt-posix-seh, built by Brecht Sanders, r8' --with-tune=generic --enable-checking=release --enable-threads=posix --disable-sjlj-exceptions --disable-libunwind-exceptions --disable-serial-configure --disable-bootstrap --enable-host-shared --enable-plugin --disable-default-ssp --disable-rpath --disable-libstdcxx-debug --disable-version-specific-runtime-libs --with-stabs --disable-symvers --enable-languages=c,c++,fortran,lto,objc,obj-c++ --disable-gold --disable-nls --disable-stage1-checking --disable-win32-registry --disable-multilib --enable-ld --enable-libquadmath --enable-libada --enable-libssp --enable-libstdcxx --enable-lto --enable-fully-dynamic-string --enable-libgomp --enable-graphite --enable-mingw-wildcard --enable-libstdcxx-time --enable-libstdcxx-pch --with-mpc=/d/Prog/winlibs64ucrt_stage/custombuilt --with-mpfr=/d/Prog/winlibs64ucrt_stage/custombuilt --with-gmp=/d/Prog/winlibs64ucrt_stage/custombuilt --with-isl=/d/Prog/winlibs64ucrt_stage/custombuilt --disable-libstdcxx-backtrace --enable-install-libiberty --enable-__cxa_atexit --without-included-gettext --with-diagnostics-color=auto --enable-clocale=generic --with-libiconv --with-system-zlib --with-build-sysroot=/R/winlibs64ucrt_stage/gcc-13.2.0/build_mingw/mingw-w64 CFLAGS='-I/d/Prog/winlibs64ucrt_stage/custombuilt/include/libdl-win32 -march=nocona -msahf -mtune=generic -O2' CXXFLAGS='-Wno-int-conversion -march=nocona -msahf -mtune=generic -O2' LDFLAGS='-pthread -Wl,--no-insert-timestamp -Wl,--dynamicbase -Wl,--high-entropy-va -Wl,--nxcompat -Wl,--tsaware' LD=/d/Prog/winlibs64ucrt_stage/custombuilt/share/binutils/bin/ld.exe +Thread model: posix +Supported LTO compression algorithms: zlib zstd +gcc version 13.2.0 (MinGW-W64 x86_64-ucrt-posix-seh, built by Brecht Sanders, r8) +COMPILER_PATH=C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../libexec/gcc/x86_64-w64-mingw32/13.2.0/C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../libexec/gcc/C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ +LIBRARY_PATH=C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/lib/../lib/C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib/C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/lib/C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../ +COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_e2462.exe' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_e2462.' + C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../libexec/gcc/x86_64-w64-mingw32/13.2.0/collect2.exe -plugin C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../libexec/gcc/x86_64-w64-mingw32/13.2.0/liblto_plugin.dll -plugin-opt=C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../libexec/gcc/x86_64-w64-mingw32/13.2.0/lto-wrapper.exe -plugin-opt=-fresolution=C:\DoesNotExist\Temp\ccOMBxGt.res -plugin-opt=-pass-through=-lmingw32 -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lmoldname -plugin-opt=-pass-through=-lmingwex -plugin-opt=-pass-through=-lmsvcrt -plugin-opt=-pass-through=-lkernel32 -plugin-opt=-pass-through=-lpthread -plugin-opt=-pass-through=-ladvapi32 -plugin-opt=-pass-through=-lshell32 -plugin-opt=-pass-through=-luser32 -plugin-opt=-pass-through=-lkernel32 -plugin-opt=-pass-through=-lmingw32 -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lmoldname -plugin-opt=-pass-through=-lmingwex -plugin-opt=-pass-through=-lmsvcrt -plugin-opt=-pass-through=-lkernel32 -m i386pep -Bdynamic -o cmTC_e2462.exe C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/lib/../lib/crt2.o C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/crtbegin.o -LC:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0 -LC:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc -LC:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/lib/../lib -LC:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib -LC:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/lib -LC:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../.. -v --whole-archive CMakeFiles/cmTC_e2462.dir/objects.a --no-whole-archive --out-implib libcmTC_e2462.dll.a --major-image-version 0 --minor-image-version 0 -lstdc++ -lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt -lkernel32 -lpthread -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt -lkernel32 C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/crtend.o +collect2 version 13.2.0 +C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe -plugin C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../libexec/gcc/x86_64-w64-mingw32/13.2.0/liblto_plugin.dll -plugin-opt=C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../libexec/gcc/x86_64-w64-mingw32/13.2.0/lto-wrapper.exe -plugin-opt=-fresolution=C:\DoesNotExist\Temp\ccOMBxGt.res -plugin-opt=-pass-through=-lmingw32 -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lmoldname -plugin-opt=-pass-through=-lmingwex -plugin-opt=-pass-through=-lmsvcrt -plugin-opt=-pass-through=-lkernel32 -plugin-opt=-pass-through=-lpthread -plugin-opt=-pass-through=-ladvapi32 -plugin-opt=-pass-through=-lshell32 -plugin-opt=-pass-through=-luser32 -plugin-opt=-pass-through=-lkernel32 -plugin-opt=-pass-through=-lmingw32 -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lmoldname -plugin-opt=-pass-through=-lmingwex -plugin-opt=-pass-through=-lmsvcrt -plugin-opt=-pass-through=-lkernel32 -m i386pep -Bdynamic -o cmTC_e2462.exe C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/lib/../lib/crt2.o C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/crtbegin.o -LC:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0 -LC:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc -LC:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/lib/../lib -LC:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib -LC:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/lib -LC:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../.. -v --whole-archive CMakeFiles/cmTC_e2462.dir/objects.a --no-whole-archive --out-implib libcmTC_e2462.dll.a --major-image-version 0 --minor-image-version 0 -lstdc++ -lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt -lkernel32 -lpthread -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt -lkernel32 C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/crtend.o +GNU ld (Binutils for MinGW-W64 x86_64, built by Brecht Sanders, r8) 2.42 +COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_e2462.exe' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_e2462.' +gmake[1]: Leaving directory 'C:/DoesNotExist/Temp/CMakeFiles/CMakeTmp' diff --git a/Tests/RunCMake/ParseImplicitData/windows_x86_64-Fortran-GNU-13.2.0-space.input b/Tests/RunCMake/ParseImplicitData/windows_x86_64-Fortran-GNU-13.2.0-space.input new file mode 100644 index 0000000000..e9a9a63c5e --- /dev/null +++ b/Tests/RunCMake/ParseImplicitData/windows_x86_64-Fortran-GNU-13.2.0-space.input @@ -0,0 +1,80 @@ +CMAKE_LANG=Fortran +CMAKE_LINKER=C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/ld.exe +CMAKE_Fortran_COMPILER_ABI= +CMAKE_Fortran_COMPILER_AR=C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/gcc-ar.exe +CMAKE_Fortran_COMPILER_ARCHITECTURE_ID=x86_64 +CMAKE_Fortran_COMPILER_EXTERNAL_TOOLCHAIN= +CMAKE_Fortran_COMPILER_ID=GNU +CMAKE_Fortran_COMPILER_LAUNCHER= +CMAKE_Fortran_COMPILER_LOADED=1 +CMAKE_Fortran_COMPILER_RANLIB=C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/gcc-ranlib.exe +CMAKE_Fortran_COMPILER_TARGET= +CMAKE_Fortran_COMPILER_VERSION=13.2.0 +CMAKE_Fortran_COMPILER_VERSION_INTERNAL= +Change Dir: 'C:/DoesNotExist/Temp/CMakeFiles/CMakeTmp' + +Run Build Command(s): C:/DoesNotExist/CMake/build/bin/cmake.exe -E env VERBOSE=1 C:/DoesNotExist/STRAW(~1.42-/c/bin/gmake.exe -f Makefile cmTC_b5d3d/fast +C:/DoesNotExist/STRAW(~1.42-/c/bin/gmake.exe -f CMakeFiles/cmTC_b5d3d.dir/build.make CMakeFiles/cmTC_b5d3d.dir/build +gmake[1]: Entering directory 'C:/DoesNotExist/Temp/CMakeFiles/CMakeTmp' +Building Fortran object CMakeFiles/cmTC_b5d3d.dir/CMakeFortranCompilerABI.F.obj +"C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/gfortran.exe" -v -c C:/DoesNotExist/CMake/Modules/CMakeFortranCompilerABI.F -o CMakeFiles/cmTC_b5d3d.dir/CMakeFortranCompilerABI.F.obj +Using built-in specs. +COLLECT_GCC=C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/gfortran.exe +OFFLOAD_TARGET_NAMES=nvptx-none +Target: x86_64-w64-mingw32 +Configured with: ../configure --prefix=/R/winlibs64ucrt_stage/inst_gcc-13.2.0/share/gcc --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --enable-offload-targets=nvptx-none --with-pkgversion='MinGW-W64 x86_64-ucrt-posix-seh, built by Brecht Sanders, r8' --with-tune=generic --enable-checking=release --enable-threads=posix --disable-sjlj-exceptions --disable-libunwind-exceptions --disable-serial-configure --disable-bootstrap --enable-host-shared --enable-plugin --disable-default-ssp --disable-rpath --disable-libstdcxx-debug --disable-version-specific-runtime-libs --with-stabs --disable-symvers --enable-languages=c,c++,fortran,lto,objc,obj-c++ --disable-gold --disable-nls --disable-stage1-checking --disable-win32-registry --disable-multilib --enable-ld --enable-libquadmath --enable-libada --enable-libssp --enable-libstdcxx --enable-lto --enable-fully-dynamic-string --enable-libgomp --enable-graphite --enable-mingw-wildcard --enable-libstdcxx-time --enable-libstdcxx-pch --with-mpc=/d/Prog/winlibs64ucrt_stage/custombuilt --with-mpfr=/d/Prog/winlibs64ucrt_stage/custombuilt --with-gmp=/d/Prog/winlibs64ucrt_stage/custombuilt --with-isl=/d/Prog/winlibs64ucrt_stage/custombuilt --disable-libstdcxx-backtrace --enable-install-libiberty --enable-__cxa_atexit --without-included-gettext --with-diagnostics-color=auto --enable-clocale=generic --with-libiconv --with-system-zlib --with-build-sysroot=/R/winlibs64ucrt_stage/gcc-13.2.0/build_mingw/mingw-w64 CFLAGS='-I/d/Prog/winlibs64ucrt_stage/custombuilt/include/libdl-win32 -march=nocona -msahf -mtune=generic -O2' CXXFLAGS='-Wno-int-conversion -march=nocona -msahf -mtune=generic -O2' LDFLAGS='-pthread -Wl,--no-insert-timestamp -Wl,--dynamicbase -Wl,--high-entropy-va -Wl,--nxcompat -Wl,--tsaware' LD=/d/Prog/winlibs64ucrt_stage/custombuilt/share/binutils/bin/ld.exe +Thread model: posix +Supported LTO compression algorithms: zlib zstd +gcc version 13.2.0 (MinGW-W64 x86_64-ucrt-posix-seh, built by Brecht Sanders, r8) +COLLECT_GCC_OPTIONS='-v' '-c' '-o' 'CMakeFiles/cmTC_b5d3d.dir/CMakeFortranCompilerABI.F.obj' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_b5d3d.dir/' + C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../libexec/gcc/x86_64-w64-mingw32/13.2.0/f951.exe C:/DoesNotExist/CMake/Modules/CMakeFortranCompilerABI.F -ffixed-form -cpp=C:\DoesNotExist\Temp\cc65ISe7.f90 -quiet -v -iprefix C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/ -D_REENTRANT C:/DoesNotExist/CMake/Modules/CMakeFortranCompilerABI.F -quiet -dumpdir CMakeFiles/cmTC_b5d3d.dir/ -dumpbase CMakeFortranCompilerABI.F.F -dumpbase-ext .F -mtune=generic -march=x86-64 -version -fintrinsic-modules-path C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/finclude -o C:\DoesNotExist\Temp\cccdPkn4.s +GNU Fortran (MinGW-W64 x86_64-ucrt-posix-seh, built by Brecht Sanders, r8) version 13.2.0 (x86_64-w64-mingw32) + compiled by GNU C version 13.2.0, GMP version 6.3.0, MPFR version 4.2.1, MPC version 1.3.1, isl version isl-0.26-GMP + +GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 +ignoring duplicate directory "C:/DoesNotExist/straw (perl) 5.42-pdl/c/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/13.2.0/include" +ignoring nonexistent directory "R:/winlibs64ucrt_stage/inst_gcc-13.2.0/share/gcc/include" +ignoring nonexistent directory "/R/winlibs64ucrt_stage/inst_gcc-13.2.0/share/gcc/include" +ignoring duplicate directory "C:/DoesNotExist/straw (perl) 5.42-pdl/c/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/13.2.0/include-fixed" +ignoring duplicate directory "C:/DoesNotExist/straw (perl) 5.42-pdl/c/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/include" +ignoring nonexistent directory "/mingw/include" +#include "..." search starts here: +#include <...> search starts here: + C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/finclude + C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/include + C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../include + C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/include-fixed + C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/include +End of search list. +COLLECT_GCC_OPTIONS='-v' '-c' '-o' 'CMakeFiles/cmTC_b5d3d.dir/CMakeFortranCompilerABI.F.obj' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_b5d3d.dir/' + C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/as.exe -v -o CMakeFiles/cmTC_b5d3d.dir/CMakeFortranCompilerABI.F.obj C:\DoesNotExist\Temp\cccdPkn4.s +GNU assembler version 2.42 (x86_64-w64-mingw32) using BFD version (Binutils for MinGW-W64 x86_64, built by Brecht Sanders, r8) 2.42 +COMPILER_PATH=C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../libexec/gcc/x86_64-w64-mingw32/13.2.0/C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../libexec/gcc/C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ +LIBRARY_PATH=C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/lib/../lib/C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib/C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/lib/C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../ +COLLECT_GCC_OPTIONS='-v' '-c' '-o' 'CMakeFiles/cmTC_b5d3d.dir/CMakeFortranCompilerABI.F.obj' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_b5d3d.dir/CMakeFortranCompilerABI.F.' +Linking Fortran executable cmTC_b5d3d.exe +C:/DoesNotExist/CMake/build/bin/cmake.exe -E rm -f CMakeFiles/cmTC_b5d3d.dir/objects.a +"C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/ar.exe" qc CMakeFiles/cmTC_b5d3d.dir/objects.a @CMakeFiles/cmTC_b5d3d.dir/objects1.rsp +"C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/gfortran.exe" -v -Wl,-v -Wl,--whole-archive CMakeFiles/cmTC_b5d3d.dir/objects.a -Wl,--no-whole-archive -o cmTC_b5d3d.exe -Wl,--out-implib,libcmTC_b5d3d.dll.a -Wl,--major-image-version,0,--minor-image-version,0 +Driving: C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/gfortran.exe -v -Wl,-v -Wl,--whole-archive CMakeFiles/cmTC_b5d3d.dir/objects.a -Wl,--no-whole-archive -o cmTC_b5d3d.exe -Wl,--out-implib,libcmTC_b5d3d.dll.a -Wl,--major-image-version,0,--minor-image-version,0 -l gfortran -shared-libgcc +Using built-in specs. +COLLECT_GCC=C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/gfortran.exe +COLLECT_LTO_WRAPPER=C:/DoesNotExist/straw\ (perl)\ 5.42-pdl/c/bin/../libexec/gcc/x86_64-w64-mingw32/13.2.0/lto-wrapper.exe +OFFLOAD_TARGET_NAMES=nvptx-none +Target: x86_64-w64-mingw32 +Configured with: ../configure --prefix=/R/winlibs64ucrt_stage/inst_gcc-13.2.0/share/gcc --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --enable-offload-targets=nvptx-none --with-pkgversion='MinGW-W64 x86_64-ucrt-posix-seh, built by Brecht Sanders, r8' --with-tune=generic --enable-checking=release --enable-threads=posix --disable-sjlj-exceptions --disable-libunwind-exceptions --disable-serial-configure --disable-bootstrap --enable-host-shared --enable-plugin --disable-default-ssp --disable-rpath --disable-libstdcxx-debug --disable-version-specific-runtime-libs --with-stabs --disable-symvers --enable-languages=c,c++,fortran,lto,objc,obj-c++ --disable-gold --disable-nls --disable-stage1-checking --disable-win32-registry --disable-multilib --enable-ld --enable-libquadmath --enable-libada --enable-libssp --enable-libstdcxx --enable-lto --enable-fully-dynamic-string --enable-libgomp --enable-graphite --enable-mingw-wildcard --enable-libstdcxx-time --enable-libstdcxx-pch --with-mpc=/d/Prog/winlibs64ucrt_stage/custombuilt --with-mpfr=/d/Prog/winlibs64ucrt_stage/custombuilt --with-gmp=/d/Prog/winlibs64ucrt_stage/custombuilt --with-isl=/d/Prog/winlibs64ucrt_stage/custombuilt --disable-libstdcxx-backtrace --enable-install-libiberty --enable-__cxa_atexit --without-included-gettext --with-diagnostics-color=auto --enable-clocale=generic --with-libiconv --with-system-zlib --with-build-sysroot=/R/winlibs64ucrt_stage/gcc-13.2.0/build_mingw/mingw-w64 CFLAGS='-I/d/Prog/winlibs64ucrt_stage/custombuilt/include/libdl-win32 -march=nocona -msahf -mtune=generic -O2' CXXFLAGS='-Wno-int-conversion -march=nocona -msahf -mtune=generic -O2' LDFLAGS='-pthread -Wl,--no-insert-timestamp -Wl,--dynamicbase -Wl,--high-entropy-va -Wl,--nxcompat -Wl,--tsaware' LD=/d/Prog/winlibs64ucrt_stage/custombuilt/share/binutils/bin/ld.exe +Thread model: posix +Supported LTO compression algorithms: zlib zstd +gcc version 13.2.0 (MinGW-W64 x86_64-ucrt-posix-seh, built by Brecht Sanders, r8) +Reading specs from C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib/libgfortran.spec +rename spec lib to liborig +COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_b5d3d.exe' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_b5d3d-' +COMPILER_PATH=C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../libexec/gcc/x86_64-w64-mingw32/13.2.0/C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../libexec/gcc/C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ +LIBRARY_PATH=C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/lib/../lib/C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib/C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/lib/C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../ +COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_b5d3d.exe' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_b5d3d.' + C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../libexec/gcc/x86_64-w64-mingw32/13.2.0/collect2.exe -plugin C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../libexec/gcc/x86_64-w64-mingw32/13.2.0/liblto_plugin.dll -plugin-opt=C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../libexec/gcc/x86_64-w64-mingw32/13.2.0/lto-wrapper.exe -plugin-opt=-fresolution=C:\DoesNotExist\Temp\ccXWNdTr.res -plugin-opt=-pass-through=-lmingw32 -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lmoldname -plugin-opt=-pass-through=-lmingwex -plugin-opt=-pass-through=-lmsvcrt -plugin-opt=-pass-through=-lkernel32 -plugin-opt=-pass-through=-lquadmath -plugin-opt=-pass-through=-lm -plugin-opt=-pass-through=-lmingw32 -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lmoldname -plugin-opt=-pass-through=-lmingwex -plugin-opt=-pass-through=-lmsvcrt -plugin-opt=-pass-through=-lkernel32 -plugin-opt=-pass-through=-lpthread -plugin-opt=-pass-through=-ladvapi32 -plugin-opt=-pass-through=-lshell32 -plugin-opt=-pass-through=-luser32 -plugin-opt=-pass-through=-lkernel32 -plugin-opt=-pass-through=-lmingw32 -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lmoldname -plugin-opt=-pass-through=-lmingwex -plugin-opt=-pass-through=-lmsvcrt -plugin-opt=-pass-through=-lkernel32 -m i386pep -Bdynamic -o cmTC_b5d3d.exe C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/lib/../lib/crt2.o C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/crtbegin.o -LC:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0 -LC:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc -LC:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/lib/../lib -LC:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib -LC:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/lib -LC:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../.. -v --whole-archive CMakeFiles/cmTC_b5d3d.dir/objects.a --no-whole-archive --out-implib libcmTC_b5d3d.dll.a --major-image-version 0 --minor-image-version 0 -lgfortran -lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt -lkernel32 -lquadmath -lm -lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt -lkernel32 -lpthread -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt -lkernel32 C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/crtend.o +collect2 version 13.2.0 +C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe -plugin C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../libexec/gcc/x86_64-w64-mingw32/13.2.0/liblto_plugin.dll -plugin-opt=C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../libexec/gcc/x86_64-w64-mingw32/13.2.0/lto-wrapper.exe -plugin-opt=-fresolution=C:\DoesNotExist\Temp\ccXWNdTr.res -plugin-opt=-pass-through=-lmingw32 -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lmoldname -plugin-opt=-pass-through=-lmingwex -plugin-opt=-pass-through=-lmsvcrt -plugin-opt=-pass-through=-lkernel32 -plugin-opt=-pass-through=-lquadmath -plugin-opt=-pass-through=-lm -plugin-opt=-pass-through=-lmingw32 -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lmoldname -plugin-opt=-pass-through=-lmingwex -plugin-opt=-pass-through=-lmsvcrt -plugin-opt=-pass-through=-lkernel32 -plugin-opt=-pass-through=-lpthread -plugin-opt=-pass-through=-ladvapi32 -plugin-opt=-pass-through=-lshell32 -plugin-opt=-pass-through=-luser32 -plugin-opt=-pass-through=-lkernel32 -plugin-opt=-pass-through=-lmingw32 -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lmoldname -plugin-opt=-pass-through=-lmingwex -plugin-opt=-pass-through=-lmsvcrt -plugin-opt=-pass-through=-lkernel32 -m i386pep -Bdynamic -o cmTC_b5d3d.exe C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/lib/../lib/crt2.o C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/crtbegin.o -LC:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0 -LC:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc -LC:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/lib/../lib -LC:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib -LC:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/lib -LC:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../.. -v --whole-archive CMakeFiles/cmTC_b5d3d.dir/objects.a --no-whole-archive --out-implib libcmTC_b5d3d.dll.a --major-image-version 0 --minor-image-version 0 -lgfortran -lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt -lkernel32 -lquadmath -lm -lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt -lkernel32 -lpthread -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt -lkernel32 C:/DoesNotExist/straw (perl) 5.42-pdl/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/crtend.o +GNU ld (Binutils for MinGW-W64 x86_64, built by Brecht Sanders, r8) 2.42 +COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_b5d3d.exe' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_b5d3d.' +gmake[1]: Leaving directory 'C:/DoesNotExist/Temp/CMakeFiles/CMakeTmp' diff --git a/Tests/RunCMake/ParseImplicitIncludeInfo/ParseImplicitIncludeInfo.cmake b/Tests/RunCMake/ParseImplicitIncludeInfo/ParseImplicitIncludeInfo.cmake index 37d30e8162..cb6f87d93e 100644 --- a/Tests/RunCMake/ParseImplicitIncludeInfo/ParseImplicitIncludeInfo.cmake +++ b/Tests/RunCMake/ParseImplicitIncludeInfo/ParseImplicitIncludeInfo.cmake @@ -52,12 +52,14 @@ set(targets sunos5.10_sparc32-C-GNU-5.5.0 sunos5.10_sparc32-CXX-GNU-5.5.0 sunos5.10_sparc32-Fortran-GNU-5.5.0 sunos5.11_i386-C-GNU-5.5.0 sunos5.11_i386-CXX-GNU-5.5.0 sunos5.11_i386-Fortran-GNU-5.5.0 windows_x86_64-CUDA-NVIDIA-13.1.115 + windows_x86_64-C-GNU-13.2.0-space windows_x86_64-CXX-GNU-13.2.0-space windows_x86_64-Fortran-GNU-13.2.0-space ) if(NOT CMAKE_HOST_WIN32) list(REMOVE_ITEM targets # Windows drive letters are not recognized as absolute on other platforms. mingw.org-C-GNU-4.9.3 mingw.org-CXX-GNU-4.9.3 + windows_x86_64-C-GNU-13.2.0-space windows_x86_64-CXX-GNU-13.2.0-space windows_x86_64-Fortran-GNU-13.2.0-space # Windows path separators are not parsed properly on other platforms windows_x86_64-CUDA-NVIDIA-13.1.115 ) diff --git a/Tests/RunCMake/ParseImplicitIncludeInfo/results/windows_x86_64-C-GNU-13.2.0-space.output b/Tests/RunCMake/ParseImplicitIncludeInfo/results/windows_x86_64-C-GNU-13.2.0-space.output new file mode 100644 index 0000000000..ec87449ef7 --- /dev/null +++ b/Tests/RunCMake/ParseImplicitIncludeInfo/results/windows_x86_64-C-GNU-13.2.0-space.output @@ -0,0 +1 @@ +C:/DoesNotExist/straw \(perl\) 5.42-pdl/c/lib/gcc/x86_64-w64-mingw32/13.2.0/include;C:/DoesNotExist/straw \(perl\) 5.42-pdl/c/include;C:/DoesNotExist/straw \(perl\) 5.42-pdl/c/lib/gcc/x86_64-w64-mingw32/13.2.0/include-fixed;C:/DoesNotExist/straw \(perl\) 5.42-pdl/c/x86_64-w64-mingw32/include diff --git a/Tests/RunCMake/ParseImplicitIncludeInfo/results/windows_x86_64-CXX-GNU-13.2.0-space.output b/Tests/RunCMake/ParseImplicitIncludeInfo/results/windows_x86_64-CXX-GNU-13.2.0-space.output new file mode 100644 index 0000000000..33c7d29846 --- /dev/null +++ b/Tests/RunCMake/ParseImplicitIncludeInfo/results/windows_x86_64-CXX-GNU-13.2.0-space.output @@ -0,0 +1 @@ +C:/DoesNotExist/straw \(perl\) 5.42-pdl/c/include/c\+\+/13.2.0;C:/DoesNotExist/straw \(perl\) 5.42-pdl/c/include/c\+\+/13.2.0/x86_64-w64-mingw32;C:/DoesNotExist/straw \(perl\) 5.42-pdl/c/include/c\+\+/13.2.0/backward;C:/DoesNotExist/straw \(perl\) 5.42-pdl/c/lib/gcc/x86_64-w64-mingw32/13.2.0/include;C:/DoesNotExist/straw \(perl\) 5.42-pdl/c/include;C:/DoesNotExist/straw \(perl\) 5.42-pdl/c/lib/gcc/x86_64-w64-mingw32/13.2.0/include-fixed;C:/DoesNotExist/straw \(perl\) 5.42-pdl/c/x86_64-w64-mingw32/include diff --git a/Tests/RunCMake/ParseImplicitIncludeInfo/results/windows_x86_64-Fortran-GNU-13.2.0-space.output b/Tests/RunCMake/ParseImplicitIncludeInfo/results/windows_x86_64-Fortran-GNU-13.2.0-space.output new file mode 100644 index 0000000000..d6e5229c80 --- /dev/null +++ b/Tests/RunCMake/ParseImplicitIncludeInfo/results/windows_x86_64-Fortran-GNU-13.2.0-space.output @@ -0,0 +1 @@ +C:/DoesNotExist/straw \(perl\) 5.42-pdl/c/lib/gcc/x86_64-w64-mingw32/13.2.0/finclude;C:/DoesNotExist/straw \(perl\) 5.42-pdl/c/lib/gcc/x86_64-w64-mingw32/13.2.0/include;C:/DoesNotExist/straw \(perl\) 5.42-pdl/c/include;C:/DoesNotExist/straw \(perl\) 5.42-pdl/c/lib/gcc/x86_64-w64-mingw32/13.2.0/include-fixed;C:/DoesNotExist/straw \(perl\) 5.42-pdl/c/x86_64-w64-mingw32/include diff --git a/Tests/RunCMake/ParseImplicitLinkInfo/ParseImplicitLinkInfo.cmake b/Tests/RunCMake/ParseImplicitLinkInfo/ParseImplicitLinkInfo.cmake index d3b044bd11..223e12e4b3 100644 --- a/Tests/RunCMake/ParseImplicitLinkInfo/ParseImplicitLinkInfo.cmake +++ b/Tests/RunCMake/ParseImplicitLinkInfo/ParseImplicitLinkInfo.cmake @@ -60,6 +60,7 @@ set(targets sunos-C-SunPro-5.13.0 sunos-CXX-SunPro-5.13.0 sunos-Fortran-SunPro-8.8.0 sunos5.10_sparc32-C-GNU-5.5.0 sunos5.10_sparc32-CXX-GNU-5.5.0 sunos5.10_sparc32-Fortran-GNU-5.5.0 sunos5.11_i386-C-GNU-5.5.0 sunos5.11_i386-CXX-GNU-5.5.0 sunos5.11_i386-Fortran-GNU-5.5.0 + windows_x86_64-C-GNU-13.2.0-space windows_x86_64-CXX-GNU-13.2.0-space windows_x86_64-Fortran-GNU-13.2.0-space windows_x86_64-C-MSVC-19.36.32543.0 windows_x86_64-CXX-MSVC-19.36.32543.0 windows_x86_64-C-MSVC-19.38.33130.0-VS windows_x86_64-CXX-MSVC-19.38.33130.0-VS windows_x86_64-C-MSVC-19.50.35724.0 windows_x86_64-CXX-MSVC-19.50.35724.0 diff --git a/Tests/RunCMake/ParseImplicitLinkInfo/results/windows_x86_64-C-GNU-13.2.0-space.output b/Tests/RunCMake/ParseImplicitLinkInfo/results/windows_x86_64-C-GNU-13.2.0-space.output new file mode 100644 index 0000000000..d737d5f69e --- /dev/null +++ b/Tests/RunCMake/ParseImplicitLinkInfo/results/windows_x86_64-C-GNU-13.2.0-space.output @@ -0,0 +1,3 @@ +libs=mingw32;gcc;moldname;mingwex;kernel32;pthread;advapi32;shell32;user32;kernel32;mingw32;gcc;moldname;mingwex;kernel32 +dirs=C:/DoesNotExist/straw \(perl\) 5\.42-pdl/c/lib/gcc/x86_64-w64-mingw32/13\.2\.0;C:/DoesNotExist/straw \(perl\) 5\.42-pdl/c/lib/gcc;C:/DoesNotExist/straw \(perl\) 5\.42-pdl/c/x86_64-w64-mingw32/lib;C:/DoesNotExist/straw \(perl\) 5\.42-pdl/c/lib +linker_tool=C:/DoesNotExist/straw \(perl\) 5\.42-pdl/c/x86_64-w64-mingw32/bin/ld\.exe diff --git a/Tests/RunCMake/ParseImplicitLinkInfo/results/windows_x86_64-CXX-GNU-13.2.0-space.output b/Tests/RunCMake/ParseImplicitLinkInfo/results/windows_x86_64-CXX-GNU-13.2.0-space.output new file mode 100644 index 0000000000..caa15a84d5 --- /dev/null +++ b/Tests/RunCMake/ParseImplicitLinkInfo/results/windows_x86_64-CXX-GNU-13.2.0-space.output @@ -0,0 +1,3 @@ +libs=stdc\+\+;mingw32;gcc_s;gcc;moldname;mingwex;kernel32;pthread;advapi32;shell32;user32;kernel32;mingw32;gcc_s;gcc;moldname;mingwex;kernel32 +dirs=C:/DoesNotExist/straw \(perl\) 5\.42-pdl/c/lib/gcc/x86_64-w64-mingw32/13\.2\.0;C:/DoesNotExist/straw \(perl\) 5\.42-pdl/c/lib/gcc;C:/DoesNotExist/straw \(perl\) 5\.42-pdl/c/x86_64-w64-mingw32/lib;C:/DoesNotExist/straw \(perl\) 5\.42-pdl/c/lib +linker_tool=C:/DoesNotExist/straw \(perl\) 5\.42-pdl/c/x86_64-w64-mingw32/bin/ld\.exe diff --git a/Tests/RunCMake/ParseImplicitLinkInfo/results/windows_x86_64-Fortran-GNU-13.2.0-space.output b/Tests/RunCMake/ParseImplicitLinkInfo/results/windows_x86_64-Fortran-GNU-13.2.0-space.output new file mode 100644 index 0000000000..2c7fc744c3 --- /dev/null +++ b/Tests/RunCMake/ParseImplicitLinkInfo/results/windows_x86_64-Fortran-GNU-13.2.0-space.output @@ -0,0 +1,3 @@ +libs=gfortran;mingw32;gcc_s;gcc;moldname;mingwex;kernel32;quadmath;m;mingw32;gcc_s;gcc;moldname;mingwex;kernel32;pthread;advapi32;shell32;user32;kernel32;mingw32;gcc_s;gcc;moldname;mingwex;kernel32 +dirs=C:/DoesNotExist/straw \(perl\) 5\.42-pdl/c/lib/gcc/x86_64-w64-mingw32/13\.2\.0;C:/DoesNotExist/straw \(perl\) 5\.42-pdl/c/lib/gcc;C:/DoesNotExist/straw \(perl\) 5\.42-pdl/c/x86_64-w64-mingw32/lib;C:/DoesNotExist/straw \(perl\) 5\.42-pdl/c/lib +linker_tool=C:/DoesNotExist/straw \(perl\) 5\.42-pdl/c/x86_64-w64-mingw32/bin/ld\.exe