Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[libffi] Build failure on x86-windows #43538

Open
wentywenty opened this issue Jan 29, 2025 · 2 comments
Open

[libffi] Build failure on x86-windows #43538

wentywenty opened this issue Jan 29, 2025 · 2 comments

Comments

@wentywenty
Copy link

Package: libffi:x86-windows@3.4.6

Host Environment

  • Host: x64-windows
  • Compiler: MSVC 19.43.34618.0
  • vcpkg-tool version: 2025-01-11-0f310537c75015100d200eb71b137f6376aad510
    vcpkg-scripts version: 6f29f12 2025-01-13 (2 weeks ago)

To Reproduce

vcpkg install

Failure logs

-- Using cached libffi-3.4.6.tar.gz.
-- Cleaning sources at D:/scoop/apps/vcpkg/current/buildtrees/libffi/src/libffi-3-5867c437e9.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/scoop/apps/vcpkg/current/downloads/libffi-3.4.6.tar.gz
-- Applying patch dll-bindir.diff
-- Using source at D:/scoop/apps/vcpkg/current/buildtrees/libffi/src/libffi-3-5867c437e9.clean
-- Found external ninja('1.12.1').
-- Getting CMake variables for x86-windows
-- Getting CMake variables for x86-windows
-- Using cached msys2-autoconf-wrapper-20240607-1-any.pkg.tar.zst.
-- Using cached msys2-automake-wrapper-20240607-1-any.pkg.tar.zst.
-- Using cached msys2-binutils-2.43.1-1-x86_64.pkg.tar.zst.
-- Using cached msys2-libtool-2.4.7-4-x86_64.pkg.tar.zst.
-- Using cached msys2-make-4.4.1-2-x86_64.pkg.tar.zst.
-- Using cached msys2-pkgconf-2.3.0-1-x86_64.pkg.tar.zst.
-- Using cached msys2-which-2.21-4-x86_64.pkg.tar.zst.
-- Using cached msys2-bash-5.2.037-1-x86_64.pkg.tar.zst.
-- Using cached msys2-coreutils-8.32-5-x86_64.pkg.tar.zst.
-- Using cached msys2-file-5.45-3-x86_64.pkg.tar.zst.
-- Using cached msys2-gawk-5.3.1-1-x86_64.pkg.tar.zst.
-- Using cached msys2-grep-1~3.0-6-x86_64.pkg.tar.zst.
-- Using cached msys2-gzip-1.13-1-x86_64.pkg.tar.zst.
-- Using cached msys2-diffutils-3.10-1-x86_64.pkg.tar.zst.
-- Using cached msys2-sed-4.9-1-x86_64.pkg.tar.zst.
-- Using cached msys2-msys2-runtime-3.5.4-2-x86_64.pkg.tar.zst.
-- Using cached msys2-autoconf2.72-2.72-1-any.pkg.tar.zst.
-- Using cached msys2-automake1.16-1.16.5-1-any.pkg.tar.zst.
-- Using cached msys2-automake1.17-1.17-1-any.pkg.tar.zst.
-- Using cached msys2-libiconv-1.17-1-x86_64.pkg.tar.zst.
-- Using cached msys2-libintl-0.22.4-1-x86_64.pkg.tar.zst.
-- Using cached msys2-zlib-1.3.1-1-x86_64.pkg.tar.zst.
-- Using cached msys2-tar-1.35-2-x86_64.pkg.tar.zst.
-- Using cached msys2-findutils-4.10.0-2-x86_64.pkg.tar.zst.
-- Using cached msys2-gmp-6.3.0-1-x86_64.pkg.tar.zst.
-- Using cached msys2-gcc-libs-13.3.0-1-x86_64.pkg.tar.zst.
-- Using cached msys2-libbz2-1.0.8-4-x86_64.pkg.tar.zst.
-- Using cached msys2-liblzma-5.6.3-1-x86_64.pkg.tar.zst.
-- Using cached msys2-libzstd-1.5.6-1-x86_64.pkg.tar.zst.
-- Using cached msys2-libreadline-8.2.013-1-x86_64.pkg.tar.zst.
-- Using cached msys2-mpfr-4.2.1-1-x86_64.pkg.tar.zst.
-- Using cached msys2-libpcre-8.45-4-x86_64.pkg.tar.zst.
-- Using cached msys2-m4-1.4.19-2-x86_64.pkg.tar.zst.
-- Using cached msys2-perl-5.38.2-2-x86_64.pkg.tar.zst.
-- Using cached msys2-ncurses-6.5.20240831-2-x86_64.pkg.tar.zst.
-- Using cached msys2-libxcrypt-4.4.36-1-x86_64.pkg.tar.zst.
-- Using msys root at D:/scoop/apps/vcpkg/current/downloads/tools/msys2/2db36fb050d01f45
-- Using cached msys2-mingw-w64-x86_64-pkgconf-1~2.3.0-1-any.pkg.tar.zst.
-- Using cached msys2-msys2-runtime-3.5.4-2-x86_64.pkg.tar.zst.
-- Using msys root at D:/scoop/apps/vcpkg/current/downloads/tools/msys2/21caed2f81ec917b
-- Configuring x86-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
    Command failed: D:/scoop/apps/vcpkg/current/downloads/tools/msys2/2db36fb050d01f45/usr/bin/bash.exe --noprofile --norc --debug -c "V=1 CPP='compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe -E' CC='compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe' CC_FOR_BUILD='touch a.out | touch conftest.exe | true' CPP_FOR_BUILD='touch a.out | touch conftest.exe | true' CXX_FOR_BUILD='touch a.out | touch conftest.exe | true' CXX='compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe' RC='windres-rc rc.exe' WINDRES='windres-rc rc.exe' AR='ar-lib D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/lib.exe' LD='D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/link.exe -verbose' RANLIB=':' STRIP=':' NM='dumpbin.exe -symbols -headers' DLLTOOL='link.exe -verbose -dll' CCAS=':' AS=':' ./../src/libffi-3-5867c437e9.clean/configure --build=x86_64-pc-mingw32 --host=i686-pc-mingw32 \"--enable-portable-binary\" \"--disable-docs\" \"--disable-multi-os-directory\" \"CFLAGS=${CFLAGS} -DFFI_BUILDING_DLL\" \"CCAS=msvcc.sh -m32\" \"ac_cv_prog_ac_ct_STRIP=:\" \"gl_cv_double_slash_root=yes\" \"ac_cv_func_memmove=yes\" \"--disable-silent-rules\" \"--verbose\" \"--enable-shared\" \"--disable-static\" \"--prefix=/D/github/learn_groot/test/build/vcpkg_installed/x86-windows/debug\" \"--bindir=\\${prefix}/../tools/libffi/debug/bin\" \"--sbindir=\\${prefix}/../tools/libffi/debug/sbin\" \"--libdir=\\${prefix}/lib\" \"--includedir=\\${prefix}/../include\" \"--datarootdir=\\${prefix}/share/libffi\""
    Working Directory: D:/scoop/apps/vcpkg/current/buildtrees/libffi/x86-windows-dbg
    Error code: 1
    See logs for more information:
      D:\scoop\apps\vcpkg\current\buildtrees\libffi\config-x86-windows-dbg-config.log
      D:\scoop\apps\vcpkg\current\buildtrees\libffi\config-x86-windows-dbg-out.log
      D:\scoop\apps\vcpkg\current\buildtrees\libffi\config-x86-windows-dbg-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_make.cmake:866 (vcpkg_execute_required_process)
  ports/libffi/portfile.cmake:49 (vcpkg_configure_make)
  scripts/ports.cmake:196 (include)



D:\scoop\apps\vcpkg\current\buildtrees\libffi\config-x86-windows-dbg-err.log
bash.exe: warning: could not find /tmp, please create!
bash.exe: warning: could not find /tmp, please create!
bash.exe: warning: could not find /tmp, please create!
bash.exe: warning: could not find /tmp, please create!
bash.exe: warning: could not find /tmp, please create!
configure: WARNING: using cross tools not prefixed with host triplet
bash.exe: warning: could not find /tmp, please create!
config.status: error: in `/d/scoop/apps/vcpkg/current/buildtrees/libffi/x86-windows-dbg':
config.status: error: Something went wrong bootstrapping makefile fragments
    for automatic dependency tracking.  If GNU make was not used, consider
    re-running the configure script with MAKE="gmake" (or whatever is
    necessary).  You can also try re-running configure with the
    '--disable-dependency-tracking' option to at least be able to build
    the package (albeit without support for automatic dependency tracking).
See `config.log' for more details
D:\scoop\apps\vcpkg\current\buildtrees\libffi\config-x86-windows-dbg-out.log
checking build system type... x86_64-pc-mingw32
checking host system type... i686-pc-mingw32
checking target system type... i686-pc-mingw32
checking for gsed... sed
checking for a BSD-compatible install... /d/scoop/apps/vcpkg/current/downloads/tools/msys2/2db36fb050d01f45/usr/bin/install -c
checking whether build environment is sane... yes
checking for i686-pc-mingw32-strip... :
checking for a race-free mkdir -p... /d/scoop/apps/vcpkg/current/downloads/tools/msys2/2db36fb050d01f45/usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... no
checking for i686-pc-mingw32-gcc... compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe
checking whether the C compiler works... yes
checking for C compiler default output file name... conftest.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... yes
checking for suffix of object files... obj
checking whether the compiler supports GNU C... no
checking whether compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe accepts -g... yes
checking for compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe option to enable C11 features... unsupported
checking for compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe option to enable C99 features... unsupported
checking for compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe option to enable C89 features... unsupported
checking whether compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe... none
checking whether the compiler supports GNU C++... no
checking whether compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe accepts -g... yes
checking for compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe option to enable C++11 features... unsupported
checking for compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe option to enable C++98 features... unsupported
checking dependency style of compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe... none
checking dependency style of msvcc.sh -m32... none
checking for grep that handles long lines and -e... /d/scoop/apps/vcpkg/current/downloads/tools/msys2/2db36fb050d01f45/usr/bin/grep
checking for egrep... /d/scoop/apps/vcpkg/current/downloads/tools/msys2/2db36fb050d01f45/usr/bin/grep -E
checking how to print strings... printf
checking for a sed that does not truncate output... /d/scoop/apps/vcpkg/current/downloads/tools/msys2/2db36fb050d01f45/usr/bin/sed
checking for fgrep... /d/scoop/apps/vcpkg/current/downloads/tools/msys2/2db36fb050d01f45/usr/bin/grep -F
checking for non-GNU ld... D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/link.exe -verbose
checking if the linker (D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/link.exe -verbose) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... dumpbin.exe -symbols -headers
checking the name lister (dumpbin.exe -symbols -headers) interface... MS dumpbin
checking whether ln -s works... no, using cp -pR
checking the maximum length of command line arguments... 8192
checking how to convert x86_64-pc-mingw32 file names to i686-pc-mingw32 format... func_convert_file_msys_to_w32
checking how to convert x86_64-pc-mingw32 file names to toolchain format... func_convert_file_msys_to_w32
checking for D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/link.exe -verbose option to reload object files... -r
checking for i686-pc-mingw32-file... no
checking for file... file
checking for i686-pc-mingw32-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL
checking for i686-pc-mingw32-dlltool... link.exe -verbose -dll
checking how to associate runtime and link libraries... func_cygming_dll_for_implib_fallback
checking for i686-pc-mingw32-ar... ar-lib D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/lib.exe
checking for archiver @FILE support... @
checking for i686-pc-mingw32-strip... (cached) :
checking for i686-pc-mingw32-ranlib... :
checking command to parse dumpbin.exe -symbols -headers output from compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe object... ok
checking for sysroot... no
checking for a working dd... /d/scoop/apps/vcpkg/current/downloads/tools/msys2/2db36fb050d01f45/usr/bin/dd
checking how to truncate binary pipes... /d/scoop/apps/vcpkg/current/downloads/tools/msys2/2db36fb050d01f45/usr/bin/dd bs=4096 count=1
checking for i686-pc-mingw32-mt... no
checking for mt... mt
checking if mt is a manifest tool... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... no
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... no
checking for dlfcn.h... no
checking for objdir... .libs
checking for compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe option to produce PIC... -DDLL_EXPORT -DPIC
checking if compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe PIC flag -DDLL_EXPORT -DPIC works... yes
checking if compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe static flag  works... yes
checking if compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe supports -c -o file.obj... yes
checking if compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe supports -c -o file.obj... (cached) yes
checking whether the compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe linker (D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/link.exe -verbose) supports shared libraries... yes
checking dynamic linker characteristics... Win32 link.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe -E
checking whether the compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe linker (D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/link.exe -verbose) supports shared libraries... yes
checking for compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe option to produce PIC... -DDLL_EXPORT -DPIC
checking if compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe PIC flag -DDLL_EXPORT -DPIC works... yes
checking if compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe static flag  works... yes
checking if compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe supports -c -o file.obj... yes
checking if compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe supports -c -o file.obj... (cached) yes
checking whether the compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe linker (D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/link.exe -verbose) supports shared libraries... yes
checking dynamic linker characteristics... Win32 link.exe
checking how to hardcode library paths into programs... immediate
checking for i686-pc-mingw32-readelf... no
checking for readelf... readelf
checking size of size_t... 4
checking for C compiler vendor... microsoft
checking CFLAGS for most reasonable warnings... 
checking whether to enable maintainer-specific portions of Makefiles... no
checking for sys/memfd.h... no
checking for memfd_create... no
checking for egrep... (cached) /d/scoop/apps/vcpkg/current/downloads/tools/msys2/2db36fb050d01f45/usr/bin/grep -E
checking for memcpy... yes
checking for alloca.h... no
checking size of double... 8
checking size of long double... 8
checking whether byte ordering is bigendian... no
checking assembler .cfi pseudo-op support... no
checking assembler supports pc related relocs... yes
checking whether compiler supports pointer authentication... no
checking for _ prefix in compiled symbols... yes
configure: versioning on shared library symbols is no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating include/Makefile
config.status: creating include/ffi.h
config.status: creating Makefile
config.status: creating testsuite/Makefile
config.status: creating man/Makefile
config.status: creating doc/Makefile
config.status: creating libffi.pc
config.status: creating fficonfig.h
config.status: executing buildir commands
config.status: skipping top_srcdir/Makefile - not created
config.status: executing depfiles commands
D:\scoop\apps\vcpkg\current\buildtrees\libffi\config-x86-windows-dbg-config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by libffi configure 3.4.6, which was
generated by GNU Autoconf 2.71.  Invocation command line was

  $ ./../src/libffi-3-5867c437e9.clean/configure --build=x86_64-pc-mingw32 --host=i686-pc-mingw32 --enable-portable-binary --disable-docs --disable-multi-os-directory 'CFLAGS=-Xcompiler -nologo -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -DFFI_BUILDING_DLL' 'CCAS=msvcc.sh -m32' ac_cv_prog_ac_ct_STRIP=: gl_cv_double_slash_root=yes ac_cv_func_memmove=yes --disable-silent-rules --verbose --enable-shared --disable-static --prefix=/D/github/learn_groot/test/build/vcpkg_installed/x86-windows/debug '--bindir=${prefix}/../tools/libffi/debug/bin' '--sbindir=${prefix}/../tools/libffi/debug/sbin' '--libdir=${prefix}/lib' '--includedir=${prefix}/../include' '--datarootdir=${prefix}/share/libffi'

## --------- ##
## Platform. ##
## --------- ##

hostname = flora
uname -m = x86_64
uname -r = 3.5.4-0bc1222b.x86_64
uname -s = MSYS_NT-10.0-26120
uname -v = 2024-09-04 18:28 UTC

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /d/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/HostX64/x86/
PATH: /d/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/HostX64/x64/
PATH: /d/getbrains/vs2022/ide/Common7/IDE/VC/VCPackages/
PATH: /d/getbrains/vs2022/ide/Common7/IDE/CommonExtensions/Microsoft/TestWindow/
PATH: /d/getbrains/vs2022/ide/Common7/IDE/CommonExtensions/Microsoft/TeamFoundation/Team Explorer/
PATH: /d/getbrains/vs2022/ide/MSBuild/Current/bin/Roslyn/
PATH: /c/Program Files (x86)/Microsoft SDKs/Windows/v10.0A/bin/NETFX 4.8 Tools/x64/
PATH: /c/Program Files (x86)/HTML Help Workshop/
PATH: /d/getbrains/vs2022/ide/Team Tools/DiagnosticsHub/Collector/
PATH: /d/Windows Kits/10/bin/10.0.26100.0/x64/
PATH: /d/Windows Kits/10/bin/x64/
PATH: /d/getbrains/vs2022/ide/MSBuild/Current/Bin/amd64/
PATH: /c/Windows/Microsoft.NET/Framework64/v4.0.30319/
PATH: /d/getbrains/vs2022/ide/Common7/IDE/
PATH: /d/getbrains/vs2022/ide/Common7/Tools/
PATH: /c/Program Files/WindowsApps/Microsoft.PowerShellPreview_7.6.2.0_x64__8wekyb3d8bbwe/
PATH: /d/scoop/apps/vcpkg/current/scripts/buildsystems/make_wrapper/
PATH: /d/scoop/apps/vcpkg/current/downloads/tools/msys2/2db36fb050d01f45/usr/share/automake-1.16/
PATH: /d/scoop/apps/vcpkg/current/downloads/tools/msys2/2db36fb050d01f45/usr/bin/
PATH: /c/WINDOWS/system32/
PATH: /c/WINDOWS/
PATH: /c/WINDOWS/system32/Wbem/
PATH: /c/WINDOWS/system32/WindowsPowerShell/v1.0/
PATH: /d/getbrains/vs2022/ide/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/
PATH: /d/getbrains/vs2022/ide/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/
PATH: /d/getbrains/vs2022/ide/Common7/IDE/VC/Linux/bin/ConnectionManagerExe/
PATH: /d/getbrains/vs2022/ide/VC/vcpkg/
PATH: /d/getbrains/vs2022/ide/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/
PATH: /d/scoop/apps/vcpkg/current/buildtrees/libffi/src/libffi-3-5867c437e9.clean/
PATH: /d/getbrains/vs2022/ide/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/
PATH: /d/scoop/apps/vcpkg/current/downloads/tools/msys2/21caed2f81ec917b/mingw64/bin/


## ----------- ##
## Core tests. ##
## ----------- ##

configure:3015: looking for aux files: ltmain.sh compile missing install-sh config.guess config.sub
configure:3028:  trying ./../src/libffi-3-5867c437e9.clean/
configure:3057:   ./../src/libffi-3-5867c437e9.clean/ltmain.sh found
configure:3057:   ./../src/libffi-3-5867c437e9.clean/compile found
configure:3057:   ./../src/libffi-3-5867c437e9.clean/missing found
configure:3039:   ./../src/libffi-3-5867c437e9.clean/install-sh found
configure:3057:   ./../src/libffi-3-5867c437e9.clean/config.guess found
configure:3057:   ./../src/libffi-3-5867c437e9.clean/config.sub found
configure:3178: checking build system type
configure:3193: result: x86_64-pc-mingw32
configure:3213: checking host system type
configure:3227: result: i686-pc-mingw32
configure:3247: checking target system type
configure:3261: result: i686-pc-mingw32
configure:3359: checking for gsed
configure:3395: result: sed
configure:3424: checking for a BSD-compatible install
configure:3497: result: /d/scoop/apps/vcpkg/current/downloads/tools/msys2/2db36fb050d01f45/usr/bin/install -c
configure:3508: checking whether build environment is sane
configure:3563: result: yes
configure:3615: checking for i686-pc-mingw32-strip
configure:3647: result: :
configure:3718: checking for a race-free mkdir -p
configure:3762: result: /d/scoop/apps/vcpkg/current/downloads/tools/msys2/2db36fb050d01f45/usr/bin/mkdir -p
configure:3769: checking for gawk
configure:3790: found /d/scoop/apps/vcpkg/current/downloads/tools/msys2/2db36fb050d01f45/usr/bin/gawk
configure:3801: result: gawk
configure:3812: checking whether make sets $(MAKE)
configure:3835: result: yes
configure:3865: checking whether make supports nested variables
configure:3883: result: no
configure:4047: checking for i686-pc-mingw32-gcc
configure:4079: result: compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe
configure:4477: checking for C compiler version
configure:4486: compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe --version >&5
bash.exe: warning: could not find /tmp, please create!
用于 x86 的 Microsoft (R) C/C++ 优化编译器 19.43.34618 版
版权所有(C) Microsoft Corporation。保留所有权利。

cl: 命令行 warning D9002 :忽略未知选项“--version”
cl: 命令行 error D8003 :缺少源文件名
configure:4497: $? = 2
configure:4486: compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe -v >&5
bash.exe: warning: could not find /tmp, please create!
用于 x86 的 Microsoft (R) C/C++ 优化编译器 19.43.34618 版
版权所有(C) Microsoft Corporation。保留所有权利。

cl: 命令行 warning D9002 :忽略未知选项“-v”
cl: 命令行 error D8003 :缺少源文件名
configure:4497: $? = 2
configure:4486: compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe -V >&5
bash.exe: warning: could not find /tmp, please create!
用于 x86 的 Microsoft (R) C/C++ 优化编译器 19.43.34618 版
版权所有(C) Microsoft Corporation。保留所有权利。

cl: 命令行 error D8004 :“/V”需要参数
configure:4497: $? = 2
configure:4486: compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe -qversion >&5
bash.exe: warning: could not find /tmp, please create!
用于 x86 的 Microsoft (R) C/C++ 优化编译器 19.43.34618 版
版权所有(C) Microsoft Corporation。保留所有权利。

cl: 命令行 warning D9002 :忽略未知选项“-qversion”
cl: 命令行 error D8003 :缺少源文件名
configure:4497: $? = 2
configure:4486: compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe -version >&5
bash.exe: warning: could not find /tmp, please create!
用于 x86 的 Microsoft (R) C/C++ 优化编译器 19.43.34618 版
版权所有(C) Microsoft Corporation。保留所有权利。

cl: 命令行 warning D9002 :忽略未知选项“-version”
cl: 命令行 error D8003 :缺少源文件名
configure:4497: $? = 2
configure:4517: checking whether the C compiler works
configure:4539: compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe -Xcompiler -nologo -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -DFFI_BUILDING_DLL -DWIN32 -D_WINDOWS -D_DEBUG -Xlinker -Xlinker -Xlinker -machine:X86 -Xlinker -Xlinker -Xlinker -nologo -Xlinker -Xlinker -Xlinker -debug -Xlinker -Xlinker -Xlinker -INCREMENTAL conftest.c -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -lcomdlg32 -ladvapi32 >&5
bash.exe: warning: could not find /tmp, please create!
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
conftest.c
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
LINK : warning LNK4044: 无法识别的选项“/Xlinker”;已忽略
LINK : warning LNK4044: 无法识别的选项“/Xlinker”;已忽略
LINK : warning LNK4044: 无法识别的选项“/Xlinker”;已忽略
LINK : warning LNK4044: 无法识别的选项“/Xlinker”;已忽略
configure:4543: $? = 0
configure:4593: result: yes
configure:4596: checking for C compiler default output file name
configure:4598: result: conftest.exe
configure:4604: checking for suffix of executables
configure:4611: compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe -o conftest.exe -Xcompiler -nologo -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -DFFI_BUILDING_DLL -DWIN32 -D_WINDOWS -D_DEBUG -Xlinker -Xlinker -Xlinker -machine:X86 -Xlinker -Xlinker -Xlinker -nologo -Xlinker -Xlinker -Xlinker -debug -Xlinker -Xlinker -Xlinker -INCREMENTAL conftest.c -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -lcomdlg32 -ladvapi32 >&5
bash.exe: warning: could not find /tmp, please create!
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
conftest.c
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
...
Skipped 8640 lines
...
| #define SIZEOF_SIZE_T 4
| #define HAVE_MEMCPY 1
| #define SIZEOF_DOUBLE 8
| /* end confdefs.h.  */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main (void)
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (long double))) <= 7)];
| test_array [0] = 0;
| return test_array [0];
| 
|   ;
|   return 0;
| }
configure:18778: compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe -c -Xcompiler -nologo -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -DFFI_BUILDING_DLL -DWIN32 -D_WINDOWS -D_DEBUG conftest.c >&5
conftest.c
bash.exe: warning: could not find /tmp, please create!
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
configure:18778: $? = 0
configure:18778: compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe -c -Xcompiler -nologo -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -DFFI_BUILDING_DLL -DWIN32 -D_WINDOWS -D_DEBUG conftest.c >&5
conftest.c
bash.exe: warning: could not find /tmp, please create!
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
configure:18778: $? = 0
configure:18778: compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe -c -Xcompiler -nologo -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -DFFI_BUILDING_DLL -DWIN32 -D_WINDOWS -D_DEBUG conftest.c >&5
conftest.c
bash.exe: warning: could not find /tmp, please create!
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
configure:18778: $? = 0
configure:18778: compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe -c -Xcompiler -nologo -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -DFFI_BUILDING_DLL -DWIN32 -D_WINDOWS -D_DEBUG conftest.c >&5
conftest.c
bash.exe: warning: could not find /tmp, please create!
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
configure:18778: $? = 0
configure:18793: result: 8
configure:18824: checking whether byte ordering is bigendian
configure:18840: compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe -c -Xcompiler -nologo -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -DFFI_BUILDING_DLL -DWIN32 -D_WINDOWS -D_DEBUG conftest.c >&5
conftest.c
conftest.c(25): error C2061: 语法错误: 标识符“a”
conftest.c(25): error C2059: 语法错误:“;”
conftest.c(25): error C2061: 语法错误: 标识符“capable”
conftest.c(25): error C2059: 语法错误:“;”
conftest.c(25): error C2054: 在“compiler”之后应输入“(”
conftest.c(27): error C2085: “dummy”: 不在形参表中
conftest.c(29): fatal error C1004: 发现意外的文件尾
bash.exe: warning: could not find /tmp, please create!
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
configure:18840: $? = 2
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.6"
| #define PACKAGE_STRING "libffi 3.4.6"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.6"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define STDC_HEADERS 1
| #define LT_OBJDIR ".libs/"
| #define SIZEOF_SIZE_T 4
| #define HAVE_MEMCPY 1
| #define SIZEOF_DOUBLE 8
| #define SIZEOF_LONG_DOUBLE 8
| /* end confdefs.h.  */
| #ifndef __APPLE_CC__
| 	       not a universal capable compiler
| 	     #endif
| 	     typedef int dummy;
| 
configure:18886: compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe -c -Xcompiler -nologo -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -DFFI_BUILDING_DLL -DWIN32 -D_WINDOWS -D_DEBUG conftest.c >&5
conftest.c
conftest.c(25): fatal error C1083: 无法打开包括文件: “sys/param.h”: No such file or directory
bash.exe: warning: could not find /tmp, please create!
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
configure:18886: $? = 2
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.6"
| #define PACKAGE_STRING "libffi 3.4.6"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.6"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define STDC_HEADERS 1
| #define LT_OBJDIR ".libs/"
| #define SIZEOF_SIZE_T 4
| #define HAVE_MEMCPY 1
| #define SIZEOF_DOUBLE 8
| #define SIZEOF_LONG_DOUBLE 8
| /* end confdefs.h.  */
| #include <sys/types.h>
| 	     #include <sys/param.h>
| 
| int
| main (void)
| {
| #if ! (defined BYTE_ORDER && defined BIG_ENDIAN 		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN 		     && LITTLE_ENDIAN)
| 	      bogus endian macros
| 	     #endif
| 
|   ;
|   return 0;
| }
configure:18932: compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe -c -Xcompiler -nologo -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -DFFI_BUILDING_DLL -DWIN32 -D_WINDOWS -D_DEBUG conftest.c >&5
conftest.c
conftest.c(30): error C2065: “bogus”: 未声明的标识符
conftest.c(30): error C2146: 语法错误: 缺少“;”(在标识符“endian”的前面)
conftest.c(30): error C2065: “endian”: 未声明的标识符
conftest.c(30): error C2146: 语法错误: 缺少“;”(在标识符“macros”的前面)
conftest.c(30): error C2065: “macros”: 未声明的标识符
bash.exe: warning: could not find /tmp, please create!
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
configure:18932: $? = 2
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.6"
| #define PACKAGE_STRING "libffi 3.4.6"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.6"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define STDC_HEADERS 1
| #define LT_OBJDIR ".libs/"
| #define SIZEOF_SIZE_T 4
| #define HAVE_MEMCPY 1
| #define SIZEOF_DOUBLE 8
| #define SIZEOF_LONG_DOUBLE 8
| /* end confdefs.h.  */
| #include <limits.h>
| 
| int
| main (void)
| {
| #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
| 	      bogus endian macros
| 	     #endif
| 
|   ;
|   return 0;
| }
configure:18991: compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe -c -Xcompiler -nologo -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -DFFI_BUILDING_DLL -DWIN32 -D_WINDOWS -D_DEBUG conftest.c >&5
conftest.c
bash.exe: warning: could not find /tmp, please create!
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
configure:18991: $? = 0
configure:19039: result: no
configure:19058: checking assembler .cfi pseudo-op support
configure:19077: compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe -c -Xcompiler -nologo -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -DFFI_BUILDING_DLL -DWIN32 -D_WINDOWS -D_DEBUG conftest.c >&5
conftest.c
conftest.c(24): error C2143: 语法错误: 缺少“)”(在“字符串”的前面)
conftest.c(24): error C2143: 语法错误: 缺少“{”(在“字符串”的前面)
conftest.c(24): error C2059: 语法错误:“字符串”
conftest.c(24): error C2059: 语法错误:“)”
bash.exe: warning: could not find /tmp, please create!
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
configure:19077: $? = 2
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.6"
| #define PACKAGE_STRING "libffi 3.4.6"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.6"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define STDC_HEADERS 1
| #define LT_OBJDIR ".libs/"
| #define SIZEOF_SIZE_T 4
| #define HAVE_MEMCPY 1
| #define SIZEOF_DOUBLE 8
| #define SIZEOF_LONG_DOUBLE 8
| /* end confdefs.h.  */
| asm (".cfi_sections\n\t.cfi_startproc\n\t.cfi_endproc");
| int
| main (void)
| {
| 
|   ;
|   return 0;
| }
configure:19086: result: no
configure:19177: checking assembler supports pc related relocs
configure:19191: result: yes
configure:19227: checking whether compiler supports pointer authentication
configure:19256: compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe -c -Xcompiler -nologo -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -DFFI_BUILDING_DLL -DWIN32 -D_WINDOWS -D_DEBUG conftest.c >&5
conftest.c
conftest.c(37): fatal error C1189: #error:  Pointer authentication not supported
bash.exe: warning: could not find /tmp, please create!
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
configure:19256: $? = 2
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.6"
| #define PACKAGE_STRING "libffi 3.4.6"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.6"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define STDC_HEADERS 1
| #define LT_OBJDIR ".libs/"
| #define SIZEOF_SIZE_T 4
| #define HAVE_MEMCPY 1
| #define SIZEOF_DOUBLE 8
| #define SIZEOF_LONG_DOUBLE 8
| #define HAVE_AS_X86_PCREL 1
| /* end confdefs.h.  */
| 
| int
| main (void)
| {
| 
| #ifdef __clang__
| # if __has_feature(ptrauth_calls)
| #  define HAVE_PTRAUTH 1
| # endif
| #endif
| 
| #ifndef HAVE_PTRAUTH
| # error Pointer authentication not supported
| #endif
| 
|   ;
|   return 0;
| }
configure:19265: result: no
configure:19291: checking for _ prefix in compiled symbols
configure:19302: compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe -c -Xcompiler -nologo -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -DFFI_BUILDING_DLL -DWIN32 -D_WINDOWS -D_DEBUG conftest.c >&5
bash.exe: warning: could not find /tmp, please create!
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler”
conftest.c
conftest.c(2): warning C4550: 表达式计算为缺少参数列表的函数
configure:19305: $? = 0
configure:19309: dumpbin.exe -symbols -headers conftest.obj \| gawk '     {last_section=section; section=$ 3};     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};     /^ *Symbol name *: /{split($ 0,sn,:); si=substr(sn[2],2)};     /^ *Type *: code/{print T,si,substr(si,length(prfx))};     /^ *Type *: data/{print I,si,substr(si,length(prfx))};     $ 0!~/External *\|/{next};     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};     {if(hide[section]) next};     {f=D}; $ 0~/\(\).*\|/{f=T};     {split($ 0,a,/\||\r/); split(a[2],s)};     s[1]~/^[@?]/{print f,s[1],s[1]; next};     s[1]~prfx {split(s[1],t,@); print f,t[1],substr(t[1],length(prfx))}     ' prfx=^_ | /d/scoop/apps/vcpkg/current/downloads/tools/msys2/2db36fb050d01f45/usr/bin/sed '/ __gnu_lto/d' \> conftest.nm
configure:19312: $? = 0
configure:19334: result: yes
configure:19981: versioning on shared library symbols is no
configure:20094: checking that generated files are newer than configure
configure:20100: result: done
configure:20168: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by libffi config.status 3.4.6, which was
generated by GNU Autoconf 2.71.  Invocation command line was

  CONFIG_FILES    = 
  CONFIG_HEADERS  = 
  CONFIG_LINKS    = 
  CONFIG_COMMANDS = 
  $ ./config.status 

on flora

config.status:1254: creating include/Makefile
config.status:1254: creating include/ffi.h
config.status:1254: creating Makefile
config.status:1254: creating testsuite/Makefile
config.status:1254: creating man/Makefile
config.status:1254: creating doc/Makefile
config.status:1254: creating libffi.pc
config.status:1254: creating fficonfig.h
config.status:1468: executing buildir commands
config.status:1481: skipping top_srcdir/Makefile - not created
config.status:1468: executing depfiles commands
config.status:1689: cd .       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
make: cannot create temporary file /tmp/GmmfZA8U: No such file or directory
make: *** cannot store makefile from stdin to a temporary file.  Stop.
config.status:1694: $? = 2
config.status:1698: error: in `/d/scoop/apps/vcpkg/current/buildtrees/libffi/x86-windows-dbg':
config.status:1700: error: Something went wrong bootstrapping makefile fragments
    for automatic dependency tracking.  If GNU make was not used, consider
    re-running the configure script with MAKE="gmake" (or whatever is
    necessary).  You can also try re-running configure with the
    '--disable-dependency-tracking' option to at least be able to build
    the package (albeit without support for automatic dependency tracking).
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-pc-mingw32
ac_cv_c_bigendian=no
ac_cv_c_compiler_gnu=no
ac_cv_cflags_warn_all=
ac_cv_cxx_compiler_gnu=no
ac_cv_env_CCASFLAGS_set=
ac_cv_env_CCASFLAGS_value=
ac_cv_env_CCAS_set=set
ac_cv_env_CCAS_value='msvcc.sh -m32'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value='-DWIN32 -D_WINDOWS -D_DEBUG'
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-pc-mingw32
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i686-pc-mingw32
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=.exe
ac_cv_func_memcpy=yes
ac_cv_func_memfd_create=no
ac_cv_func_memmove=yes
ac_cv_header_alloca_h=no
ac_cv_header_dlfcn_h=no
ac_cv_header_inttypes_h=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdio_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=no
ac_cv_header_sys_memfd_h=no
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=no
ac_cv_host=i686-pc-mingw32
ac_cv_objext=obj
ac_cv_path_EGREP='/d/scoop/apps/vcpkg/current/downloads/tools/msys2/2db36fb050d01f45/usr/bin/grep -E'
ac_cv_path_FGREP='/d/scoop/apps/vcpkg/current/downloads/tools/msys2/2db36fb050d01f45/usr/bin/grep -F'
ac_cv_path_GREP=/d/scoop/apps/vcpkg/current/downloads/tools/msys2/2db36fb050d01f45/usr/bin/grep
ac_cv_path_SED=/d/scoop/apps/vcpkg/current/downloads/tools/msys2/2db36fb050d01f45/usr/bin/sed
ac_cv_path_ax_enable_builddir_sed=sed
ac_cv_path_install='/d/scoop/apps/vcpkg/current/downloads/tools/msys2/2db36fb050d01f45/usr/bin/install -c'
ac_cv_path_lt_DD=/d/scoop/apps/vcpkg/current/downloads/tools/msys2/2db36fb050d01f45/usr/bin/dd
ac_cv_path_mkdir=/d/scoop/apps/vcpkg/current/downloads/tools/msys2/2db36fb050d01f45/usr/bin/mkdir
ac_cv_prog_AR='ar-lib D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/lib.exe'
ac_cv_prog_AWK=gawk
ac_cv_prog_CC='compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe'
ac_cv_prog_CXXCPP='compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe -E'
ac_cv_prog_DLLTOOL='link.exe -verbose -dll'
ac_cv_prog_RANLIB=:
ac_cv_prog_STRIP=:
ac_cv_prog_ac_ct_FILECMD=file
ac_cv_prog_ac_ct_MANIFEST_TOOL=mt
ac_cv_prog_ac_ct_OBJDUMP=objdump
ac_cv_prog_ac_ct_READELF=readelf
ac_cv_prog_ac_ct_STRIP=:
ac_cv_prog_cc_c11=no
ac_cv_prog_cc_c89=no
ac_cv_prog_cc_c99=no
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_cxx11=no
ac_cv_prog_cxx_cxx98=no
ac_cv_prog_cxx_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_sizeof_double=8
ac_cv_sizeof_long_double=8
ac_cv_sizeof_size_t=4
ac_cv_target=i686-pc-mingw32
am_cv_CCAS_dependencies_compiler_type=none
am_cv_CC_dependencies_compiler_type=none
am_cv_CXX_dependencies_compiler_type=none
am_cv_make_support_nested_variables=no
am_cv_prog_cc_c_o=yes
ax_cv_c_compiler_vendor=microsoft
gcc_cv_as_cfi_pseudo_op=no
gl_cv_double_slash_root=yes
libffi_cv_as_ptrauth=no
libffi_cv_as_x86_pcrel=yes
lt_cv_ar_at_file=@
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
lt_cv_file_magic_cmd=func_win32_libid
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='MS dumpbin'
lt_cv_objdir=.libs
lt_cv_path_LD='D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/link.exe -verbose'
lt_cv_path_LDCXX=
lt_cv_path_NM='dumpbin.exe -symbols -headers'
lt_cv_path_mainfest_tool=yes
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_c_o_CXX=yes
lt_cv_prog_compiler_pic='-DDLL_EXPORT -DPIC'
lt_cv_prog_compiler_pic_CXX='-DDLL_EXPORT -DPIC'
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_pic_works_CXX=yes
lt_cv_prog_compiler_static_works=yes
lt_cv_prog_compiler_static_works_CXX=yes
lt_cv_prog_gnu_ld=no
lt_cv_prog_gnu_ldcxx=
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
lt_cv_sys_global_symbol_pipe='gawk '\''     {last_section=section; section=$ 3};     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};     /^ *Symbol name *: /{split($ 0,sn,":"); si=substr(sn[2],2)};     /^ *Type *: code/{print "T",si,substr(si,length(prfx))};     /^ *Type *: data/{print "I",si,substr(si,length(prfx))};     $ 0!~/External *\|/{next};     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};     {if(hide[section]) next};     {f="D"}; $ 0~/\(\).*\|/{f="T"};     {split($ 0,a,/\||\r/); split(a[2],s)};     s[1]~/^[@?]/{print f,s[1],s[1]; next};     s[1]~prfx {split(s[1],t,"@"); print f,t[1],substr(t[1],length(prfx))}     '\'' prfx=^_ | /d/scoop/apps/vcpkg/current/downloads/tools/msys2/2db36fb050d01f45/usr/bin/sed '\''/ __gnu_lto/d'\'''
lt_cv_sys_global_symbol_to_c_name_address='/d/scoop/apps/vcpkg/current/downloads/tools/msys2/2db36fb050d01f45/usr/bin/sed -n -e '\''s/^I .* \(.*\)$/  {"\1", (void *) 0},/p'\'' -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGISTW][ABCDGISTW]* .* \(.*\)$/  {"\1", (void *) \&\1},/p'\'''
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='/d/scoop/apps/vcpkg/current/downloads/tools/msys2/2db36fb050d01f45/usr/bin/sed -n  -e '\''s/^I .* \(lib.*\)$/  {"\1", (void *) 0},/p'\''  -e '\''s/^I .* \(.*\)$/  {"lib\1", (void *) 0},/p'\'' -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGISTW][ABCDGISTW]* .* \(lib.*\)$/  {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGISTW][ABCDGISTW]* .* \(.*\)$/  {"lib\1", (void *) \&\1},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='/d/scoop/apps/vcpkg/current/downloads/tools/msys2/2db36fb050d01f45/usr/bin/sed -n -e '\''s/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'\'' -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGISTW][ABCDGISTW]* .* \(.*\)$/extern char \1;/p'\'''
lt_cv_sys_global_symbol_to_import='/d/scoop/apps/vcpkg/current/downloads/tools/msys2/2db36fb050d01f45/usr/bin/sed -n -e '\''s/^I .* \(.*\)$/\1/p'\'''
lt_cv_sys_max_cmd_len=8192
lt_cv_sys_symbol_underscore=yes
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
lt_cv_truncate_bin='/d/scoop/apps/vcpkg/current/downloads/tools/msys2/2db36fb050d01f45/usr/bin/dd bs=4096 count=1'

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} '\''/d/scoop/apps/vcpkg/current/buildtrees/libffi/src/libffi-3-5867c437e9.clean/missing'\'' aclocal-1.16'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='1'
AM_DEFAULT_VERBOSITY='1'
AM_LTLDFLAGS='-no-undefined'
AM_RUNTESTFLAGS=''
AM_V='1'
AR='ar-lib D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/lib.exe'
AUTOCONF='${SHELL} '\''/d/scoop/apps/vcpkg/current/buildtrees/libffi/src/libffi-3-5867c437e9.clean/missing'\'' autoconf'
AUTOHEADER='${SHELL} '\''/d/scoop/apps/vcpkg/current/buildtrees/libffi/src/libffi-3-5867c437e9.clean/missing'\'' autoheader'
AUTOMAKE='${SHELL} '\''/d/scoop/apps/vcpkg/current/buildtrees/libffi/src/libffi-3-5867c437e9.clean/missing'\'' automake-1.16'
AWK='gawk'
BUILD_DOCS_FALSE=''
BUILD_DOCS_TRUE='#'
CC='compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe'
CCAS='msvcc.sh -m32'
CCASDEPMODE='depmode=none'
CCASFLAGS='-Xcompiler -nologo -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -DFFI_BUILDING_DLL'
CCDEPMODE='depmode=none'
CFLAGS='-Xcompiler -nologo -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -DFFI_BUILDING_DLL'
CPPFLAGS='-DWIN32 -D_WINDOWS -D_DEBUG'
CSCOPE='cscope'
CTAGS='ctags'
CXX='compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe'
CXXCPP='compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe -E'
CXXDEPMODE='depmode=none'
CXXFLAGS='-Xcompiler -nologo -Xcompiler -utf-8 -Xcompiler -GR -Xcompiler -EHsc -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1'
CYGPATH_W='cygpath -w'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
DLLTOOL='link.exe -verbose -dll'
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/d/scoop/apps/vcpkg/current/downloads/tools/msys2/2db36fb050d01f45/usr/bin/grep -E'
ETAGS='etags'
EXEEXT='.exe'
FFI_DEBUG_FALSE=''
FFI_DEBUG_TRUE='#'
FFI_EXEC_TRAMPOLINE_TABLE='0'
FFI_EXEC_TRAMPOLINE_TABLE_FALSE=''
FFI_EXEC_TRAMPOLINE_TABLE_TRUE='#'
FGREP='/d/scoop/apps/vcpkg/current/downloads/tools/msys2/2db36fb050d01f45/usr/bin/grep -F'
FILECMD='file'
GREP='/d/scoop/apps/vcpkg/current/downloads/tools/msys2/2db36fb050d01f45/usr/bin/grep'
HAVE_LONG_DOUBLE='0'
HAVE_LONG_DOUBLE_VARIANT='0'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD='D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/link.exe -verbose'
LDFLAGS='-Xlinker -Xlinker -Xlinker -machine:X86 -Xlinker -Xlinker -Xlinker -nologo -Xlinker -Xlinker -Xlinker -debug -Xlinker -Xlinker -Xlinker -INCREMENTAL'
LIBFFI_BUILD_VERSIONED_SHLIB_FALSE=''
LIBFFI_BUILD_VERSIONED_SHLIB_GNU_FALSE=''
LIBFFI_BUILD_VERSIONED_SHLIB_GNU_TRUE='#'
LIBFFI_BUILD_VERSIONED_SHLIB_SUN_FALSE=''
LIBFFI_BUILD_VERSIONED_SHLIB_SUN_TRUE='#'
LIBFFI_BUILD_VERSIONED_SHLIB_TRUE='#'
LIBOBJS=''
LIBS='-lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -lcomdlg32 -ladvapi32'
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIPO=''
LN_S='cp -pR'
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} '\''/d/scoop/apps/vcpkg/current/buildtrees/libffi/src/libffi-3-5867c437e9.clean/missing'\'' makeinfo'
MANIFEST_TOOL='mt'
MKDIR_P='/d/scoop/apps/vcpkg/current/downloads/tools/msys2/2db36fb050d01f45/usr/bin/mkdir -p'
NM='dumpbin.exe -symbols -headers'
NMEDIT=''
OBJDUMP='objdump'
OBJEXT='obj'
OPT_LDFLAGS=''
OTOOL64=''
OTOOL=''
PACKAGE='libffi'
PACKAGE_BUGREPORT='http://github.com/libffi/libffi/issues'
PACKAGE_NAME='libffi'
PACKAGE_STRING='libffi 3.4.6'
PACKAGE_TARNAME='libffi'
PACKAGE_URL=''
PACKAGE_VERSION='3.4.6'
PATH_SEPARATOR=':'
PRTDIAG=''
RANLIB=':'
READELF='readelf'
SECTION_LDFLAGS=''
SED='/d/scoop/apps/vcpkg/current/downloads/tools/msys2/2db36fb050d01f45/usr/bin/sed'
SET_MAKE=''
SHELL='/bin/sh'
STRIP=':'
TARGET='X86_WIN32'
TARGETDIR='x86'
TARGET_OBJ=' src/x86/ffi.lo src/x86/sysv_intel.lo'
TESTSUBDIR_FALSE='#'
TESTSUBDIR_TRUE=''
VERSION='3.4.6'
ac_ct_AR=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE='#'
am__EXEEXT_TRUE=''
am__fastdepCCAS_FALSE=''
am__fastdepCCAS_TRUE='#'
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE='#'
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE='#'
am__include='include'
am__isrc=' -I$(srcdir)'
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
ax_enable_builddir_sed='sed'
bindir='${prefix}/../tools/libffi/debug/bin'
build='x86_64-pc-mingw32'
build_alias='x86_64-pc-mingw32'
build_cpu='x86_64'
build_os='mingw32'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share/libffi'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='i686-pc-mingw32'
host_alias='i686-pc-mingw32'
host_cpu='i686'
host_os='mingw32'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/../include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /d/scoop/apps/vcpkg/current/buildtrees/libffi/src/libffi-3-5867c437e9.clean/install-sh'
libdir='${prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/D/github/learn_groot/test/build/vcpkg_installed/x86-windows/debug'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${prefix}/../tools/libffi/debug/sbin'
sharedstatedir='${prefix}/com'
sys_symbol_underscore='yes'
sysconfdir='${prefix}/etc'
target='i686-pc-mingw32'
target_alias='i686-pc-mingw32'
target_cpu='i686'
target_os='mingw32'
target_vendor='pc'
tmake_file=''
toolexecdir=''
toolexeclibdir='${libdir}'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "libffi"
#define PACKAGE_TARNAME "libffi"
#define PACKAGE_VERSION "3.4.6"
#define PACKAGE_STRING "libffi 3.4.6"
#define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
#define PACKAGE_URL ""
#define PACKAGE "libffi"
#define VERSION "3.4.6"
#define HAVE_STDIO_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define STDC_HEADERS 1
#define LT_OBJDIR ".libs/"
#define SIZEOF_SIZE_T 4
#define HAVE_MEMCPY 1
#define SIZEOF_DOUBLE 8
#define SIZEOF_LONG_DOUBLE 8
#define HAVE_AS_X86_PCREL 1
#define SYMBOL_UNDERSCORE 1

configure: exit 1

Additional context

vcpkg.json
{
  "dependencies": [
    "libffi"
  ]
}

@wentywenty
Copy link
Author

I tried it, 3.4.4#2 libiffi works, later versions have problems

@wentywenty
Copy link
Author

Package: libffi:x86-windows@3.4.6

Host Environment

  • Host: x64-windows
  • Compiler: MSVC 19.43.34618.0
  • vcpkg-tool version: 2025-01-11-0f310537c75015100d200eb71b137f6376aad510
    vcpkg-scripts version: 6f29f12 2025-01-13 (2 weeks ago)

To Reproduce

vcpkg install

Failure logs

-- Using cached libffi-3.4.6.tar.gz.
-- Cleaning sources at D:/scoop/apps/vcpkg/current/buildtrees/libffi/src/libffi-3-5867c437e9.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/scoop/apps/vcpkg/current/downloads/libffi-3.4.6.tar.gz
-- Applying patch dll-bindir.diff
-- Using source at D:/scoop/apps/vcpkg/current/buildtrees/libffi/src/libffi-3-5867c437e9.clean
-- Found external ninja('1.12.1').
-- Getting CMake variables for x86-windows
-- Getting CMake variables for x86-windows
-- Using cached msys2-autoconf-wrapper-20240607-1-any.pkg.tar.zst.
-- Using cached msys2-automake-wrapper-20240607-1-any.pkg.tar.zst.
-- Using cached msys2-binutils-2.43.1-1-x86_64.pkg.tar.zst.
-- Using cached msys2-libtool-2.4.7-4-x86_64.pkg.tar.zst.
-- Using cached msys2-make-4.4.1-2-x86_64.pkg.tar.zst.
-- Using cached msys2-pkgconf-2.3.0-1-x86_64.pkg.tar.zst.
-- Using cached msys2-which-2.21-4-x86_64.pkg.tar.zst.
-- Using cached msys2-bash-5.2.037-1-x86_64.pkg.tar.zst.
-- Using cached msys2-coreutils-8.32-5-x86_64.pkg.tar.zst.
-- Using cached msys2-file-5.45-3-x86_64.pkg.tar.zst.
-- Using cached msys2-gawk-5.3.1-1-x86_64.pkg.tar.zst.
-- Using cached msys2-grep-1~3.0-6-x86_64.pkg.tar.zst.
-- Using cached msys2-gzip-1.13-1-x86_64.pkg.tar.zst.
-- Using cached msys2-diffutils-3.10-1-x86_64.pkg.tar.zst.
-- Using cached msys2-sed-4.9-1-x86_64.pkg.tar.zst.
-- Using cached msys2-msys2-runtime-3.5.4-2-x86_64.pkg.tar.zst.
-- Using cached msys2-autoconf2.72-2.72-1-any.pkg.tar.zst.
-- Using cached msys2-automake1.16-1.16.5-1-any.pkg.tar.zst.
-- Using cached msys2-automake1.17-1.17-1-any.pkg.tar.zst.
-- Using cached msys2-libiconv-1.17-1-x86_64.pkg.tar.zst.
-- Using cached msys2-libintl-0.22.4-1-x86_64.pkg.tar.zst.
-- Using cached msys2-zlib-1.3.1-1-x86_64.pkg.tar.zst.
-- Using cached msys2-tar-1.35-2-x86_64.pkg.tar.zst.
-- Using cached msys2-findutils-4.10.0-2-x86_64.pkg.tar.zst.
-- Using cached msys2-gmp-6.3.0-1-x86_64.pkg.tar.zst.
-- Using cached msys2-gcc-libs-13.3.0-1-x86_64.pkg.tar.zst.
-- Using cached msys2-libbz2-1.0.8-4-x86_64.pkg.tar.zst.
-- Using cached msys2-liblzma-5.6.3-1-x86_64.pkg.tar.zst.
-- Using cached msys2-libzstd-1.5.6-1-x86_64.pkg.tar.zst.
-- Using cached msys2-libreadline-8.2.013-1-x86_64.pkg.tar.zst.
-- Using cached msys2-mpfr-4.2.1-1-x86_64.pkg.tar.zst.
-- Using cached msys2-libpcre-8.45-4-x86_64.pkg.tar.zst.
-- Using cached msys2-m4-1.4.19-2-x86_64.pkg.tar.zst.
-- Using cached msys2-perl-5.38.2-2-x86_64.pkg.tar.zst.
-- Using cached msys2-ncurses-6.5.20240831-2-x86_64.pkg.tar.zst.
-- Using cached msys2-libxcrypt-4.4.36-1-x86_64.pkg.tar.zst.
-- Using msys root at D:/scoop/apps/vcpkg/current/downloads/tools/msys2/2db36fb050d01f45
-- Using cached msys2-mingw-w64-x86_64-pkgconf-1~2.3.0-1-any.pkg.tar.zst.
-- Using cached msys2-msys2-runtime-3.5.4-2-x86_64.pkg.tar.zst.
-- Using msys root at D:/scoop/apps/vcpkg/current/downloads/tools/msys2/21caed2f81ec917b
-- Configuring x86-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
    Command failed: D:/scoop/apps/vcpkg/current/downloads/tools/msys2/2db36fb050d01f45/usr/bin/bash.exe --noprofile --norc --debug -c "V=1 CPP='compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe -E' CC='compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe' CC_FOR_BUILD='touch a.out | touch conftest.exe | true' CPP_FOR_BUILD='touch a.out | touch conftest.exe | true' CXX_FOR_BUILD='touch a.out | touch conftest.exe | true' CXX='compile D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/cl.exe' RC='windres-rc rc.exe' WINDRES='windres-rc rc.exe' AR='ar-lib D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/lib.exe' LD='D:/getbrains/vs2022/ide/VC/Tools/MSVC/14.43.34618/bin/Hostx64/x86/link.exe -verbose' RANLIB=':' STRIP=':' NM='dumpbin.exe -symbols -headers' DLLTOOL='link.exe -verbose -dll' CCAS=':' AS=':' ./../src/libffi-3-5867c437e9.clean/configure --build=x86_64-pc-mingw32 --host=i686-pc-mingw32 \"--enable-portable-binary\" \"--disable-docs\" \"--disable-multi-os-directory\" \"CFLAGS=${CFLAGS} -DFFI_BUILDING_DLL\" \"CCAS=msvcc.sh -m32\" \"ac_cv_prog_ac_ct_STRIP=:\" \"gl_cv_double_slash_root=yes\" \"ac_cv_func_memmove=yes\" \"--disable-silent-rules\" \"--verbose\" \"--enable-shared\" \"--disable-static\" \"--prefix=/D/github/learn_groot/test/build/vcpkg_installed/x86-windows/debug\" \"--bindir=\\${prefix}/../tools/libffi/debug/bin\" \"--sbindir=\\${prefix}/../tools/libffi/debug/sbin\" \"--libdir=\\${prefix}/lib\" \"--includedir=\\${prefix}/../include\" \"--datarootdir=\\${prefix}/share/libffi\""
    Working Directory: D:/scoop/apps/vcpkg/current/buildtrees/libffi/x86-windows-dbg
    Error code: 1
    See logs for more information:
      D:\scoop\apps\vcpkg\current\buildtrees\libffi\config-x86-windows-dbg-config.log
      D:\scoop\apps\vcpkg\current\buildtrees\libffi\config-x86-windows-dbg-out.log
      D:\scoop\apps\vcpkg\current\buildtrees\libffi\config-x86-windows-dbg-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_make.cmake:866 (vcpkg_execute_required_process)
  ports/libffi/portfile.cmake:49 (vcpkg_configure_make)
  scripts/ports.cmake:196 (include)

D:\scoop\apps\vcpkg\current\buildtrees\libffi\config-x86-windows-dbg-err.log
D:\scoop\apps\vcpkg\current\buildtrees\libffi\config-x86-windows-dbg-out.log
D:\scoop\apps\vcpkg\current\buildtrees\libffi\config-x86-windows-dbg-config.log
Additional context

vcpkg.json

Versions of libiffi after 3.4.4#2 all have the same error as this one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant