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 binutils 2.35.2 #158

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

tinywrkb
Copy link

@tinywrkb tinywrkb commented Aug 27, 2022

Needed by GCC 11 for DWARF v5 support.
See GCC 11 release notes at https://gcc.gnu.org/gcc-11/changes.html.

Without this, I'm getting the following error:

DWARF error: can't find .debug_ranges section

I updated the j2 mach patch, though I'm not sure if it's correct.
As far as I can tell, the rest of the patches were already pulled into the release.

Toolchain builds correctly with these changes applied, at least for x86_64, when the defaults changed to binutils 2.35.2 and GCC 11.2.0.
I'm building a good number of libs and applications with the updated toolchain, and so far it works perfectly.

edit: I actually switched now to GCC 12.2.0 to be able to take advantage of the new support for mold in the linker option -fuse-ld, and also updated binutils to 2.39, but 2.35.2 was working great for me with GCC 11.2.0.

Needed by GCC 11 for DWARF v5 support.
See GCC 11 release notes at https://gcc.gnu.org/gcc-11/changes.html.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant