Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upNo 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: