Skip to content

MinGW: Fix preliminaries before enabling the Rust ABI

amyspark requested to merge amyspark/cerbero:preliminaries-mingw-update into main

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 to DWARF2, which is a hard requirement for enabling the Rust ABI
    • removed since we prefer MSVC compatibility for the time being
  • Fixed cargo-c invocations of dlltool running against MAX_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

Merge request reports

Loading