-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No backtrace with Mingw64 #43
Comments
|
Yes I confirm that but I have gcc 8.3.0 on msys2 and 5.5.0 with MXE and I think it's unlikely they would have the same problem. |
Appears to be issue with libgcc.
|
Confirmed, using GCC:
|
This appears to be an omission in GCC when providing an SEH-based backtrace. The problem does not occur with SJLJ. I'm using the rtools40 toolchain which is based on msys2 and provides both mingw32 and mingw64. With the built-in The following is needed to fix:
The GCC patch does two things:
We can get somewhat acceptable results (but not successful tests) by querying What's the best way to move forward? |
Based on your description, this is a GCC bug. So it sounds like the next step is to file a bug report against GCC (at https://gcc.gnu.org/bugzilla). It should be possible to create a test case that doesn't involve libbacktrace. |
Thanks. Closing this issue as there is nothing to change in libbacktrace. |
No backtrace is generated when built with mingw64 under msys2(Windows 10) or MXE(Ubuntu). Several library tests fail. Only tested 64 bit static mingw GCC.
btest fails:
The text was updated successfully, but these errors were encountered: