MINGW-packages: libssp-0.dll broken in mingw-w64-x86_64-gcc-libs-12.2.0-5 package
Description
After updating to mingw-w64-x86_64-gcc-libs-12.2.0-5, I get the following error when running git --version
:
*** stack smashing detected ***: terminated
Using git
from the package git-for-windows/mingw-w64-x86_64-git 2.38.1.1.b85c8f604d-1.
Switching to libssp-0.dll
from the previous package appears to work fine.
Verification
- I have verified that my MSYS2 is up-to-date before submitting the report (see https://www.msys2.org/docs/updating/)
Windows Version
Microsoft Windows [Version 10.0.19044.2130]
MINGW environments affected
- MINGW64
- MINGW32
- UCRT64
- CLANG64
- CLANG32
- CLANGARM64
Expected behavior
git
to run without terminating.
Actual behavior
git
terminates with the error: *** stack smashing detected ***: terminated
.
Repro steps
Run git --version
with git
from the package git-for-windows/mingw-w64-x86_64-git 2.38.1.1.b85c8f604d-1.
Are you willing to submit a PR?
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 1
- Comments: 20 (13 by maintainers)
Commits related to this issue
- gcc: disable stack-protecotr to unbreak libssp See #13830 — committed to lazka/MINGW-packages by lazka 2 years ago
- gcc: disable stack protector to unbreak libssp See #13830 — committed to lazka/MINGW-packages by lazka 2 years ago
@nga888 @revelator you have no idea how discouraging your comments are. It really makes me feel very much devalued. Like, you are fine to dump all the work on me, but when I point out that I feel totally taken advantage of, you’re saying that I do something wrong? Not cool.
Yes, I have seen this, and fixed it in Git for Windows.
About this report: I do not appreciate how blatantly some people disregard the stern warning at the top of https://github.com/git-for-windows/git/wiki/Install-inside-MSYS2-proper.
Anybody is free to do as they wish, but if they use an unsupported setup, they have no right to burden anybody else with fixing their problems with said setup. That’s a self-inflicted problem and it is outright unfair to expect others to help solve it.
Reproducer: