[Pkg-rust-maintainers] Please provide dwarf2-eh version of mingw-i686
Ximin Luo
infinity0 at debian.org
Sun Aug 9 03:08:39 BST 2020
Hi, I am digging up an old thread because it is still relevant today.
I am the maintainer of rustc in Debian. I am trying to provide cross-compiling libraries for windows. I have 64-bit working fine, however 32-bit is not working because rustc expects dw2 exceptions but Debian's mingw only provides sjlj.
I therefore request the maintainer to provide the dw2 version.
There were previously arguments saying this would be confusing for users; however I note that we *already* provide two mingw toolchains - one for the pthreads threading model, and one for the win32 threading model. Incidentally, rustc requires the latter.
I am not suggesting that we provide 4 toolchains, only 3, the 3rd one being win32+dw2. We could call it gcc-mingw-w64-i686-win32+dw2 for example.
For other context, Fedora in fact recently switched from sjlj to dw2, ditching the former completely, largely because of rust:
https://fedoraproject.org/wiki/Changes/Mingw32GccDwarf2
Best,
Ximin
--
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
https://github.com/infinity0/pubkeys.git
More information about the Pkg-rust-maintainers
mailing list