https://bugs.winehq.org/show_bug.cgi?id=52770
--- Comment #10 from Eric Pouech eric.pouech@orange.fr --- (In reply to Eric Pouech from comment #9)
binutils-38 for jammy was updated 23/3-22, but could not find anything in the debian patches nor the changelog for this.
that's what I meant with "backport to 2.38 to be checked"... not sure <put here your favorite distro> will post an update for this change
and to be precise, one should check the binutils version on which mingw's dlltool is built upon (not the binutils version for the ELF compilation, which may be on a different version)
x86_64-w64-mingw32-dlltool --version i686-w64-mingw32-dlltool --version