Skip to content
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

Add gcc patch for libbacktrace #148

Open
wants to merge 6 commits into
base: master
from
Open

Add gcc patch for libbacktrace #148

wants to merge 6 commits into from

Conversation

@krlmlr
Copy link
Contributor

@krlmlr krlmlr commented Sep 6, 2020

This patch allows obtaining a nice native backtrace on mingw64 with libbacktrace. Without this patch, we can still get a backtrace but miss the exact position in the function.

Downstream: ianlancetaylor/libbacktrace#43 (comment)

I hope the GCC maintainers can review it so that we ca get more confidence here.

Does the pull request already creates binary packages which I can download and install on my system?

@jeroen
Copy link
Member

@jeroen jeroen commented Sep 6, 2020

Yes the artifacts from the pull requests will contain the packages. You can download them manually from GHA, and then install locally like so:

pacman -Su mingw-w64-x86_64-gcc-8.3.0-9500-any.pkg.tar.xz

You can also try subitting the patch to https://github.com/msys2/MINGW-packages for feedback.

@krlmlr
Copy link
Contributor Author

@krlmlr krlmlr commented Sep 7, 2020

Confirmed that installation of the package fixes the downstream issue.

@krlmlr
Copy link
Contributor Author

@krlmlr krlmlr commented Sep 7, 2020

Submitted bug to gcc issue tracker too: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96948.

@krlmlr
Copy link
Contributor Author

@krlmlr krlmlr commented Sep 9, 2020

Simplified, and submitted upstream as msys2/MINGW-packages#6962.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.