Closed timothymowens closed 4 months ago
Another relevant issue thread: https://github.com/rdp/ffmpeg-windows-build-helpers/issues/706
What is the compiler version?
I have compiled this project with gcc 13.2.0 targeting x86_64 mingw.
# ./x86_64-w64-mingw32-gcc --version
x86_64-w64-mingw32-gcc (GCC) 10.2.0
Copyright (C) 2020 Free Software Foundation, Inc.
https://github.com/rdp/ffmpeg-windows-build-helpers is using win32 threading model in their x86_64-w64-mingw32-g++
build which apparently does not support futures correctly. https://stackoverflow.com/questions/17242516/mingw-w64-threads-posix-vs-win32
✔ ~/git/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/bin [master|…1]
09:28 $ ./x86_64-w64-mingw32-g++ -v
Using built-in specs.
COLLECT_GCC=./x86_64-w64-mingw32-g++
COLLECT_LTO_WRAPPER=/home/bendy/git/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/libexec/gcc/x86_64-w64-mingw32/10.2.0/lto-wrapper
Target: x86_64-w64-mingw32
Configured with: ../source/gcc-10.2.0/configure --build=x86_64-pc-linux-gnu --target=x86_64-w64-mingw32 --disable-shared --enable-static --disable-nls --disable-multilib --prefix=/home/bendy/git/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64 --with-sysroot=/home/bendy/git/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64 --with-mpc=/home/bendy/git/ffmpeg-windows-build-helpers/sandbox/cross_compilers/pkgs/mpc/mpc-1.2.1-x86_64 --with-mpfr=/home/bendy/git/ffmpeg-windows-build-helpers/sandbox/cross_compilers/pkgs/mpfr/mpfr-4.1.0-x86_64 --with-gmp=/home/bendy/git/ffmpeg-windows-build-helpers/sandbox/cross_compilers/pkgs/gmp/gmp-6.2.1-x86_64 --with-isl=/home/bendy/git/ffmpeg-windows-build-helpers/sandbox/cross_compilers/pkgs/isl/isl-0.23-x86_64 --enable-languages=c,c++ --enable-fully-dynamic-string --enable-lto
Thread model: win32
Supported LTO compression algorithms: zlib
gcc version 10.2.0 (GCC)
I should fairly easily be able to add a build test step in the cmake to ensure that futures are actually supported correctly and disable threading if it isn't. That's if the build helpers people aren't able to switch to using the posix thread model.
this should be solved now, thanks @gbendy !
Build fails via Ubuntu 22.04.2 in WSL 2 on Windows 10 using the ffmpeg-windows-build-helpers script. Previously, v2.3.0 worked just fine.
This is in reference to this issue for ffmpeg-windows-build-helpers: https://github.com/rdp/ffmpeg-windows-build-helpers/issues/707
Note the errors to the recently added
kaleid0sc0pe.cpp
in the build log.