Page MenuHome GnuPG

Migration for ABI change (newer mingw)
Open, Needs TriagePublic

Description

In Debian bullseye /usr/share/doc/gcc-mingw-w64-base/NEWS.Debian.gz says:

  • This release of gcc-mingw-w64 changes the 32-bit exception handling mechanism from SJLJ to Dwarf2, to match MSYS2, Fedora, and other toolchains, and to allow the Rust toolchain to provide 32-bit cross-compilers. This will require rebuilding all artifacts built with previous releases of the toolchain. Shared binaries will need to be shipped with the dw2 DLL instead of the sjlj DLL.

IIUC, we use SJLJ exception for GnuPG and its friends now.

Related Objects

Event Timeline

werner added a subscriber: werner.

We use libgcc_s_sjlj-1.dll only for for gpg4win's C++ code which is gpgme's c++ binding and the Qt stuff.

Ah, I realized that the build for sqlite3 in Speedo has a patch using -static-libgcc.

So, no problem for GnuPG and its libraries.

With sqlite3 using -static-libgcc, I confirmed that GnuPG and its friends are built well with newer mingw on bullseye. And I lightly tested GnuPG on Windows.