MinGW: Fix preliminaries before enabling the Rust ABI
Hi all,
This is a MR to address some issues I found while acid testing the new GCC 14 compiler in !1583 (merged):
- Fixed the build machine triplet so that the toolchain could be built out of the box on Ubuntu 20.04's Docker image.
- Fixed a regression in !1477 (merged) that caused the Windows toolchain binaries to not be renamed, since the default when finding recipes' payloads is to ignore non-existing entries
-
Switched i386 GCC's exception model toDWARF2
, which is a hard requirement for enabling the Rust ABI- removed since we prefer MSVC compatibility for the time being
-
Fixed cargo-c invocations ofdlltool
running againstMAX_PATH
limitations on Dockerized Windows, by cherry-picking the new carcinised def and implib generation on 0.10- removed since we updated Rust to 1.82
With these merged, it will be possible to generate the final toolchain and fix up !1583 (merged) for merging. Let me know if you want the gst-plugins-bad
fixes to be added here; they've been already MR'd in gstreamer!7658 (merged).
See !1583 (merged)
Edited by amyspark