Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Add gcc patch for libbacktrace #148

Merged
merged 7 commits into from
Apr 13, 2021
Merged

Add gcc patch for libbacktrace #148

merged 7 commits into from
Apr 13, 2021

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
Contributor

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 commented Sep 7, 2020

Confirmed that installation of the package fixes the downstream issue.

@krlmlr
Copy link
Contributor Author

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 commented Sep 9, 2020

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

@jeroen jeroen force-pushed the master branch 2 times, most recently from 21c846e to f4f4349 Compare March 30, 2021 09:19
@jeroen jeroen merged commit f2a0791 into r-windows:master Apr 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants