-
Notifications
You must be signed in to change notification settings - Fork 649
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
GCC 11: Dwarf Error: found dwarf version '5', this reader only handles version 2, 3 and 4 information. #1546
Comments
Hi, I for some reason I cannot see your config file. |
Look for the DWARF 5 related info here https://gcc.gnu.org/gcc-11/changes.html |
Hi, I'm using:
This is the lower version of Binutils in the current master version of Crosstool-ng. |
In this page above, I saw:
But I cannot localize where to put the |
If that's a GLibc related flag, you may update GLIBC_EXTRA_CFLAGS in the config. |
what about install another type of gcc? I just has the same issue while i was build a c++ project in centos. And my solution is trying to install lower gcc type |
My question is: Only when I set the
crosstool-ng
to build a GCC11.1
I got this erros message:Could this cause problems? Should I use GCC 10 to avoid this above error?
Is there a way to get a GCC 11.1 working with my configurations?
Here is my .config file.
ct_config_GCC_11.1_glib-2.23.txt
CrossTool-Ng version: latest (cloned from master today 30 June 2021) I think that is 1.24.0
Host OS: Ubuntu 20.04 LTS x64
Target/sample used: arm-unknown-linux-gnueabi
The text was updated successfully, but these errors were encountered: